From 448e2cb8060845fe1d6e28e74434475a375bd8ea Mon Sep 17 00:00:00 2001 From: Robert Göhler Date: Sun, 22 Dec 2019 19:33:07 +0100 Subject: Sphinx: add extention --- docs/conf.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'docs/conf.py') 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') -- cgit v1.2.3