docs: fix header and sections in api/stream

This commit is contained in:
bastimeyer 2023-07-09 12:28:17 +02:00 committed by Ian Cameron
parent 14c8ca5c10
commit 0c73b1c883
2 changed files with 4 additions and 22 deletions

View File

@ -1,36 +1,18 @@
Streams
-------
Stream
------
.. module:: streamlink.stream
All streams inherit from the :class:`Stream` class.
Stream
^^^^^^
All streams inherit from the :class:`Stream` base class.
.. autoclass:: Stream
MuxedStream
^^^^^^^^^^^
.. autoclass:: MuxedStream
HTTPStream
^^^^^^^^^^
.. autoclass:: HTTPStream
HLSStream
^^^^^^^^^
.. autoclass:: HLSStream
MuxedHLSStream
^^^^^^^^^^^^^^
.. autoclass:: MuxedHLSStream
DASHStream
^^^^^^^^^^
.. autoclass:: DASHStream

View File

@ -58,7 +58,7 @@ Inspecting streams
------------------
It's also possible to inspect the stream's internal parameters. Go to
:ref:`Stream subclasses <api/stream:Streams>` to see which attributes are available
:ref:`Stream subclasses <api/stream:Stream>` to see which attributes are available
for inspection for each stream type.
For example, this is a :py:class:`HLSStream <streamlink.stream.HLSStream>` object which