Skip to content

docs: update dependencies #4610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: bump furo theme version to 2022.06.04.1
- Bump min version of Sphinx to 4.0.0
  This was already required by the previous version of furo
- Revert headline font sizes, font weights and margins to previous style
- Fix broken margin of version links in sidebar
- Override font style of pygments' "generic output"
- Add edit page button via new config option
  • Loading branch information
bastimeyer committed Jun 19, 2022
commit daafc02ae89c249ac19f30a1af7f5541022ae0fe
4 changes: 2 additions & 2 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx>=3.0
furo==2021.09.08
sphinx >=4.0.0
furo ==2022.06.04.1
recommonmark>=0.5.0
versioningit >=2.0.0, <3
43 changes: 38 additions & 5 deletions docs/_static/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,35 @@ html {
font-size: 100% !important;
}

h1, h2 {
margin-top: 1.5rem;
margin-bottom: 0.75rem;
font-weight: 300;
}
h3, h4, h5, h6 {
margin-top: 1.5rem;
margin-bottom: 0.5rem;
font-weight: 400;
}
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.25rem;
}
h4 {
font-size: 1rem;
}
h5 {
font-size: 0.875rem;
}
h6 {
font-size: 0.75rem;
}

code.literal {
font-size: var(--font-size--small);
}
Expand All @@ -56,14 +85,18 @@ strong.command {
font: normal var(--font-size--small) var(--font-stack--monospace);
}

a[href^="http://"],
a[href^="https://"]:not([href^="https://streamlink.github.io/"]) {
.highlight .go {
font-style: normal;
}

a[href^="http://"]:not(.muted-link),
a[href^="https://"]:not(.muted-link):not([href^="https://streamlink.github.io/"]) {
display: inline-block;
word-break: break-word;
}

a[href^="http://"]:not(.no-external-link-icon)::after,
a[href^="https://"]:not(.no-external-link-icon):not([href^="https://streamlink.github.io/"])::after {
a[href^="http://"]:not(.no-external-link-icon):not(.muted-link)::after,
a[href^="https://"]:not(.no-external-link-icon):not(.muted-link):not([href^="https://streamlink.github.io/"])::after {
content: "\f35d";
display: inline-block;
padding-left: .4em;
Expand Down Expand Up @@ -133,7 +166,7 @@ a[href^="https://"]:not(.no-external-link-icon):not([href^="https://streamlink.g
}
.sidebar-versions-others dd {
width: 50%;
margin: 0;
margin: 0 !important;
}
.sidebar-versions-others dd:first-of-type {
padding-right: .5rem;
Expand Down
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {}
html_theme_options = {
"source_repository": "https://github.com/streamlink/streamlink/",
"source_branch": "master",
"source_directory": "docs/",
}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
Expand Down