mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Sphinx: add extention
This commit is contained in:
parent
a8a16fbd09
commit
448e2cb806
15
docs/conf.py
15
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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user