Skip to content

Commit 31051cd

Browse files
committed
docs: fix many spelling mistakes all around.
Signed-off-by: Romain Bezut <morian@xdec.net>
1 parent e935f2d commit 31051cd

File tree

10 files changed

+20
-22
lines changed

10 files changed

+20
-22
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The format is based on `Keep a Changelog`_ and this project adheres to `Semantic
1313

1414
Added
1515
-----
16-
- Bring support for Python 3.14 released on october 7th, 2025.
16+
- Bring support for Python 3.14 released on October 7th, 2025.
1717

1818

1919
0.4.5 (2025-09-02)

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Code of Conduct
99
This project and everyone participating in it is governed by the `Code of Conduct`_.
1010
By participating in any way, you are expected to uphold this code.
1111

12-
.. _Code of conduct: https://github.com/morian/aiostem/blob/master/CODE_OF_CONDUCT.md
12+
.. _Code of Conduct: https://github.com/morian/aiostem/blob/master/CODE_OF_CONDUCT.md
1313

1414

1515
Contributions
@@ -43,7 +43,7 @@ If if fixes a non trivial issue with the code, an additional test-case would be
4343
4444
$ make test
4545
46-
I am especially interested in feedbacks on parsing errors from messages coming from Tor, which
46+
I am especially interested in feedback on parsing errors from messages coming from Tor, which
4747
may either not be tested beyond what was read on the tests, or on different versions of Tor.
4848

4949
Also, writing documentation is not my favorite cup of tea, all improvements are valuable!

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ What about Stem?
3333
``Stem`` was not meant to be used with asynchronous python and despite `an attempt`_
3434
to support this framework, it has `never really worked`_ well and was never merged.
3535
Additionally it does not use a true asynchronous connection but instead uses
36-
worker threads in order not to break existing codes.
36+
worker threads in order not to break existing code.
3737

3838
.. _an attempt: https://gitlab.torproject.org/legacy/trac/-/issues/22627
3939
.. _never really worked: https://github.com/torproject/stem/issues/77
@@ -48,7 +48,7 @@ legacy code, both for a large range of Python versions and support for old versi
4848
for ``Tor v0.4.5`` and later, as well as Python 3.10 and later.
4949

5050
Additionally, ``stem`` does not provide a low-level API around the control protocol, which
51-
means that there is time waster registering and unregistering events all around. ``aistem``
51+
means that there is time wasted registering and unregistering events all around. ``aiostem``
5252
focuses on a clean implementation of the low level protocol, providing far better performances
5353
when dealing with a higher number of events.
5454

@@ -144,15 +144,15 @@ For further details, please refer to the documentation_.
144144
Contributing
145145
------------
146146

147-
Contributions, bug reports and feedbacks are very welcome, feel free to open
147+
Contributions, bug reports and feedback are very welcome, feel free to open
148148
an issue_, send a `pull request`_. or `start a discussion`_.
149149

150-
Participants must uphold the `code of conduct`_.
150+
Participants must uphold the `Code of Conduct`_.
151151

152152
.. _issue: https://github.com/morian/aiostem/issues/new
153153
.. _pull request: https://github.com/morian/aiostem/compare/
154154
.. _start a discussion: https://github.com/morian/aiostem/discussions
155-
.. _code of conduct: https://github.com/morian/aiostem/blob/master/CODE_OF_CONDUCT.md
155+
.. _Code of Conduct: https://github.com/morian/aiostem/blob/master/CODE_OF_CONDUCT.md
156156

157157
``aiostem`` is released under the `MIT license`_.
158158

docs/about/protocol.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Protocol reference
22
==================
33

4-
Control port implementation was written based on multiple documentations.
4+
Control port implementation was written based on multiple documentation sources.
55

66
Of course the bible is the `Control Spec`_, published by the `Tor project`_.
77
The text version is a little bit easier to deal with compared to the `HTML version`_,
88
which was also used for this project.
99

1010
Due to many questions left after reading these documents, the `source code of Tor`_ was
1111
also taken into account. It allowed the removal of deprecated commands, replies or events
12-
when they were removed a long time ago, or sometime are described in the documentation but
12+
when they were removed a long time ago, or are sometimes described in the documentation but
1313
were never implemented.
1414

1515
This hopefully ensures a better match between our implementation and the real protocol in Tor.
@@ -19,4 +19,4 @@ This hopefully ensures a better match between our implementation and the real pr
1919
.. _source code of Tor: https://gitlab.torproject.org/tpo/core/tor
2020
.. _Tor project: https://www.torproject.org
2121

22-
For any error, please consider :ref:`contributing` though an issue or a pull request.
22+
For any error, please consider :ref:`contributing` through an issue or a pull request.

docs/reference/event.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Events
55

66
.. currentmodule:: aiostem.event
77

8-
This page describes all the possible events and their parser implementation, received though
8+
This page describes all the possible events and their parser implementation, received through
99
the callbacks registered by :meth:`.Controller.add_event_handler`. Note that all unknown events
10-
will received an :class:`EventUnknown`, containing the raw :class:`.Message` received.
10+
will receive an :class:`EventUnknown`, containing the raw :class:`.Message` received.
1111

1212

1313
Base classes

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ sphinx==8.2.3
33
sphinx_autodoc_typehints==3.5.2
44
sphinx_copybutton==0.5.2
55
sphinx_inline_tabs==2025.12.21.14
6-
sphinx-toolbox==4.1.1
6+
sphinx-toolbox==4.1.2
77
sphinxext_opengraph==0.13.0

docs/tutorial/authenticate.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The full list of known authentication methods is documented on :class:`.AuthMeth
4242
Note here that we use :meth:`~.BaseReply.raise_for_status` here to ensure that the
4343
command was successful before we go on with :attr:`.ReplyProtocolInfo.data`.
4444

