OPNFV Sphinx Theme
[opnfvdocs.git] / opnfv-theme / sphinx_opnfv_theme / __init__.py
1 """OPNFV Sphinx Theme"""
2
3 from os import path
4
5 __version__='0.1.1'
6
7
8 def get_html_theme_path():
9     """Return list of HTML theme paths."""
10     local_path = path.abspath(path.dirname(__file__))
11     return [local_path]
12
13 def setup(app):
14     """Required by Sphinx to create the theme."""
15     app.add_html_theme('opnfv', path.abspath(path.dirname(__file__)))