[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)
This commit is contained in:
parent
933ac7b2fd
commit
a6493f77af
|
@ -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
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
==================
|
||||
Business Mementoes
|
||||
==================
|
||||
|
||||
.. toctree::
|
||||
|
||||
Accounting Memento <https://odoo.com/documentation/functional/accounting.html>
|
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@ Odoo Technical Documentation
|
|||
setup
|
||||
reference
|
||||
api_integration
|
||||
functional mementoes <http://odoo.com/documentation/functional>
|
||||
business
|
||||
|
||||
.. ifconfig:: todo_include_todos
|
||||
|
||||
|
|
Loading…
Reference in New Issue