documentation/extensions
Mathieu (mano) 07c50eae7a [IMP] odoo_theme: toctrees-l1,l2 design improvement
Issue 1:
========
The toctrees in the documentation are visually inconsistent because of
the content. Sometimes we have titles that are also links and visually
collides with the rest of the toc making it hard to read. This applies
to toctree-l1 and toctree-l2.

Fix 1:
========
When we have a link and title toctree-l2 in a list containing other
nested toc, we apply another styling displaying it with the same color
as a title, but with an icon and hover behavior indicating that it is a
link. (This commit also changes the direction of the i-link icon to make
it standard).

Issue 2:
========
When we have only have toctree-l1 links without nested toc the toctree
is uselessly taking a lot of space.

Fix: 2
========

In these scenario we add a class to the toctree wrapper to replace the
toctree-l1 style with a toctree-l2.

task-3138525
task-3138563

part of

task-3059178

closes odoo/documentation#6512

X-original-commit: c62bf21987
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-11-21 12:58:53 +00:00
..
autodoc_field [FIX] *: remove trailing whitespaces 2022-11-18 18:04:50 +01:00
autodoc_placeholder [ADD] extensions: new autofield directive 2022-05-09 14:03:24 +02:00
cards [ADD] extensions/cards: add an extension to implement cards 2023-02-28 18:08:29 +01:00
custom_admonitions [IMP] odoo_theme: tweak the HTML structure of TOC entries 2023-04-12 12:26:14 +02:00
embedded_video [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
github_link [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
graphviz_placeholder [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
html_domain [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
odoo_theme [IMP] odoo_theme: toctrees-l1,l2 design improvement 2023-11-21 12:58:53 +00:00
redirects [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
spoilers [IMP] extensions/spoilers: add an extension for spoilers 2022-10-28 14:21:05 +02:00