Skip to content

Commit 789e3b5

Browse files
committed
Fix documentation build: GitHub Actions, Sphinx 5.3.0, and theme compatibility
1 parent 65722fe commit 789e3b5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/doc-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ jobs:
2222
run: |
2323
export DEBIAN_FRONTEND=noninteractive
2424
sudo apt-get update
25-
sudo apt install -y git python3-venv make
25+
sudo apt install -y git python3-venv make python3-setuptools
2626
echo `python3 --version`
2727
python3 -m venv venv
2828
source venv/bin/activate
2929
pip install --upgrade pip setuptools
3030
id: build
3131
- name: Build the docset
3232
run: |
33+
source ../venv/bin/activate
3334
cd docs
3435
pip install -r requirements.txt
3536
make html

docs/source/_static/.gitkeep

Whitespace-only changes.

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
# Add any Sphinx extension module names here, as strings. They can be
4242
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4343
# ones.
44-
extensions = ["sphinx.ext.napoleon", "sphinx.ext.autodoc", 'sphinx_panels']
45-
panels_add_bootstrap_css = False
44+
extensions = ["sphinx.ext.napoleon", "sphinx.ext.autodoc", "sphinx_panels"]
4645

4746
# Add any paths that contain templates here, relative to this directory.
4847
templates_path = ["_templates"]
@@ -66,6 +65,7 @@
6665
# so a file named "default.css" will overwrite the builtin "default.css".
6766

6867
html_static_path = ["_static"]
68+
html_css_files = [] # avoid undefined errors
6969
panels_add_fontawesome_latex = True
7070

7171
html_theme_options = {

0 commit comments

Comments
 (0)