]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: add clicmd role for frr cli
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 26 Jan 2018 20:51:59 +0000 (15:51 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 26 Jan 2018 20:51:59 +0000 (15:51 -0500)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/user/conf.py

index 86d8353e2acb3833363310bd36064d9365afeebc..1eac6af7639aa5d40c0eca038888ef70d5384c39 100644 (file)
@@ -331,3 +331,9 @@ texinfo_documents = [
 
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #texinfo_no_detailmenu = False
+
+# custom extensions here
+def setup(app):
+    # object type for FRR CLI commands, can be extended to document parent CLI
+    # node later on
+    app.add_object_type('clicmd', 'clicmd')