mirror_frr/doc/developer
David Lamparter 89cb86aeb0 build, vtysh: extract vtysh commands from .xref
Rather than running selected source files through the preprocessor and a
bunch of perl regex'ing to get the list of all DEFUNs, use the data
collected in frr.xref.

This not only eliminates issues we've been having with preprocessor
failures due to nonexistent header files, but is also much faster.
Where extract.pl would take 5s, this now finishes in 0.2s.  And since
this is a non-parallelizable build step towards the end of the build
(dependent on a lot of other things being done already), the speedup is
actually noticeable.

Also files containing CLI no longer need to be listed in `vtysh_scan`
since the .xref data covers everything.  `#ifndef VTYSH_EXTRACT_PL`
checks are equally obsolete.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26 17:12:34 +01:00
..
_static doc/developer: improve printfrr extension docs 2021-03-30 22:34:56 +02:00
images pceplib: Integrate pcelib into frr 2021-03-05 12:12:47 +01:00
.gitignore doc: fix distclean 2018-05-18 19:35:24 +00:00
bgp-typecodes.rst bgpd: Deprecate DPA, ADVERTISER and RCID_PATH path attributes 2022-01-06 17:10:31 +02:00
bgpd.rst doc: cleanup some misc files 2018-03-20 15:20:34 -04:00
building-docker.rst docker: Adding support for ubi-8 images. 2022-03-31 12:12:38 +02:00
building-frr-for-alpine.rst *: remove *.conf.sample files 2021-04-09 13:14:30 -04:00
building-frr-for-archlinux.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-centos6.rst build: remove --enable-exampledir 2021-06-24 16:42:58 +02:00
building-frr-for-centos7.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-centos8.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-debian8.rst build, doc: extricate --enable-systemd 2021-06-29 17:57:09 +02:00
building-frr-for-debian9.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-fedora.rst *: Fix spelling of modifed 2022-04-19 08:20:37 -04:00
building-frr-for-freebsd9.rst build: refactor & revamp python autoconf logic 2019-06-04 16:21:20 +02:00
building-frr-for-freebsd10.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-freebsd11.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-netbsd6.rst build: remove --enable-exampledir 2021-06-24 16:42:58 +02:00
building-frr-for-netbsd7.rst build: remove --enable-exampledir 2021-06-24 16:42:58 +02:00
building-frr-for-openbsd6.rst doc: clang in openbsd is the default and update compiler. 2021-04-28 18:53:20 +02:00
building-frr-for-opensuse.rst *: Fix spelling of modifed 2022-04-19 08:20:37 -04:00
building-frr-for-openwrt.rst doc: use anonymous link refs 2020-11-09 15:25:26 -05:00
building-frr-for-ubuntu1404.rst doc: add libelf to build docs 2021-02-24 07:15:38 +01:00
building-frr-for-ubuntu1604.rst build, doc: extricate --enable-systemd 2021-06-29 17:57:09 +02:00
building-frr-for-ubuntu1804.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-frr-for-ubuntu2004.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-libunwind-note.rst doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
building-libyang.rst build: libyangv2 is mainlined, update 2021-05-27 06:44:39 -04:00
building.rst doc: cross compilation guide 2021-02-03 14:33:56 -05:00
cli.rst build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
conf.py doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
cross-compiling.rst doc: fix warnings in dev docs 2021-03-16 11:27:59 -04:00
cspf.rst lib: Add CSPF Path Computation algorithm 2022-02-02 17:04:12 +01:00
draft-zebra-00.ms *: Fix spelling of Inteface 2022-04-02 07:46:19 -04:00
fpm.rst doc: update FPM documentation 2020-04-17 20:18:54 -03:00
frr-release-procedure.rst doc: Drop unnecessary sentence about index.html changes for releases 2022-03-04 09:53:16 +02:00
fuzzing.rst doc: add docs on fuzzing stuff 2020-11-09 15:25:26 -05:00
grpc.rst doc: fix code block in grpc docs 2021-09-23 12:08:12 +03:00
hooks.rst *: require semicolon after DEFINE_HOOK & co. 2021-03-17 06:18:17 +01:00
include-compile.rst build, doc: extricate --enable-systemd 2021-06-29 17:57:09 +02:00
index.rst pceplib: Integrate pcelib into frr 2021-03-05 12:12:47 +01:00
ldpd-basic-test-setup.md doc: reorganize 2018-01-30 16:14:24 -05:00
library.rst doc/developer: xrefs 2021-02-01 17:28:11 +01:00
link-state.rst doc/developer: fix C struct references 2021-10-14 19:02:31 +02:00
lists.rst doc: Fix spelling of choosen 2022-04-19 08:28:47 -04:00
locking.rst *: frr_with_mutex change to follow our standard 2022-07-20 15:50:32 -04:00
logging.rst lib: remove unused struct prefix_ptr 2022-04-27 13:21:18 +02:00
Makefile build: non-recursive doc + parallel sphinx 2018-08-30 08:06:44 +02:00
memtypes.rst doc/developer: fix C struct references 2021-10-14 19:02:31 +02:00
MLD-and-PIMv6-Design.png doc: Adding the Design document for PIM IPv6 2022-01-10 00:16:40 -08:00
modules.rst *: require semicolon after FRR_DAEMON_INFO & co. 2021-03-17 06:18:39 +01:00
next-hop-tracking.rst bgpd: Remove not used bgp_find_nexthop() function 2019-11-08 15:04:29 +02:00
ospf-api.rst doc: typo / grammar pass on OSPF API docs 2019-04-24 17:41:06 +00:00
ospf-sr.rst ospfd: Remove local-block deprecated command 2022-06-07 16:11:46 +03:00
ospf.rst doc: make ospf section 2018-03-20 15:20:34 -04:00
packaging-debian.rst debian: Add pkg.frr.pim6d build profile 2022-07-07 07:14:27 -07:00
packaging-redhat.rst build, doc: extricate --enable-systemd 2021-06-29 17:57:09 +02:00
packaging.rst doc: update release procedure docs 2019-10-18 18:50:10 +00:00
path-internals-daemon.rst pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
path-internals-pcep.rst pathd: Add optional support for PCEP to pathd 2020-12-18 16:47:52 +01:00
path-internals.rst pathd: Add optional support for PCEP to pathd 2020-12-18 16:47:52 +01:00
path.rst pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
pceplib.rst pceplib: Integrate pcelib into frr 2021-03-05 12:12:47 +01:00
PIMv6-Design.pptx doc: Adding the Design document for PIM IPv6 2022-01-10 00:16:40 -08:00
process-architecture.rst doc: update & clarify language in process arch doc 2021-11-12 14:45:36 -05:00
rcu.rst doc: Remove extra "in" from document 2022-07-19 22:12:14 +04:30
release-announcement-template.md doc: update release procedure docs 2019-10-18 18:50:10 +00:00
scripting.rst doc: fix unrelated typo 2021-08-10 07:35:32 +08:00
static-linking.rst *: Fix spelling of accomodate 2022-04-19 08:29:58 -04:00
subdir.am doc: stick libunwind into build docs 2021-11-10 15:30:56 +01:00
testing.rst doc: clean up && index topotest json docs 2019-11-04 18:51:31 +00:00
topotests-jsontopo.rst tests: new improved simple JSON template w/ doc update 2021-09-05 02:45:13 -04:00
topotests-markers.rst doc: topotests-markers typo error 2021-01-27 19:45:31 +00:00
topotests-snippets.rst doc: fix a couple of typos 2019-03-20 20:08:33 +01:00
topotests.rst doc: Update /doc/topotests.rst documentation 2022-07-28 21:57:51 -07:00
tracing.rst tools: fix systemd OnFailure directive 2021-03-25 10:37:23 -04:00
vtysh.rst build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
workflow.rst doc, tools: Update release dates in workflow.rst 2022-05-27 08:25:12 +03:00
xrefs.rst doc: quick HOWTO on python/xrelfo.py 2021-02-23 16:56:58 +01:00
zebra.rst zebra, pimd: add AF param on NEXTHOP_LOOKUP_MRIB 2022-04-26 16:15:00 +02:00