From e44a14313d8e76596ce28708983917fab36f00c3 Mon Sep 17 00:00:00 2001 From: bastimeyer Date: Thu, 20 Apr 2023 01:01:53 +0200 Subject: [PATCH] docs: bump furo to 2023.03.27 - Bump docs build-dependencies - sphinx >=5.0.0, <7 - myst-parser >=1.0.0, <2 - sphinx-design >=0.4.1, <1 - Bump furo theme to latest version - Fix theme build errors --- .github/workflows/lint.yml | 2 +- docs-requirements.txt | 8 ++++---- docs/_templates/sidebar/brand.html | 3 ++- docs/conf.py | 2 ++ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 642d4bc7..008d5203 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -50,4 +50,4 @@ jobs: - name: mypy run: | python -m mypy --no-incremental - python -m mypy --no-incremental docs + python -m mypy --no-incremental --python-version 3.8 docs diff --git a/docs-requirements.txt b/docs-requirements.txt index 36a639af..d6cf287e 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -1,7 +1,7 @@ -sphinx >=4.0.0 -furo ==2022.09.15 -myst-parser >=0.18.0 -sphinx-design >=0.3.0 +sphinx >=5.0.0, <7 +furo ==2023.03.27 +myst-parser >=1.0.0, <2 +sphinx-design >=0.4.1, <1 versioningit >=2.0.0, <3 docutils-stubs diff --git a/docs/_templates/sidebar/brand.html b/docs/_templates/sidebar/brand.html index 4c5dc42e..13e2d971 100644 --- a/docs/_templates/sidebar/brand.html +++ b/docs/_templates/sidebar/brand.html @@ -1,6 +1,7 @@ diff --git a/docs/conf.py b/docs/conf.py index db11fa5b..24d9a73b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -126,6 +126,8 @@ html_theme_options = { "source_repository": "https://github.com/streamlink/streamlink/", "source_branch": "master", "source_directory": "docs/", + "light_logo": "icon.svg", + "dark_logo": "icon.svg", } # Add any paths that contain custom themes here, relative to this directory.