From ff73327af4a70ab7c9a1acbe1a5f42c81c43a1b8 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 17 Jul 2022 21:10:01 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - docs/contributing.rst - docs/how_it_works.rst - docs/settings.rst - src/localshop/apps/accounts/views.py Fixes: - Should read `uploading` rather than `uloading`. - Should read `prevented` rather than `preveneted`. - Should read `millionaire` rather than `millionaine`. - Should read `committing` rather than `commiting`. - Should read `ability` rather than `abilithy`. Signed-off-by: Tim Gates --- docs/contributing.rst | 4 ++-- docs/how_it_works.rst | 2 +- docs/settings.rst | 2 +- src/localshop/apps/accounts/views.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index a8cdabe2..de4605f3 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -2,7 +2,7 @@ Contributing ############ Want to contribute with Localshop? Great! We really appreciate your help. But -before digging into your new fluffy-next-millionaine-feature code keep in mind +before digging into your new fluffy-next-millionaire-feature code keep in mind that you **MUST** follow this guide to get your pull requests approved. @@ -131,7 +131,7 @@ Commit messages - |book| ``:book:`` when writing docs - |green_heart| ``:green_heart:`` when fixing the CI build - |white_check_mark| ``:white_check_mark:`` when adding tests - - |x| ``:x:`` when commiting code with failed tests + - |x| ``:x:`` when committing code with failed tests - |arrow_up| ``:arrow_up:`` when upgrading dependencies - |arrow_down| ``:arrow_down:`` when downgrading dependencies diff --git a/docs/how_it_works.rst b/docs/how_it_works.rst index 0ab4d126..00826b13 100644 --- a/docs/how_it_works.rst +++ b/docs/how_it_works.rst @@ -58,7 +58,7 @@ uploads and downloads you can easily create one of the random credentials localshop can create for you. Go to the Credentials section and click on create. Use the access key -as the username and the secret key as the password when uloading packages. +as the username and the secret key as the password when uploading packages. A ``~/.pypirc`` could look like this: .. code-block:: ini diff --git a/docs/settings.rst b/docs/settings.rst index c8c20999..c2f89bd8 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -57,7 +57,7 @@ proxy such as Nginx or Apache and you want to use IP-based permissions. :default: ``True`` -If set to ``False``, users will be preveneted from overwriting already existing +If set to ``False``, users will be prevented from overwriting already existing release files. Can be used to encourage developers to bump versions rather than overwriting. This is PyPI's behaviour. diff --git a/src/localshop/apps/accounts/views.py b/src/localshop/apps/accounts/views.py index 334c6f65..4bff36b0 100644 --- a/src/localshop/apps/accounts/views.py +++ b/src/localshop/apps/accounts/views.py @@ -188,7 +188,7 @@ def login(request, template_name='registration/login.html', current_app=None, extra_context=None): """Displays the login form and handles the login action. - Copy from Django source code, added abilithy to set remember_me + Copy from Django source code, added ability to set remember_me """ redirect_to = request.POST.get(redirect_field_name,