diff --git a/doc/_extensions/odoo/layout.html b/doc/_extensions/odoo/layout.html index a7ed5078040..000019b32cf 100644 --- a/doc/_extensions/odoo/layout.html +++ b/doc/_extensions/odoo/layout.html @@ -230,7 +230,7 @@
{% if pagename != master_doc %}
- {% if 'has-toc' not in meta %} + {% if 'has-toc' not in meta and not (pagename in toc) %} {% endif %} -
+
{% endif %} {% block body %} {% endblock %} {% if pagename != master_doc %}
diff --git a/doc/_extensions/odoo/static/style.css b/doc/_extensions/odoo/static/style.css index 1d48dea23b0..d521ff30677 100644 --- a/doc/_extensions/odoo/static/style.css +++ b/doc/_extensions/odoo/static/style.css @@ -12353,6 +12353,13 @@ article.doc-body section.doc-content:first-of-type > p:first-child { font-size: 22.5px; } } +article.doc-body.index-category { + min-height: 300px; + min-height: 30vh; +} +article.doc-body.index-category li.toctree-l1 { + padding: 5px 0; +} .content-switcher { margin-top: 1.5em; } diff --git a/doc/_extensions/odoo/static/style.less b/doc/_extensions/odoo/static/style.less index 44811836068..5fd9fe17804 100644 --- a/doc/_extensions/odoo/static/style.less +++ b/doc/_extensions/odoo/static/style.less @@ -742,6 +742,15 @@ article.doc-body { .lead; } } + + &.index-category { + min-height: 300px; + min-height: 30vh; + + li.toctree-l1 { + padding: 5px 0; + } + } } .content-switcher {