From 5c5b8fe2531c1f4333bb9de0ae642e97de9d5bd8 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Mon, 15 Feb 2021 09:33:07 -0600 Subject: [PATCH 1/2] Fix deprecated sphinx html_context usage in conf.py --- doc/source/conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 7d9e849ad8..8a2c5d787d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -180,11 +180,9 @@ def __getattr__(cls, name): # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -html_context = { - 'css_files': [ - '_static/theme_overrides.css', # override wide tables in RTD theme - ], - } +html_css_files = [ + 'theme_overrides.css', # override wide tables in RTD theme +] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. From 0f0f033d9c8ec79248cc9ce61bedddeacc6a7d72 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Mon, 15 Feb 2021 09:41:01 -0600 Subject: [PATCH 2/2] Fix job step names in website building in CI --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa219444a6..a3b91bcde8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,13 +43,13 @@ jobs: environment-file: continuous_integration/environment.yaml activate-environment: test-environment - - name: Install satpy + - name: Install Satpy shell: bash -l {0} run: | pip install sphinx sphinx_rtd_theme sphinxcontrib-apidoc; \ pip install --no-deps -e . - - name: Run unit tests + - name: Run Sphinx Build shell: bash -l {0} run: | cd doc; \