aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2023-08-24 10:40:35 -0500
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-27 08:21:08 +0200
commit1cfcc2298fc6c1d661db2f7b5110e2c63e0ef756 (patch)
tree370ea8f15d4337d9e6fe44b84ce0a0957080decb /doc/conf.py
parent96c4fec7019a3c5d4410c01d2f5ecbc6a547dc81 (diff)
downloadu-boot-1cfcc2298fc6c1d661db2f7b5110e2c63e0ef756.zip
u-boot-1cfcc2298fc6c1d661db2f7b5110e2c63e0ef756.tar.gz
u-boot-1cfcc2298fc6c1d661db2f7b5110e2c63e0ef756.tar.bz2
doc: sphinx: Add sphinx-prompt
Sphinx-prompt[1] helps bring-in '.. prompt::' option that allows a better rendered documentation, yet be able to copy paste without picking up the prompt from rendered documentation. [1] https://lore.kernel.org/all/87fs48rgto.fsf@baylibre.com/ Suggested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 00f2413..5e2ff1c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -39,7 +39,7 @@ needs_sphinx = '2.4.4'
extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include',
'kfigure', 'sphinx.ext.ifconfig', # 'automarkup',
'maintainers_include', 'sphinx.ext.autosectionlabel',
- 'kernel_abi', 'kernel_feat']
+ 'kernel_abi', 'kernel_feat', 'sphinx-prompt']
#
# cdomain is badly broken in Sphinx 3+. Leaving it out generates *most*