Skip to content

Commit 4a2cfd5

Browse files
committed
Assorted fixes to the docs.
1 parent 476aaac commit 4a2cfd5

File tree

11 files changed

+23
-21
lines changed

11 files changed

+23
-21
lines changed

docs/intro/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Tutorial
3535
Learn how to build an real-time web application with websockets.
3636

3737
.. toctree::
38+
:maxdepth: 1
3839

3940
tutorial1
4041
tutorial2

docs/reference/asyncio/client.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Client (new :mod:`asyncio`)
2-
===========================
1+
Client (:mod:`asyncio`)
2+
=======================
33

44
.. automodule:: websockets.asyncio.client
55

docs/reference/asyncio/common.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:orphan:
22

3-
Both sides (new :mod:`asyncio`)
4-
===============================
3+
Both sides (:mod:`asyncio`)
4+
===========================
55

66
.. automodule:: websockets.asyncio.connection
77

docs/reference/asyncio/server.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Server (new :mod:`asyncio`)
2-
===========================
1+
Server (:mod:`asyncio`)
2+
=======================
33

44
.. automodule:: websockets.asyncio.server
55

docs/reference/features.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Both sides
6868
| Measure latency |||||
6969
+------------------------------------+--------+--------+--------+--------+
7070
| Perform the closing handshake |||||
71+
+------------------------------------+--------+--------+--------+--------+
7172
| Enforce closing timeout |||||
7273
+------------------------------------+--------+--------+--------+--------+
7374
| Report close codes and reasons |||||
@@ -177,7 +178,7 @@ There is no way to control compression of outgoing frames on a per-frame basis
177178
.. _#538: https://github.com/python-websockets/websockets/issues/538
178179

179180
The server doesn't check the Host header and doesn't respond with HTTP 400 Bad
180-
Request if it is missing or invalid (`#1246`).
181+
Request if it is missing or invalid (`#1246`_).
181182

182183
.. _#1246: https://github.com/python-websockets/websockets/issues/1246
183184

docs/reference/index.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ application servers.
5151
sansio/server
5252
sansio/client
5353

54-
:mod:`asyncio` (legacy)
55-
-----------------------
56-
57-
This is the historical implementation.
54+
Legacy
55+
------
5856

59-
It is deprecated and will be removed.
57+
This is the historical implementation. It is deprecated. It will be removed by
58+
2030.
6059

6160
.. toctree::
6261
:titlesonly:
@@ -67,7 +66,7 @@ It is deprecated and will be removed.
6766
Extensions
6867
----------
6968

70-
The Per-Message Deflate extension is built in. You may also define custom
69+
The Per-Message Deflate extension is built-in. You may also define custom
7170
extensions.
7271

7372
.. toctree::

docs/reference/legacy/client.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Client (legacy :mod:`asyncio`)
2-
==============================
1+
Client (legacy)
2+
===============
33

44
.. admonition:: The legacy :mod:`asyncio` implementation is deprecated.
55
:class: caution

docs/reference/legacy/common.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:orphan:
22

3-
Both sides (legacy :mod:`asyncio`)
4-
==================================
3+
Both sides (legacy)
4+
===================
55

66
.. admonition:: The legacy :mod:`asyncio` implementation is deprecated.
77
:class: caution

docs/reference/legacy/server.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Server (legacy :mod:`asyncio`)
2-
==============================
1+
Server (legacy)
2+
===============
33

44
.. admonition:: The legacy :mod:`asyncio` implementation is deprecated.
55
:class: caution

docs/spelling_wordlist.txt

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ healthz
3333
html
3434
hypercorn
3535
iframe
36+
io
3637
IPv
3738
istio
3839
iterable

docs/topics/design.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:orphan:
22

3-
Design (legacy :mod:`asyncio`)
4-
==============================
3+
Design (legacy)
4+
===============
55

66
.. currentmodule:: websockets.legacy
77

0 commit comments

Comments
 (0)