odoo/doc/_themes/odoodoc
Xavier Morel bb007dd040 [ADD] support for a version switcher in odoo theme thing
needs beauty input
2014-09-04 14:43:55 +02:00
..
static [ADD] support for a version switcher in odoo theme thing 2014-09-04 14:43:55 +02:00
README.rst [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
__init__.py [ADD] github links from doc 2014-09-03 14:53:41 +02:00
github.py [ADD] doc's readme 2014-09-04 14:43:54 +02:00
html_domain.py [ADD] doc's readme 2014-09-04 14:43:54 +02:00
layout.html [ADD] support for a version switcher in odoo theme thing 2014-09-04 14:43:55 +02:00
odoo_pygments.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
sphinx_monkeypatch.py [IMP] display sibling documents in affixed menu 2014-09-03 14:53:40 +02:00
theme.conf [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00

README.rst

: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)