documentation/extensions/odoo_theme
Antoine Vandevenne (anv) 340e90b5c2 [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#2873

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:53:20 +02:00
..
layout_templates [MOV] developer/misc: move all pages to a more logical location 2022-07-04 11:57:52 +02:00
static [IMP] extensions/spoilers: add an extension for spoilers 2022-10-28 13:53:20 +02:00
__init__.py [IMP] odoo_theme: introduce fallback URLs for the page switchers 2022-05-19 22:32:45 +02:00
layout.html [IMP] odoo_theme: revamp side menu to add overlay 2022-06-15 11:27:16 +02:00
pygments_override.py [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
search.html [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
theme.conf [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
translator.py [IMP] conf.py, requirements.txt, *: allow building with Python 3.10 2022-07-14 17:38:42 +02:00