_static/override.css
: This is the main CSS file that overrides the default styles of the Furo Sphinx theme. It customizes the appearance of code blocks, citations, headings, buttons, and other elements specific to Streamlink’s documentation.
_static/sphinx_gallery.css
: This CSS file focuses on styling Sphinx Gallery thumbnails, improving their visual presentation within the documentation.
_templates/layout.html
: This custom template inherits from the PyData Sphinx theme and overrides the fonts block to specify custom font families for the body and header elements.
conf.py
: This is the main configuration file for Sphinx. It sets various options for the documentation generation process, including theme settings, extensions, and autodoc options.
extensions/typed_returns.py
: This custom Sphinx extension enhances the parsing of the “Returns” section in NumPy-style docstrings, formatting return values with hyperlinks to their types.
override.css
customizes.sphinx_gallery.css
.conf.py
file contains various configuration options for Sphinx, including:
override.css
and sphinx_gallery.css
) contain numerous style rules that target specific elements of the documentation. These rules customize the appearance of various components, such as code blocks, citations, buttons, and Sphinx Gallery thumbnails.
The custom extension in typed_returns.py
modifies the behavior of the NumpyDocstring
class to enhance the formatting of the “Returns” section in docstrings. It adds hyperlinks to the types of return values using the :class:
role.
Overall, this directory provides a comprehensive set of tools and configurations to create a polished, user-friendly documentation experience for the Streamlink project.