docs: convert plugin examples from external { use } to internal { use }
Match the new `internal` keyword added in ze main. Built-in plugins
are now declared with `plugin { internal <name> { use <builtin> } }`
instead of the ambiguous `external { use }` form.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sweep stale peer syntax across untouched wiki pages
Pre-existing debt from before the session/connection YANG refactor:
17 pages were still showing the old flat syntax
peer upstream {
remote { ip 10.0.0.1; as 65001; }
local { as 65000; }
family { ... }
}
which has not been valid in the schema for a while. YANG requires
connection/remote/ip, session/asn/local, session/asn/remote, and
session/family/*. Anyone copying these examples would hit validator
errors.
Converted all 27 occurrences across the following pages to the
canonical form:
add-path, address-families, bgp-filter-community, bgp-rs,
community-filters, configuration-bgp-role, deprecated-options,
exabgp-migration, exabgp-migration-walkthrough, fib,
flowspec-injection, graceful-restart, healthcheck,
route-server-at-an-ixp, rpki, transit-edge-with-rpki,
upgrade-and-restart
Also folded in a couple of related cleanups while touching these
files: bgp-filter-community.md dropped the old "redistribution {}"
block name and aligned its external-block alias (community) with the
filter references (community:scrub) so the example is internally
consistent. deprecated-options.md's "After" blocks now actually show
the current syntax.
Brace balance verified on every touched file, check-links.go reports
all links OK.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update plugin config to use 'use' keyword for built-in plugins
Replace 'run "ze plugin <name>"' with 'use <name>' across all wiki
pages (46 files). The 'use' keyword is for built-in (in-process)
plugins; 'run' is now reserved for external process plugins.
Updated system.md plugin section to document both keywords.
Based on main@80b7b7da (feat: add 'use' keyword for built-in plugins).
Added .source-commit to track the codebase commit this wiki is synced to.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Flatten wiki to root directory for GitHub wiki compatibility
GitHub wiki resolves pages by filename in the root directory only.
Moved all 123 .md files from subdirectories to root. Renamed
configuration/interfaces.md to configuration-interfaces.md to avoid
collision with interfaces/interfaces.md. Fixed 8 image paths.
Subdirectories are now empty (images/ retained for assets).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>