[IMP] fix links to business mementoes

* rename functional -> business
* fix navbarification of main toctree: would stop processing after it
  hit the first toc item without children, and the business links (with
  children) follow the web service toc item (without children)
master
Xavier Morel 2015-04-09 10:29:38 +02:00
parent 933ac7b2fd
commit a6493f77af
4 changed files with 10 additions and 3 deletions

View File

@ -50,7 +50,7 @@ def navbarify(node, navbar=None):
# reference
# no bullet_list.list_item -> don't dropdownify
if not list_item.children[1].children:
return
continue
list_item['classes'].append('dropdown')
# list_item.compact_paragraph.reference

7
doc/business.rst Normal file
View File

@ -0,0 +1,7 @@
==================
Business Mementoes
==================
.. toctree::
Accounting Memento <https://odoo.com/documentation/functional/accounting.html>

View File

@ -194,7 +194,7 @@ def setup(app):
app.add_config_value('versions', '', 'env')
app.connect('html-page-context', analytics)
app.add_config_value('google_analytics_key', False, 'env')
app.add_config_value('google_analytics_key', '', 'env')
def canonicalize(app, pagename, templatename, context, doctree):
""" Adds a 'canonical' URL for the current document in the rendering

View File

@ -14,7 +14,7 @@ Odoo Technical Documentation
setup
reference
api_integration
functional mementoes <http://odoo.com/documentation/functional>
business
.. ifconfig:: todo_include_todos