[ADD] demo/POC functional documentation

* by-application (odoo-wise) grouping
* use part of the accounting TOC defined on pad
* support for "internal" tocs & fixup front toc
* various changes and improvements to extensions

May be missing: inherited document banners?
This commit is contained in:
Xavier Morel
2015-07-09 11:49:42 +02:00
parent 705e0d56b2
commit c4e798e970
61 changed files with 733 additions and 251 deletions
+4 -3
View File
@@ -83,8 +83,7 @@
</li>
</ul>
{% endif %}
{{ toctree(titles_only=True, maxdepth=2, includehidden=True,
collapse=False, navbar='main') }}
{{ toctree(titles_only=True, maxdepth=2, includehidden=True, collapse=False, navbar='main') }}
</nav>
</div>
</nav>
@@ -99,6 +98,7 @@
<main class="{{ container }} {{ ' '.join(classes) }}">
{% if pagename != master_doc %}
<div class="row">
{% if 'has-toc' not in meta %}
<aside>
<div class="navbar-aside text-center">
<div class="logo_box">
@@ -113,7 +113,8 @@
{% endif %}
</div>
</aside>
<article class="doc-body">
{% endif %}
<article class="doc-body {% if 'has-toc' in meta %}doc-toc{% endif %}">
{% endif %}
{% block body %} {% endblock %}
{% if pagename != master_doc %}</article>