diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f46603..4558dee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ test-docs: stage: test script: - pip install -U sphinx + - pip install -U sphinx-theme-pd - sphinx-build -b html docs public only: - branches @@ -22,6 +23,7 @@ pages: stage: deploy script: - pip install -U sphinx + - pip install -U sphinx-theme-pd - sphinx-build -b html docs public artifacts: paths: diff --git a/docs/conf.py b/docs/conf.py index 1673902..785f808 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'PD' +import sphinx_theme_pd +html_theme = 'sphinx_theme_pd' +html_theme_path = [sphinx_theme_pd.get_html_theme_path()] # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,