summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorjdenisco <jdenisco@cisco.com>2019-05-13 12:40:21 -0400
committerDave Barach <openvpp@barachs.net>2019-05-16 17:42:13 +0000
commit8a6e1b190c63cc596aed33f84b5989b64d276423 (patch)
tree016c181103861da2791c090a3b874b9bc385234e /docs/conf.py
parent8fa01c17aa65c03b1f25f9accaa5bb0f9d0862c4 (diff)
docs: Update sphinx, requirements, support markdown tables
Change-Id: Ie7c546f5720b10fe5423397204e1ab5c22d7a2ba Signed-off-by: jdenisco <jdenisco@cisco.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 1d60e29f1a7..8e8d422e519 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,6 +40,8 @@ release = u'1.0'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
+ 'recommonmark',
+ 'sphinx_markdown_tables'
]
# Add any paths that contain templates here, relative to this directory.
@@ -48,10 +50,11 @@ templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
-source_suffix = ['.rst', '.md']
-source_parsers = {
- '.md': 'recommonmark.parser.CommonMarkParser',
-}
+source_suffix = {
+ '.rst': 'restructuredtext',
+ '.md': 'markdown'
+ }
+
# The master toctree document.
master_doc = 'index'