doc: add sphinx-tabs extension

The sphinx-tabs extension let's us create a document that can
dynamically display alternate material based on clicking a tab, as used
in the Zephyr getting started guide:
https://docs.zephyrproject.org/latest/getting_started/index.html

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2020-04-16 09:52:44 -07:00 committed by David Kinder
parent aef1f4cde8
commit 426c214733
2 changed files with 6 additions and 2 deletions

View File

@ -35,8 +35,11 @@ if "RELEASE" in os.environ:
# ones.
sys.path.insert(0, os.path.join(os.path.abspath('.'), 'extensions'))
extensions = ['breathe', 'sphinx.ext.graphviz', 'sphinx.ext.extlinks',
'kerneldoc', 'eager_only', 'html_redirects']
extensions = [
'breathe', 'sphinx.ext.graphviz', 'sphinx.ext.extlinks',
'kerneldoc', 'eager_only', 'html_redirects',
'sphinx_tabs.tabs'
]
# extlinks provides a macro template

View File

@ -3,3 +3,4 @@ sphinx==1.7.7
docutils==0.14
sphinx_rtd_theme==0.4.0
kconfiglib>=10.2
sphinx-tabs