[ADD] doc: new documentation, with training tutorials, and new scaffolding
[odoo/odoo.git] / doc / _themes / odoodoc / README.rst
1 :orphan:
2
3 Using the Odoo theme
4 ====================
5
6 * copy the theme to one of your theme paths
7 * in your ``conf.py``,
8
9     - add the package as the ``html_theme`` in your ``conf.py``::
10
11         html_theme = 'odoodoc'
12
13     - add the theme path to ``sys.path`` in your ``conf.py``::
14
15         sys.path.insert(0, os.path.abspath('./_themes'))
16
17     - add the theme as an extension::
18
19         extensions = ['odoodoc']
20
21 Custom styling
22 --------------
23
24 If you need to add custom/own styles, add a CSS to your static files, set it
25 as ``html_style`` in your ``conf.py`` and add the following as its first
26 line::
27
28     @import url(odoodoc.css)