Skip to content

Commit e67caba

Browse files
committed
Update pydata-sphinx-theme to v0.9.0
This also starts using python3-venv (in place of pip install --user). Evidently pip is confused by system-installed "Pygments" package and produced the following exception on GitHub Actions: 'HtmlFormatter' object has no attribute 'get_linenos_style_defs' This can be avoided by running pip in a virtual environment. Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
1 parent 28946ba commit e67caba

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ jobs:
99
- uses: actions/checkout@v2
1010
- name: Build
1111
run: |
12-
sudo apt install python3-pip
13-
python3 -m pip install -U --user Sphinx pydata-sphinx-theme==0.8.1
12+
sudo apt install python3-pip python3-venv
13+
python3 -m venv venv
14+
source ./venv/bin/activate
15+
python3 -m pip install -U Sphinx pydata-sphinx-theme
1416
make docs
1517
- name: Git Push
1618
run: |

0 commit comments

Comments
 (0)