diff options
author | rebortg <github@ghlr.de> | 2020-06-30 21:49:03 +0200 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2020-06-30 21:49:03 +0200 |
commit | c5f06930d89bb37718235b9669360d1287bb16d8 (patch) | |
tree | e0e23d2e7c43432a70f4c5e888e24a24f4cf6df1 /docs/conf.py | |
parent | 4e8c17bf5891ad565ce94edf4e4a8bf339a7b532 (diff) | |
download | vyos-documentation-c5f06930d89bb37718235b9669360d1287bb16d8.tar.gz vyos-documentation-c5f06930d89bb37718235b9669360d1287bb16d8.zip |
Sphinx: backport cfgcmd and opcmd directives to crux
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 13 |
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 |