documentation/extensions/odoo_theme
Antoine Vandevenne (anv) fe7bc47fea [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-04 11:10:08 +01:00
..
layout_templates [IMP] documentation: legal page design 2022-12-07 15:47:41 +01:00
static [FIX] odoo_theme: handle non-TOC pages when expanding top menu entries 2023-01-03 11:08:32 +01:00
__init__.py [CLN] core: upgrade to python 3.6 2022-11-17 09:41:55 +01:00
layout.html [IMP] documentation: legal page design 2022-12-07 15:47:41 +01:00
pygments_override.py [CLN] core: upgrade to python 3.6 2022-11-17 09:41:55 +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-04 11:10:08 +01:00