documentation/extensions
Antoine Vandevenne (anv) b35f5b4f4a [IMP] extensions/spoilers: add an extension for spoilers
It is often needed in developer tutorials to show excerpts of code for
examples and solutions. This takes quite some page space and, for the
latter, it is not always desired to show the final code result right
after the exercise objective.

This commit adds a spoiler feature to the documentation to allow hiding
content until the reader wants to display it.

The feature relies on the new `.. spoiler:: Button label` directive.

task-3036845

closes odoo/documentation#2874

X-original-commit: 4d7a88639a
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Morgan Meganck <morm@odoo.com>
Co-authored-by: Stefano Rigano <sri@odoo.com>
2022-10-28 13:52:45 +02:00
..
autodoc_field [IMP] conf.py, requirements.txt, *: allow building with Python 3.10 2022-07-14 20:32:20 +02:00
autodoc_placeholder [ADD] extensions: new autofield directive 2022-05-09 12:19:00 +02:00
custom_admonitions [ADD] extensions: add a custom example admonition 2022-01-28 11:20:03 +00:00
embedded_video [FIX] extensions: support parallel read 2021-05-19 15:03:39 +02:00
github_link [FIX] code: typos 2021-05-31 14:44:18 +02:00
graphviz_placeholder [ADD] extension: allow to build graphs using graphviz 2022-05-09 12:19:00 +02:00
html_domain [FIX] extensions: support parallel read 2021-05-19 15:03:39 +02:00
odoo_theme [IMP] extensions/spoilers: add an extension for spoilers 2022-10-28 13:52:45 +02:00
redirects [IMP] redirects: split redirects.txt into multiple, per-version, files 2022-06-23 17:57:15 +02:00
sphinx_tabs [IMP] extensions: add content tabs (backport of cf6ca0fb) 2022-02-23 13:54:58 +00:00
spoilers [IMP] extensions/spoilers: add an extension for spoilers 2022-10-28 13:52:45 +02:00