mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 15:56:54 +00:00
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:
parent
aef1f4cde8
commit
426c214733
@ -35,8 +35,11 @@ if "RELEASE" in os.environ:
|
|||||||
# ones.
|
# ones.
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(os.path.abspath('.'), 'extensions'))
|
sys.path.insert(0, os.path.join(os.path.abspath('.'), 'extensions'))
|
||||||
extensions = ['breathe', 'sphinx.ext.graphviz', 'sphinx.ext.extlinks',
|
extensions = [
|
||||||
'kerneldoc', 'eager_only', 'html_redirects']
|
'breathe', 'sphinx.ext.graphviz', 'sphinx.ext.extlinks',
|
||||||
|
'kerneldoc', 'eager_only', 'html_redirects',
|
||||||
|
'sphinx_tabs.tabs'
|
||||||
|
]
|
||||||
|
|
||||||
# extlinks provides a macro template
|
# extlinks provides a macro template
|
||||||
|
|
||||||
|
@ -3,3 +3,4 @@ sphinx==1.7.7
|
|||||||
docutils==0.14
|
docutils==0.14
|
||||||
sphinx_rtd_theme==0.4.0
|
sphinx_rtd_theme==0.4.0
|
||||||
kconfiglib>=10.2
|
kconfiglib>=10.2
|
||||||
|
sphinx-tabs
|
||||||
|
Loading…
Reference in New Issue
Block a user