diff --git a/docs/guides/searching-with-readthedocs.rst b/docs/guides/searching-with-readthedocs.rst index bfd47d4fbaf..f2b1fd8e091 100644 --- a/docs/guides/searching-with-readthedocs.rst +++ b/docs/guides/searching-with-readthedocs.rst @@ -80,7 +80,7 @@ Example queries: - https://docs.readthedocs.io/?rtd_search=reedthedcs~2 - https://docs.readthedocs.io/?rtd_search=authentation~3 -- https://docs.readthedocs.io/?rtd_search=configuration~1 +- https://docs.readthedocs.io/?rtd_search=configurtion~1 Build complex queries diff --git a/docs/webhooks.rst b/docs/webhooks.rst index 8711b5657f3..c05a0acf39c 100644 --- a/docs/webhooks.rst +++ b/docs/webhooks.rst @@ -101,7 +101,7 @@ These instructions apply to any Gitea instance. .. warning:: This isn't officially supported, but using the "GitHub webhook" is an effective workaround, - because Gitea uses the same payload as GitHub. The generic webhook is not compatibile with Gitea. + because Gitea uses the same payload as GitHub. The generic webhook is not compatible with Gitea. See `issue #8364`_ for more details. Official support may be implemented in the future. On Read the Docs: diff --git a/readthedocs/builds/managers.py b/readthedocs/builds/managers.py index 32f2fc92ee3..603b58c19f9 100644 --- a/readthedocs/builds/managers.py +++ b/readthedocs/builds/managers.py @@ -184,7 +184,7 @@ class ExternalBuildManager(SettingsOverrideObject): class VersionAutomationRuleManager(PolymorphicManager): """ - Mananger for VersionAutomationRule. + Manager for VersionAutomationRule. .. note:: diff --git a/readthedocs/builds/models.py b/readthedocs/builds/models.py index bf6b2175e2f..f62b9ef1a39 100644 --- a/readthedocs/builds/models.py +++ b/readthedocs/builds/models.py @@ -929,7 +929,7 @@ def reset(self): """ Reset the build so it can be re-used when re-trying. - Dates and states are usually overriden by the build, + Dates and states are usually overridden by the build, we care more about deleting the commands. """ self.state = BUILD_STATE_TRIGGERED @@ -1187,7 +1187,7 @@ def move(self, steps): ) expression = F('priority') + 1 - # Put an imposible priority to avoid + # Put an impossible priority to avoid # the unique constraint (project, priority) # while updating. self.priority = total + 99 @@ -1270,7 +1270,7 @@ def match(self, version, match_arg): arg to avoid ReDoS. We could use a finite state machine type of regex too, - but there isn't a stable library at the time of writting this code. + but there isn't a stable library at the time of writing this code. """ try: match = regex.search( diff --git a/readthedocs/doc_builder/config.py b/readthedocs/doc_builder/config.py index 02e7818578d..34b29c589c4 100644 --- a/readthedocs/doc_builder/config.py +++ b/readthedocs/doc_builder/config.py @@ -58,7 +58,7 @@ def load_yaml_config(version): env_config=env_config, ) except ConfigFileNotFound: - # Dafault to use v1 with some defaults from the web interface + # Default to use v1 with some defaults from the web interface # if we don't find a configuration file. config = BuildConfigV1( env_config=env_config, diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index 5a84f524f9a..97fe0355dc8 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -462,7 +462,7 @@ def list_packages_installed(self): '-m', 'pip', 'list', - # Inlude pre-release versions. + # Include pre-release versions. '--pre', ] self.build_env.run( diff --git a/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl b/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl index dc3c8e11e9b..4a8afc1f07f 100644 --- a/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl +++ b/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl @@ -12,7 +12,7 @@ # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # -# Note: this file should't rely on extra depencies. +# Note: this file shouldn't rely on extra dependencies. import importlib import sys diff --git a/readthedocs/rtd_tests/fixtures/spec/v2/schema.yml b/readthedocs/rtd_tests/fixtures/spec/v2/schema.yml index 70907d34e14..b669299dfd7 100644 --- a/readthedocs/rtd_tests/fixtures/spec/v2/schema.yml +++ b/readthedocs/rtd_tests/fixtures/spec/v2/schema.yml @@ -117,7 +117,7 @@ mkdocs: # Default: rtd will try to find it configuration: path(required=False) - # Add the --strict optio to mkdocs build + # Add the --strict option to mkdocs build # Default: false fail_on_warning: bool(required=False) diff --git a/readthedocs/rtd_tests/tests/projects/test_version_sorting.py b/readthedocs/rtd_tests/tests/projects/test_version_sorting.py index 4bd29fe743b..7a8385ecfc6 100644 --- a/readthedocs/rtd_tests/tests/projects/test_version_sorting.py +++ b/readthedocs/rtd_tests/tests/projects/test_version_sorting.py @@ -96,7 +96,7 @@ def test_sort_git_master(self): def test_sort_git_master_and_latest(self): """ - The branch named master should havea a higher priority + The branch named master should have a higher priority than latest, ideally users should only have one of the two activated. """ identifiers = ['latest', 'master', '1.0', '2.0', '1.1', '1.9', '1.10'] diff --git a/readthedocs/rtd_tests/tests/test_api.py b/readthedocs/rtd_tests/tests/test_api.py index 6afcd519378..eeebe188871 100644 --- a/readthedocs/rtd_tests/tests/test_api.py +++ b/readthedocs/rtd_tests/tests/test_api.py @@ -1443,7 +1443,7 @@ def test_github_skip_signature_validation(self, trigger_build): self.assertEqual(resp.status_code, 200) def test_github_sync_on_push_event(self, trigger_build): - """Sync if the webhook doesn't have the create/delete events, but we recieve a push event with created/deleted.""" + """Sync if the webhook doesn't have the create/delete events, but we receive a push event with created/deleted.""" integration = Integration.objects.create( project=self.project, integration_type=Integration.GITHUB_WEBHOOK, diff --git a/readthedocs/rtd_tests/tests/test_notifications.py b/readthedocs/rtd_tests/tests/test_notifications.py index 943f3262924..1b89e3ce84c 100644 --- a/readthedocs/rtd_tests/tests/test_notifications.py +++ b/readthedocs/rtd_tests/tests/test_notifications.py @@ -163,7 +163,7 @@ class TestNotification(Notification): self.assertEqual(PersistentMessage.objects.count(), 0) # We should never be adding persistent messages for anonymous users. - # Make sure message_extends sitll throws an exception here + # Make sure message_extends still throws an exception here with self.assertRaises(NotImplementedError): backend.send(notify) diff --git a/readthedocs/rtd_tests/tests/test_sync_versions.py b/readthedocs/rtd_tests/tests/test_sync_versions.py index d6877151ee1..5c56935953d 100644 --- a/readthedocs/rtd_tests/tests/test_sync_versions.py +++ b/readthedocs/rtd_tests/tests/test_sync_versions.py @@ -1254,7 +1254,7 @@ def test_user_defined_stable_version_tag_with_tags(self): self.pip.get_stable_version().identifier, ) - # There arent others stable slugs like stable_a + # There aren't others stable slugs like stable_a other_stable = self.pip.versions.filter( slug__startswith='stable_', ) @@ -1338,7 +1338,7 @@ def test_user_defined_stable_version_branch_with_tags(self): 'origin/stable', self.pip.get_stable_version().identifier, ) - # There arent others stable slugs like stable_a + # There aren't others stable slugs like stable_a other_stable = self.pip.versions.filter( slug__startswith='stable_', ) @@ -1431,7 +1431,7 @@ def test_user_defined_latest_version_tag(self): version_latest.identifier, ) - # There arent others latest slugs like latest_a + # There aren't others latest slugs like latest_a other_latest = self.pip.versions.filter( slug__startswith='latest_', ) @@ -1484,7 +1484,7 @@ def test_user_defined_latest_version_branch(self): version_latest.identifier, ) - # There arent others latest slugs like latest_a + # There aren't others latest slugs like latest_a other_latest = self.pip.versions.filter( slug__startswith='latest_', )