[IMP] doc: rename WS page, lift to top-level

This commit is contained in:
Xavier Morel 2014-11-17 16:10:06 +01:00
parent 95c8250992
commit 8f784edce1
6 changed files with 24 additions and 26 deletions

View File

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

View File

@ -6296,7 +6296,7 @@ body {
-o-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
} }
.docs-nav .navbar-nav > li > a:after { .docs-nav .navbar-nav > li.dropdown > a:after {
content: " "; content: " ";
display: inline-block; display: inline-block;
width: 0; width: 0;
@ -6307,7 +6307,7 @@ body {
border-right: 4px solid transparent; border-right: 4px solid transparent;
border-left: 4px solid transparent; border-left: 4px solid transparent;
} }
.docs-nav .navbar-nav > li .dropdown-menu > li.current > a.current { .docs-nav .navbar-nav > li.dropdown .dropdown-menu > li.current > a.current {
background-color: #a24689; background-color: #a24689;
color: white; color: white;
} }

View File

@ -89,20 +89,22 @@ body {
opacity: 0; opacity: 0;
.transition(all 0.3s ease-out); .transition(all 0.3s ease-out);
} }
> a:after { &.dropdown {
content: " "; > a:after {
display: inline-block; content: " ";
width: 0; display: inline-block;
height: 0; width: 0;
margin-left: 5px; height: 0;
vertical-align: middle; margin-left: 5px;
border-top: 4px solid @gray-light; vertical-align: middle;
border-right: 4px solid transparent; border-top: 4px solid @gray-light;
border-left: 4px solid transparent; border-right: 4px solid transparent;
} border-left: 4px solid transparent;
.dropdown-menu > li.current > a.current { }
background-color: @brand-primary; .dropdown-menu > li.current > a.current {
color: white; background-color: @brand-primary;
color: white;
}
} }
} }
/* version switcher */ /* version switcher */

View File

@ -1,7 +1,7 @@
:classes: stripe :classes: stripe
=========== ===========
Odoo as API Web Service
=========== ===========
Odoo is mostly extended internally via modules, but much of its features and Odoo is mostly extended internally via modules, but much of its features and

View File

@ -14,7 +14,7 @@ Welcome to the Odoo developer documentation.
tutorials tutorials
reference reference
modules api_integration
.. ifconfig:: todo_include_todos .. ifconfig:: todo_include_todos

View File

@ -1,8 +0,0 @@
==============
Module Objects
==============
.. toctree::
:titlesonly:
modules/api_integration