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
This commit is contained in:
bastimeyer 2023-04-20 01:01:53 +02:00 committed by Forrest
parent 59d57d604f
commit e44a14313d
4 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,7 @@
<a class="sidebar-brand centered" href="{{ pathto(master_doc) }}">
<div class="sidebar-logo-container">
<img class="sidebar-logo" src="{{ pathto('_static/' + logo, 1) }}" alt="{{ project }}"/>
<img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" alt="{{ project }}"/>
<img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" alt="{{ project }}"/>
</div>
<p class="sidebar-brand-text">{{ project }}</p>
<p class="sidebar-brand-oneliner">{{ oneliner }}</p>

View File

@ -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.