OPNFV Theme for Sphinx
Project description
OPNFV Documentation Theme
=========================
This theme is used for all OPNFV documentation and is released seperatly
from the documentation itself. It's and extention of the `Sphinx
Bootstrap Theme`_
Installation
------------
Here's how to install the theme from PyPI_
To install and configure the theme do the following.
#. Install the theme from pypi::
$ pip install sphinx_opnfv_theme
#. Configure Sphinx to use the theme::
# conf.py
import sphinx_opnfv_theme
# ...
html_theme = 'opnfv'
html_theme_path = sphinx_opnfv_theme.get_html_theme_path()
Customization
-------------
There are no customization specific to this theme yet, but all
all customizations_ Sphinx Bootstrap Theme are supported.
If you'd like your documentation to match OPNFV's style configure the
following options for the bootstrap theme::
html_theme_options = {
'bootswatch_theme': 'journal',
'navbar_sidebarrel': false,
'navbar_title': '',
}
.. _Sphinx Bootstrap Theme: https://github.com/ryan-roemer/sphinx-bootstrap-theme
.. _Pypi: http://pypi.python.org/pypi/sphinx-opnfv-theme/
.. _customizations: https://github.com/ryan-roemer/sphinx-bootstrap-theme#customization
=========================
This theme is used for all OPNFV documentation and is released seperatly
from the documentation itself. It's and extention of the `Sphinx
Bootstrap Theme`_
Installation
------------
Here's how to install the theme from PyPI_
To install and configure the theme do the following.
#. Install the theme from pypi::
$ pip install sphinx_opnfv_theme
#. Configure Sphinx to use the theme::
# conf.py
import sphinx_opnfv_theme
# ...
html_theme = 'opnfv'
html_theme_path = sphinx_opnfv_theme.get_html_theme_path()
Customization
-------------
There are no customization specific to this theme yet, but all
all customizations_ Sphinx Bootstrap Theme are supported.
If you'd like your documentation to match OPNFV's style configure the
following options for the bootstrap theme::
html_theme_options = {
'bootswatch_theme': 'journal',
'navbar_sidebarrel': false,
'navbar_title': '',
}
.. _Sphinx Bootstrap Theme: https://github.com/ryan-roemer/sphinx-bootstrap-theme
.. _Pypi: http://pypi.python.org/pypi/sphinx-opnfv-theme/
.. _customizations: https://github.com/ryan-roemer/sphinx-bootstrap-theme#customization
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx_opnfv_theme-0.1.0.tar.gz
(10.9 kB
view details)
File details
Details for the file sphinx_opnfv_theme-0.1.0.tar.gz
.
File metadata
- Download URL: sphinx_opnfv_theme-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b9e667cef44f65c91bf432e52d0d38f7b56bdcd8d854df1b9df7f7537c2e82 |
|
MD5 | 6cade54783d40dedf6571b49a3c4f4f8 |
|
BLAKE2b-256 | 9be90ce5095608da6422af247b88392655734a1c2b0a73060f7e3a0c0eb6840f |