1 OPNFV Documentation Theme
2 =========================
4 This theme is used for all OPNFV documentation and is released seperatly
5 from the documentation itself. It's and extention of the `Sphinx
11 Here's how to install the theme from PyPI_
13 To install and configure the theme do the following.
15 #. Install the theme from pypi:
19 $ pip install sphinx_opnfv_theme
21 #. Configure Sphinx to use the theme:
23 .. code-block:: python
26 import sphinx_opnfv_theme
31 html_theme_path = sphinx_opnfv_theme.get_html_theme_path()
36 There are no customization specific to this theme yet, but all
37 all customizations_ Sphinx Bootstrap Theme are supported.
39 If you'd like your documentation to match OPNFV's style configure the
40 following options for the bootstrap theme::
42 html_theme_options = {
43 'bootswatch_theme': 'journal',
44 'navbar_sidebarrel': False,
48 .. _Sphinx Bootstrap Theme: https://github.com/ryan-roemer/sphinx-bootstrap-theme
49 .. _Pypi: http://pypi.python.org/pypi/sphinx-opnfv-theme/
50 .. _customizations: https://github.com/ryan-roemer/sphinx-bootstrap-theme#customization