docs(bgp-policy): re-point the cli.js anchors at the code they name #2086
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2086
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1119-0417"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs/BGP-POLICY.mdcitesengine/cli.jsby line in its "The anchors" table and twice again in §9. All eight cli.js pointers had rotted:cli.js:1581-1599config-mode BGP dispatchrouter bgp/no router bgp/no neighbor/neighbor/bgpbranchescli.js:1597_bgp(tokens.slice(1))forneighborcli.js:2633_bgp(tokens)_bgp()definitioncli.js:2702this._dnsZone_dns(), the sticky-context precedentcli.js:6914_help()_help()definitioncli.js:998,:1198% Incomplete commandstyleip dhcp pool <name>andip name-server …The
bgp.js:,simulator.js:andtest/anchors in the same tables were re-checked line by line and are still exact, so no other number moved. No code touched: the code is right, the citations were not.Gates:
syntax-check436 files OK;check-control-bytesclean;docs-show-commands7/7 (59 forms, 118 commands, 74 refusals — unchanged);docs-cli-transcript4/4;help-completeness8/8 (102 advertised commands);no-form-help-key81/81;doc-catalog-counts43/43;doc-citations11/11.check-doc-citations: 356 citations, 19 judged, 2 suspects before → 0 after.The 'The anchors' table and the two inline references in §9 cite engine/cli.js by line, and cli.js has grown since they were written: every one of the eight pointed at something else. cli.js:1581-1599 config-mode BGP dispatch -> 1605-1623 (router bgp / no router bgp / no neighbor / neighbor / bgp branches) cli.js:1597 the neighbor -> _bgp(tokens.slice(1)) route -> 1621 cli.js:2633 _bgp(tokens) -> 2722 cli.js:2702 this._dnsZone sticky context -> 2791 (the assignment in _dns()) cli.js:6914 _help() -> 6997 cli.js:998 / :1198 % Incomplete command examples -> 1538 (ip dhcp pool) and 1652 (ip name-server), the two config-mode lines that carry the shape The bgp.js, simulator.js and test/ anchors in the same tables were re-checked and are still exact, so only the cli.js citations moved. check-doc-citations now reports 0 suspects (it judged 19 of 356 citations); before this it named both cli.js:6914 rows as 83 lines off _help()._help()anchors point at_help(), not 42 lines above it #2106