summaryrefslogtreecommitdiffstats
path: root/opnfv-theme/sphinx_opnfv_theme/__init__.py
blob: 007927521b58fe09bc41163f09447655435b5c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""OPNFV Sphinx Theme"""

from os import path

__version__='0.1.1'


def get_html_theme_path():
    """Return list of HTML theme paths."""
    local_path = path.abspath(path.dirname(__file__))
    return [local_path]

def setup(app):
    """Required by Sphinx to create the theme."""
    app.add_html_theme('opnfv', path.abspath(path.dirname(__file__)))