Skip to content

Commit 05e2852

Browse files
authored
codespell the docs directory (#11664)
1 parent 24cc300 commit 05e2852

19 files changed

+36
-36
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line.
55

66
# Options should be aligned with how the documentation is built on RTD
7-
# (except for '--keep-going', failing fast is prefered on local builds)
7+
# (except for '--keep-going', failing fast is preferred on local builds)
88
# We also remove '-E' to reduce the time of rebuilding reference indexes
99
# on each build.
1010
SPHINXOPTS = -T -j auto -W

docs/dev/design/better-doc-urls-handling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Instead of trying to map a URL to a view,
4242
we first analyze the root project (given from the subdomain),
4343
and based on that we map each part of the URL to the *current* project and version.
4444

45-
This will allow us to re-use this code in our unresolver
45+
This will allow us to reuse this code in our unresolver
4646
without the need to override the Django's urlconf at runtime,
4747
or guessing a project only by the structure of its URL.
4848

@@ -61,7 +61,7 @@ Look up process
6161
---------------
6262

6363
Proxito will process all documentation requests from a single *docs serve* view,
64-
exluding ``/_`` URLs.
64+
excluding ``/_`` URLs.
6565

6666
This view then will process the current URL using the root project as follows:
6767

docs/dev/design/build-images.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ and we can roll back if the new pre-compiled version was built with a problem.
265265

266266
Installing always the latest version is harder to maintain.
267267
It will require building the newest version each time a new patch version is released.
268-
Beacause of that, Read the Docs will always be behind official releases.
268+
Because of that, Read the Docs will always be behind official releases.
269269
Besides, it will give projects different versions more often.
270270

271271
Exposing to the user the patch version would require to cache many different versions ourselves,
@@ -287,7 +287,7 @@ How do we remove an old Python version?
287287
At some point, an old version of Python will be deprecated (eg. 3.4) and will be removed.
288288
To achieve this, we can just remove the pre-compiled Python version from the cache.
289289

290-
However, unless it's strictly neeed for some specific reason, we shouldn't require to remove support for a Python version
290+
However, unless it's strictly needed for some specific reason, we shouldn't require to remove support for a Python version
291291
as long as we support the Ubuntu OS version where this version was compiled for.
292292

293293
In any case, we will know which projects are using these versions because they are pinning these specific versions in the config file.
@@ -424,10 +424,10 @@ that doesn't seem to be useful to have the same OS version with different states
424424
Allowing users to install extra languages by using the Config File will cover most of the support requests we have had in the past.
425425
It also will allow us to know more about how our users are using the platform to make future decisions based on this data.
426426
Exposing users how we want them to use our platform will allow us to be able to maintain it longer,
427-
than giving the option to select a specific Docker image by name that we can't guarrantee it will be frozen.
427+
than giving the option to select a specific Docker image by name that we can't guarantee it will be frozen.
428428

429429
Finally, having the ability to deprecate and *remove* pre-built images from our builders over time,
430-
will reduce the maintainance work required from the the core team.
430+
will reduce the maintenance work required from the the core team.
431431
We can always support all the languages versions by installing them at build time.
432432
The only required pre-built image for this are the OS ``-base`` images.
433433
In fact, even after decided to deprecate and removed a pre-built image from the builders,

docs/dev/design/file-tree-diff.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ For the initial implementation, we will:
311311
not the whole file.
312312
- MD5 will be the hashing algorithm used.
313313
- Only expose the files that were added, removed, or modified (HTML files only).
314-
The number of lines that changed wont be exposed.
314+
The number of lines that changed won't be exposed.
315315
- Don't store the results in the DB,
316316
we can store the results in a next iteration.
317317
- Expose this feature only via the addons feature.
@@ -320,7 +320,7 @@ For the initial implementation, we will:
320320

321321
Other features that are not mentioned here, like exposing the number of lines that changed,
322322
or a public API, will not be implemented in the initial version,
323-
and may be considered in the future (and thier implementation is subject to change).
323+
and may be considered in the future (and their implementation is subject to change).
324324

325325
Possible issues
326326
---------------
@@ -350,7 +350,7 @@ Future improvements and ideas
350350
we would need to re-fetch that metadata from S3.
351351
Could be a feature request for rclone.
352352
- Detect changes in sections of HTML files.
353-
We could re-use the code we have for search indexing.
353+
We could reuse the code we have for search indexing.
354354
- Expand to other file types
355355
- Allow doing a diff between versions of different projects
356356
- Allow to configure how the main content of the file is detected

docs/dev/design/new-notifications-system.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Goals
3434
* Ability to add non-error notifications from the build process
3535
* Add extra metadata associated to the notification: icon, header, body, etc
3636
* Support different types of notifications (e.g. error, warning, note, tip)
37-
* Re-use the new notification system for product updates (e.g. new features, deprecated config keys)
37+
* Reuse the new notification system for product updates (e.g. new features, deprecated config keys)
3838
* Message content lives on Python classes that can be translated and formatted with objects (e.g. Build, Project)
3939
* Message could have richer content (e.g. HTML code) to generate links and emphasis
4040
* Notifications have trackable state (e.g. unread (default)=never shown, read=shown, dismissed=don't show again, cancelled=auto-removed after user action)
@@ -43,7 +43,7 @@ Goals
4343
* Notifications can be attached to Project, Organization, Build and User models
4444
* Specific notifications can be shown under the user's bell icon
4545
* Easy way to cleanup notification on status changes (e.g. subscription failure notification is auto-deleted after CC updated)
46-
* Notifications attached to Organization/Project dissappear for all the users once they are dismissed by anyone
46+
* Notifications attached to Organization/Project disappear for all the users once they are dismissed by anyone
4747

4848

4949
Non-goals
@@ -88,7 +88,7 @@ This section shows all the classes and models involved for the notification syst
8888
.. note:: Accessing the database from the build process
8989

9090
Builders doesn't have access to the database due to security reasons.
91-
We had solved this limitation by creating an API endpoint the builder hits once they need to interact with the databse to get a ``Project``, ``Version`` and ``Build`` resources, create a ``BuildCommand`` resource, etc.
91+
We had solved this limitation by creating an API endpoint the builder hits once they need to interact with the database to get a ``Project``, ``Version`` and ``Build`` resources, create a ``BuildCommand`` resource, etc.
9292

9393
Besides, the build process is capable to trigger Celery tasks that are useful for managing more complex logic
9494
that also require accessing from and writing to the database.
@@ -116,7 +116,7 @@ and some helper logic to return in the API response.
116116
body = str
117117
icon = str
118118
icon_style = str(SOLID, DUOTONE)
119-
type = str(ERROR, WARINIG, NOTE, TIP)
119+
type = str(ERROR, WARNING, NOTE, TIP)
120120
121121
def get_display_icon(self):
122122
if self.icon:
@@ -201,7 +201,7 @@ It contains an identifier (``message_id``) pointing to one of the messages defin
201201
message_id = models.CharField(max_length=128)
202202
203203
# UNREAD: the notification was not shown to the user
204-
# READ: the notifiation was shown
204+
# READ: the notification was shown
205205
# DISMISSED: the notification was shown and the user dismissed it
206206
# CANCELLED: removed automatically because the user has done the action required (e.g. paid the subscription)
207207
state = models.CharField(
@@ -210,7 +210,7 @@ It contains an identifier (``message_id``) pointing to one of the messages defin
210210
db_index=True,
211211
)
212212
213-
# Makes the notification imposible to dismiss (useful for Build notifications)
213+
# Makes the notification impossible to dismiss (useful for Build notifications)
214214
dismissable = models.BooleanField(default=False)
215215
216216
# Show the notification under the bell icon for the user

docs/dev/design/new-search-api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ like the projects, versions, and the query that were used in the final search.
139139
And the ``version``, ``project``, and ``project_alias`` attributes will
140140
now be objects.
141141

142-
We could just re-use the old response too,
142+
We could just reuse the old response too,
143143
since the only breaking changes would be the attributes now being objects,
144144
and we aren't adding any new information to those objects (yet).
145145
But also, re-using the current serializers shouldn't be a problem either.
@@ -230,7 +230,7 @@ the readthedocs.org/readthedocs.com domains.
230230
We have two types:
231231

232232
Project scoped search:
233-
Search files and versions of the curent project only.
233+
Search files and versions of the current project only.
234234

235235
Global search:
236236
Search files and versions of all projects in .org,

docs/dev/design/pr-builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ We might consider adding a ``VERSION_TYPES`` to the ``Version`` model.
4343
- If we go with ``VERSION_TYPES`` we can add something like ``pull_request`` alongside Tag and Branch.
4444

4545
We should add ``Version`` and ``Build`` Model Managers for PR and Regular Versions and Builds.
46-
The proposed names for PR and Regular Version and Build Mangers are ``external`` and ``internal``.
46+
The proposed names for PR and Regular Version and Build Managers are ``external`` and ``internal``.
4747

4848
We can then use ``Version.internal.all()`` to get all regular versions,
4949
``Version.external.all()`` to get all PR versions.

docs/dev/design/redirects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ We can do this in three ways:
386386
We could limit the number of redirects that can be created with query arguments,
387387
or the number of redirects in general.
388388

389-
We hava had only one user requesting this feature,
389+
We have had only one user requesting this feature,
390390
so this is not a priority.
391391

392392
Migration

docs/dev/design/secure-api-access-from-builders.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Why attach tokens to users?
9898
---------------------------
9999

100100
Attaching tokens to users will ease the implementation,
101-
since we can re-use the code from knox package.
101+
since we can reuse the code from knox package.
102102

103103
Attaching tokens to projects only is possible,
104104
but it will require to manage the authentication manually.
@@ -108,7 +108,7 @@ An alternative is to use the DRF API key package, which doesn't require a user,
108108
but then if we wanted to extend this functionality to our normal APIs, we will have
109109
to implement the authentication manually.
110110

111-
Kepping backwards compatibility
111+
Keeping backwards compatibility
112112
-------------------------------
113113

114114
Access to write API V2 is restricted to superusers,
@@ -161,7 +161,7 @@ since it also handles authentication).
161161
Decision
162162
--------
163163

164-
Due to the fact that the required featues from knox are not released yet,
164+
Due to the fact that the required features from knox are not released yet,
165165
we have decided to use DRF API key instead.
166166

167167
Future work

docs/dev/search-integration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ will be indexed as part of the section content:
190190
<h1 id="3">This is also a valid section title</h1>
191191
</header>
192192
<p>
193-
Thi is the content of the third section.
193+
This is the content of the third section.
194194
</p>
195195
</div>
196196

docs/dev/subscriptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ and it's manually created by the RTD core team.
7474
To create a custom plan, you need to create a new product in Stripe,
7575
and add the product id to the ``RTD_PRODUCTS`` setting mapped to the features that the plan will provide.
7676
After that, you can create a subscription for the organization with the custom product,
77-
our appliction will automatically relate this new product to the organization.
77+
our application will automatically relate this new product to the organization.
7878

7979
Extra products
8080
--------------
@@ -87,4 +87,4 @@ extra product will provide, this product should have the ``extra`` attribute set
8787

8888
To subscribe an organization to an extra product,
8989
you just need to add the product to its subscription with the desired quantity,
90-
our appliction will automatically relate this new product to the organization.
90+
our application will automatically relate this new product to the organization.

docs/user/api/v3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ Remote repository listing
19581958
The ``results`` in response is an array of remote repositories data.
19591959

19601960
:query string name: return remote repositories containing the name
1961-
:query string full_name: return remote repositories containing the full name (it inclues the username/organization the project belongs to)
1961+
:query string full_name: return remote repositories containing the full name (it includes the username/organization the project belongs to)
19621962
:query string vcs_provider: return remote repositories for specific vcs provider (``github``, ``gitlab`` or ``bitbucket``)
19631963
:query string organization: return remote repositories for specific remote organization (using remote organization ``slug``)
19641964
:query string expand: Add additional fields in the response.

docs/user/builds.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Read the Docs supports three different mechanisms to cancel a running build:
9191
When Read the Docs detects a push to a version that is already building,
9292
it cancels the running build and starts a new build using the latest commit.
9393

94-
:Programatically:
94+
:Programmatically:
9595

9696
You can use user-defined commands on ``build.jobs`` or ``build.commands`` (see :doc:`build-customization`)
9797
to check for your own cancellation condition and then return exit code ``183`` to cancel a build.

docs/user/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ According to `its own documentation <https://jupyterbook.org/>`_,
325325

326326
Even though `Jupyter Book leverages Sphinx "for almost everything that it
327327
does" <https://jupyterbook.org/explain/sphinx.html#jupyter-book-is-a-distribution-of-sphinx>`_,
328-
it purposedly hides Sphinx ``conf.py`` files from the user,
328+
it purposely hides Sphinx ``conf.py`` files from the user,
329329
and instead generates them on the fly from its declarative ``_config.yml``.
330330
As a result, you need to follow some extra steps
331331
to make Jupyter Book work on Read the Docs.

docs/user/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ so that you have a reference for how we're using them.
9595
Another name for :term:`project home`.
9696

9797
reproducible
98-
A documentation project is said to be *reproducible* when its sources build correctly on Read the Docs over a periode of many years.
98+
A documentation project is said to be *reproducible* when its sources build correctly on Read the Docs over a period of many years.
9999
You can also think of being *reproducible* as being *robust* or *resillient*.
100100

101101
Being "reproducible" is an important positive quality goal of documentation.

docs/user/intro/add-project.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Automatically add your project
1313

1414
#. Go to your :term:`dashboard`.
1515
#. Click on :guilabel:`Add project`.
16-
#. Type the name of the respository you want to add and click on it.
16+
#. Type the name of the repository you want to add and click on it.
1717
#. Click on :guilabel:`Continue`.
1818
#. Edit any of the pre-filled fields with information of the repository.
1919
#. Click on :guilabel:`Next`.

docs/user/science.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Here are some popular activities that are well-supported by Jupyter Book:
130130
Ready to get started?
131131
"""""""""""""""""""""
132132

133-
.. Note that this is a deliberate repitition of a previous segment. Should it repeat? Maybe not, but for now it's nice to be sure that people see it.
133+
.. Note that this is a deliberate repetition of a previous segment. Should it repeat? Maybe not, but for now it's nice to be sure that people see it.
134134
135135
* All new to this? Take the official :external+jupyterbook:doc:`Jupyter Book Tutorial » <start/your-first-book>`
136136
* Curious for practical code? See the list of :doc:`example projects » </examples>`

docs/user/server-side-search/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ with the following changes:
153153

154154
When searching on a parent project,
155155
results from their subprojects won't be included automatically,
156-
to include results from subprojects use the ``subprojects`` paramater.
156+
to include results from subprojects use the ``subprojects`` parameter.
157157

158158
Authentication and authorization
159159
--------------------------------

docs/user/tutorial/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To import your GitHub project to Read the Docs:
119119
Default branch
120120
Name of the default branch of the project, leave it as ``main``.
121121

122-
Then click the :guilabel:`Next` button to create the poject and open the :term:`project home`.
122+
Then click the :guilabel:`Next` button to create the project and open the :term:`project home`.
123123

124124
You just created your first project on Read the Docs! |:tada:|
125125

@@ -167,7 +167,7 @@ To see the build logs:
167167

168168
If you don't see the ad, you might be using an ad blocker.
169169
Our EthicalAds network respects your privacy, doesn't target you,
170-
and tries to be as unobstrusive as possible,
170+
and tries to be as unobtrusive as possible,
171171
so we would like to kindly ask you to :doc:`not block us </advertising/ad-blocking>` |:heart:|
172172

173173
Configuring the project
@@ -242,7 +242,7 @@ Build process configuration settings are in ``.readthedocs.yaml`` :doc:`configur
242242
.. TODO: We are adding a how-to that we need to include in this tutorial.
243243
.. Maybe by reference or maybe as full-featured content.
244244
245-
.. TODO there is a bit of handwaving about whether you're commiting and merging branches here, we might need to be a bit more explicit. Or at least add a mention at this level that wherever we talk about editing, we mean on main and pushing to GH.
245+
.. TODO there is a bit of handwaving about whether you're committing and merging branches here, we might need to be a bit more explicit. Or at least add a mention at this level that wherever we talk about editing, we mean on main and pushing to GH.
246246
247247
Using different Python versions
248248
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)