documentation/extensions/odoo_theme
Antoine Vandevenne (anv) 2073beb1c9 [IMP] odoo_theme: add the class o_code on literals
The SCSS that styles the `literal`, `code`, `file`, and `command` roles
is excessively complex because the traduction from RST to HTML is not
consistent from one role to another: some use `<code>` elements, some
have the `code` class, some wrap the literal with a `span` element.

This commit sets the `o_code` class on all of these roles' parent node
at translation time to allow simplifying the SCSS target.
2023-01-03 08:48:40 +01:00
..
layout_templates [IMP] documentation: legal page design 2022-12-07 10:45:41 +01:00
static [FIX] odoo_theme: handle non-TOC pages when expanding top menu entries 2023-01-02 16:11:04 +01:00
__init__.py [CLN] core: upgrade to python 3.6 2022-11-15 16:21:56 +01:00
layout.html [IMP] documentation: legal page design 2022-12-07 10:45:41 +01:00
pygments_override.py [CLN] core: upgrade to python 3.6 2022-11-15 16:21:56 +01: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] odoo_theme: add the class o_code on literals 2023-01-03 08:48:40 +01:00