summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2020-06-30 22:04:43 +0200
committerGitHub <noreply@github.com>2020-06-30 22:04:43 +0200
commit53c407cde38d29ebfe2f6cf0d79cc59d8800418f (patch)
tree21f80ccd56bcac538bc75edb04f6d67f8547d92f /docs/conf.py
parent4e8c17bf5891ad565ce94edf4e4a8bf339a7b532 (diff)
parent5cd60bf0283519100e3dc3f2194ea087b67a14cd (diff)
downloadvyos-documentation-53c407cde38d29ebfe2f6cf0d79cc59d8800418f.tar.gz
vyos-documentation-53c407cde38d29ebfe2f6cf0d79cc59d8800418f.zip
Merge pull request #275 from rebortg/cfgcmd_crux
Sphinx: backport cfgcmd and opcmd directives to crux
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/conf.py b/docs/conf.py
index d8f35063..e2a059f2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,9 +12,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
-# import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import os
+import sys
+sys.path.append(os.path.abspath("./_ext"))
# -- Project information -----------------------------------------------------
@@ -40,7 +40,9 @@ release = u'1.2.x (crux)'
# ones.
extensions = ['sphinx.ext.intersphinx',
'sphinx.ext.todo',
- 'sphinx.ext.ifconfig']
+ 'sphinx.ext.ifconfig',
+ 'vyos'
+ ]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -169,5 +171,4 @@ texinfo_documents = [
]
def setup(app):
- app.add_object_type('opcmd', 'opcmd')
- app.add_object_type('cfcmd', 'cfcmd')
+ pass