documentation/_themes/odoodoc
Xavier Morel 931c1c8ec3 [ADD] explanation + interaction of journals + chart of accounts
After discussion with fp this probably isn't the direction (ish), but
want to checkpoint this in order to work on other stuff earlier in the
document, but not commit a single gigantic blob of stuff.
2015-02-17 16:38:00 +01:00
..
static [ADD] explanation + interaction of journals + chart of accounts 2015-02-17 16:38:00 +01:00
__init__.py [ADD] initial closing 2015-02-11 09:22:56 +01:00
github.py [ADD] initial closing 2015-02-11 09:22:56 +01:00
html_domain.py [ADD] initial closing 2015-02-11 09:22:56 +01:00
layout.html [ADD] initial closing 2015-02-11 09:22:56 +01:00
odoo_pygments.py [ADD] initial closing 2015-02-11 09:22:56 +01:00
README.rst [ADD] initial closing 2015-02-11 09:22:56 +01:00
sphinx_monkeypatch.py [ADD] explanation + interaction of journals + chart of accounts 2015-02-17 16:38:00 +01:00
theme.conf [ADD] initial closing 2015-02-11 09:22:56 +01:00

:orphan:

Using the Odoo theme
====================

* copy the theme to one of your theme paths
* in your ``conf.py``,

    - add the package as the ``html_theme`` in your ``conf.py``::

        html_theme = 'odoodoc'

    - add the theme path to ``sys.path`` in your ``conf.py``::

        sys.path.insert(0, os.path.abspath('./_themes'))

    - add the theme as an extension::

        extensions = ['odoodoc']

Custom styling
--------------

If you need to add custom/own styles, add a CSS to your static files, set it
as ``html_style`` in your ``conf.py`` and add the following as its first
line::

    @import url(odoodoc.css)