fix building of docs

This commit is contained in:
Eelke Klein 2022-09-04 07:43:35 +00:00
parent a8009a1c37
commit 6631d1df5d
2 changed files with 5 additions and 1 deletions

View file

@ -12,6 +12,7 @@ test-docs:
stage: test stage: test
script: script:
- pip install -U sphinx - pip install -U sphinx
- pip install -U sphinx-theme-pd
- sphinx-build -b html docs public - sphinx-build -b html docs public
only: only:
- branches - branches
@ -22,6 +23,7 @@ pages:
stage: deploy stage: deploy
script: script:
- pip install -U sphinx - pip install -U sphinx
- pip install -U sphinx-theme-pd
- sphinx-build -b html docs public - sphinx-build -b html docs public
artifacts: artifacts:
paths: paths:

View file

@ -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 # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # 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, # 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, # relative to this directory. They are copied after the builtin static files,