45-
This code, when executed provide an output such as follow:
45+
This code, when executed provides an output such as follows:
4646

4747
.. code-block:: console
4848

docs/tutorial/commands.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ from Tor, and then provided back to the caller.
3030
:emphasize-lines: 18
3131
:linenos:
3232

33-
Now we can execute the provided code as follow:
33+
Now we can execute the provided code as follows:
3434

3535
.. code-block:: console
3636
@@ -65,7 +65,7 @@ you can also use :meth:`~.Controller.get_info` with the argument ``info/names``.
6565
:emphasize-lines: 18
6666
:linenos:
6767

68-
Now we can execute the provided code as follow:
68+
Now we can execute the provided code as follows:
6969

7070
.. code-block:: console
7171
@@ -92,7 +92,7 @@ Now we can execute the provided code as follow:
9292
-----END RSA PUBLIC KEY-----
9393
ntor-onion-key C33fH78uZcMwWu9TrOa4WjhQXdqD0ScmjsAxL1kBjVo
9494
id ed25519 qpL/LxLYVEXghU76iG3LsSI/UW7MBpIROZK0AB18560
95-
95+
9696
version=0.4.8.12
9797
9898
Note that all gathered values are provided as strings and are never interpreted.
@@ -188,4 +188,3 @@ to set the list of redirections for the new onion we are building:
188188
),
189189
]
190190
reply = await ctrl.add_onion(key, targets)
191-

docs/tutorial/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ Its intended use is as follow:
5151
5252
The callback method provided here can be either synchronous or asynchronous, but you need
5353
to take extra care here since the callback methods run directly from the stream reader task.
54-
If you need extract time, consider putting items in an :class:`asyncio.Queue` and handle
54+
If you need extra time, consider putting items in an :class:`asyncio.Queue` and handle
5555
events in a separate task.

docs/tutorial/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ From PyPi
2626

2727
``aiostem`` can be installed from PyPi::
2828

29-
ptyhon -m pip install aiostem
29+
python -m pip install aiostem
3030

3131
The wheel package is generic and should work on most platforms.
3232

@@ -51,4 +51,3 @@ Tutorial
5151
commands
5252
events
5353
monitor
54-

0 commit comments

Comments
 (0)