5ed0739e73
* add latex support for exercise admonition * latex freezes/crashes on {HEAVY WIDE-HEADED RIGHTWARDS ARROW} so replace them by more manual arrows * add some preamble configuration, may not even be necessary * generate WS setup code only in HTML output. WS doc in latex still isn't great as it displays all 4 languages one after the other, ideally they should be tagged or something, so only one language at a time is generated in non-HTML outputs |
||
---|---|---|
.. | ||
static | ||
README.rst | ||
__init__.py | ||
github.py | ||
html_domain.py | ||
layout.html | ||
odoo_pygments.py | ||
sphinx_monkeypatch.py | ||
theme.conf |
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)