Skip to content

Commit a89b49c

Browse files
authored
Merge pull request #257 from benjeffery/update-build-theme
Update deps and theme
2 parents c128ad5 + 381ac65 commit a89b49c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/build.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Cancel Previous Runs
16-
uses: styfle/cancel-workflow-action@0.11.0
16+
uses: styfle/cancel-workflow-action@0.12.0
1717
with:
1818
access_token: ${{ github.token }}
1919

2020
- name: Checkout
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
# Install dependencies
24-
- name: Set up Python 3.10
24+
- name: Set up Python 3.11
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: "3.10"
27+
python-version: "3.11"
28+
cache: "pip"
2829

2930
- name: Install python dependencies
3031
run: |
@@ -52,7 +53,7 @@ jobs:
5253
# Push the book's HTML to github-pages
5354
- name: GitHub Pages action
5455
if: github.ref == 'refs/heads/main'
55-
uses: peaceiris/actions-gh-pages@v3.5.9
56+
uses: peaceiris/actions-gh-pages@v3.9.3
5657
with:
5758
github_token: ${{ secrets.GITHUB_TOKEN }}
5859
publish_dir: ./_build/html

_config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ sphinx:
3333
- sphinx.ext.intersphinx
3434
- IPython.sphinxext.ipython_console_highlighting
3535
config:
36-
html_theme: tskit_book_theme
37-
pygments_style: monokai
36+
html_theme: sphinx_book_theme
37+
html_theme_options:
38+
pygment_dark_style: monokai
3839
todo_include_todos: true
3940
intersphinx_mapping:
4041
py: ["https://docs.python.org/3", null]

requirements-CI.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ jupyter-book==0.15.1
55
jupyter-cache==0.6.1
66
msprime==1.2.0
77
networkx==3.1
8-
pandas==2.0.3
9-
scikit-allel==1.3.6
8+
pandas==2.1.1
9+
scikit-allel==1.3.7
1010
stdpopsim==0.2.0
11-
tqdm==4.65.0
11+
tqdm==4.66.1
1212
tskit==0.5.5
13-
tskit-book-theme #Unpinned for easy updating
1413
tszip==0.2.2
1514
jsonschema==4.18.6 # Pinned due to 4.19 "AttributeError module jsonschema has no attribute _validators"

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ scikit-allel
1010
stdpopsim
1111
tqdm
1212
tskit>=0.5.4
13-
tskit-book-theme
1413
tszip

0 commit comments

Comments
 (0)