[IMP] doc: relative paths to doc instead of static urls

This commit is contained in:
Victor Feyens 2020-09-29 16:42:38 +02:00
parent 3e00b2dc0a
commit c084b8cc66

View File

@ -2,12 +2,12 @@
<!-- VFE TODO dynamic links for doc pages, or at least the correct version... -->
<!-- OR just remove the static logic and use more advanced logic ? -->
<li><a href="https://www.odoo.com/documentation/user/13.0/index.html">User</a></li>
<li><a href="https://www.odoo.com/documentation/13.0/index.html">Developer</a></li>
<li><a href="https://www.odoo.com/documentation/13.0/setup/install.html">Installation</a></li>
<li><a href="{{ pathto('user/index') }}">User</a></li>
<li><a href="{{ pathto('developer/index') }}">Developer</a></li>
<li><a href="{{ pathto('developer/setup/install') }}">Installation</a></li>
<li><a href="https://odoo.com/slides">eLearning</a></li>
<li><a href="https://www.odoo.com/page/odoo-white-paper">White Papers</a></li>
<li><a href="https://www.odoo.com/page/legal">Legal</a></li>
<li><a href="{{ pathto('user/legal') }}">Legal</a></li>
{%- if pagename != "search" and builder != "singlehtml" %}
<li id="searchbox" style="display: none; margin: 0 0 0 10px;" role="search">