summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-12-22 19:33:07 +0100
committerRobert Göhler <github@ghlr.de>2019-12-22 19:33:07 +0100
commit448e2cb8060845fe1d6e28e74434475a375bd8ea (patch)
treeeacf7352252b6eeeac01b1ae68f5cdcd4f12ef30 /docs
parenta8a16fbd092e65ce7418037e43ce6da2f140d204 (diff)
downloadvyos-documentation-448e2cb8060845fe1d6e28e74434475a375bd8ea.tar.gz
vyos-documentation-448e2cb8060845fe1d6e28e74434475a375bd8ea.zip
Sphinx: add extention
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 76293898..400235e9 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 -----------------------------------------------------
@@ -41,7 +41,9 @@ release = u'1.3.x (equuleus)'
extensions = ['sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.ifconfig',
- 'sphinx.ext.graphviz']
+ 'sphinx.ext.graphviz',
+ 'vyos'
+]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -170,5 +172,6 @@ texinfo_documents = [
]
def setup(app):
- app.add_object_type('opcmd', 'opcmd')
- app.add_object_type('cfgcmd', 'cfgcmd')
+ pass
+ #app.add_object_type('opcmd', 'opcmd')
+ #app.add_object_type('cfgcmd', 'cfgcmd')