aboutsummaryrefslogtreecommitdiffstats
path: root/test/doc
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-13 11:33:52 -0800
committerOle Trøan <otroan@employees.org>2019-01-18 19:14:30 +0000
commit8467919e4e27cda004a900082c5084875f04403d (patch)
treee0507a37672b80877c259a9e63669d9d3f93ca40 /test/doc
parent5011c67058c3c37d344c5d83ab6046700327b7b4 (diff)
VTL: Fix sphinx doc generation.
Remove unnecessary envvar magic for sphinx builds. Just provide the proper mock objects. Change-Id: I151513eb47d2f71cf221651145dbcdc153448772 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/doc')
-rw-r--r--test/doc/conf.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/doc/conf.py b/test/doc/conf.py
index ec8958ea2f0..98cd7ab306d 100644
--- a/test/doc/conf.py
+++ b/test/doc/conf.py
@@ -20,7 +20,6 @@ import os
import sys
sys.path.insert(0, os.path.abspath('..'))
-
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -33,6 +32,9 @@ sys.path.insert(0, os.path.abspath('..'))
extensions = [
'sphinx.ext.autodoc',
]
+autodoc_mock_imports = ['objgraph',
+ 'pympler',
+ 'vpp_papi']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -122,7 +124,7 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-#html_theme = 'alabaster'
+# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
@@ -149,8 +151,8 @@ html_theme = 'sphinx_rtd_theme'
# html_logo = None
# The name of an image file (relative to this directory) to use as a favicon of
-# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
+# the docs. This file should be a Windows icon file (.ico) being 16x16 or
+# 32x32 pixels large.
#
# html_favicon = None