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::
17 $ pip install sphinx_opnfv_theme
19 #. Configure Sphinx to use the theme:
21 .. code-block:: python
24 import sphinx_opnfv_theme
29 html_theme_path = sphinx_opnfv_theme.get_html_theme_path()
34 There are no customization specific to this theme yet, but all
35 all customizations_ Sphinx Bootstrap Theme are supported.
37 If you'd like your documentation to match OPNFV's style configure the
38 following options for the bootstrap theme::
40 html_theme_options = {
41 'bootswatch_theme': 'journal',
42 'navbar_sidebarrel': false,
46 .. _Sphinx Bootstrap Theme: https://github.com/ryan-roemer/sphinx-bootstrap-theme
47 .. _Pypi: http://pypi.python.org/pypi/sphinx-opnfv-theme/
48 .. _customizations: https://github.com/ryan-roemer/sphinx-bootstrap-theme#customization