From 76a036598869f7b737f06154926bad01cab35609 Mon Sep 17 00:00:00 2001 From: Ben Jeffery Date: Fri, 6 Oct 2023 16:46:58 +0100 Subject: [PATCH] Update docs deps and theme --- .github/workflows/docs.yml | 4 ++-- docs/_config.yml | 4 +--- requirements/CI-docs/requirements.txt | 19 +++++++------------ 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3c31e9b0..b283bd4d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: shell: bash steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.0 with: access_token: ${{ github.token }} @@ -29,7 +29,7 @@ jobs: uses: actions/cache@v3 env: # Increase this to reset the cache if the key hasn't changed. - CACHE_NUM: 1 + CACHE_NUM: 2 with: path: | /usr/share/miniconda/envs/anaconda-client-env diff --git a/docs/_config.yml b/docs/_config.yml index 035b8095..0fc84dd0 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -36,11 +36,9 @@ sphinx: - sphinxarg.ext config: - html_theme: tskit_book_theme + html_theme: sphinx_book_theme html_theme_options: - pygment_light_style: monokai pygment_dark_style: monokai - pygments_style: monokai issues_github_path: tskit-dev/pyslim todo_include_todos: true intersphinx_mapping: diff --git a/requirements/CI-docs/requirements.txt b/requirements/CI-docs/requirements.txt index df76ea41..12d09229 100644 --- a/requirements/CI-docs/requirements.txt +++ b/requirements/CI-docs/requirements.txt @@ -1,15 +1,10 @@ -setuptools-scm==7.1.0 jupyter-book==0.15.1 -jupyter-sphinx==0.4.0 -sphinx==5.0.2 -tskit==0.5.5 +matplotlib==3.8.0 msprime==1.2.0 -PyGithub==1.58.2 -matplotlib==3.7.1 -pandas -tskit-book-theme - -jupyter-book==0.15.1 -sphinx-issues==3.0.1 +msprime==1.2.0 +pandas==2.1.1 +PyGithub==2.1.1 +setuptools-scm==8.0.4 sphinx-argparse==0.4.0 -msprime==1.2.0 \ No newline at end of file +sphinx-issues==3.0.1 +tskit==0.5.5 \ No newline at end of file