From 74467d8c2aacb7850f1efe6fafb264ba9d34f23b Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Fri, 14 Aug 2026 12:33:49 -0500 Subject: [PATCH] Expand codespell coverage --- .github/labeler.yml | 2 +- _static/js/custom.js | 8 ++++---- .../development/compiling/compiling_for_windows.rst | 4 ++++ pyproject.toml | 7 +------ tutorials/editor/external_editor.rst | 4 ++++ tutorials/migrating/upgrading_to_godot_4.3.rst | 4 ++-- tutorials/migrating/upgrading_to_godot_4.rst | 3 +++ 7 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3a5104a57..19ac89e91 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -43,7 +43,7 @@ platform:android: - tutorials/editor/using_the_android_editor.rst - tutorials/export/android_gradle_build.rst - tutorials/export/exporting_for_android.rst - - tutorials/platofrm/android/** + - tutorials/platform/android/** platform:ios: - changed-files: diff --git a/_static/js/custom.js b/_static/js/custom.js index c18122d9b..10fb232b6 100644 --- a/_static/js/custom.js +++ b/_static/js/custom.js @@ -457,10 +457,10 @@ $(document).ready(() => { } // Hide other sections. - menuHeaders.forEach(ot => { - if (ot !== it && ot.classList.contains('active')) { - ot.nextElementSibling.classList.remove('active'); - ot.classList.remove('active'); + menuHeaders.forEach(other => { + if (other !== it && other.classList.contains('active')) { + other.nextElementSibling.classList.remove('active'); + other.classList.remove('active'); } }); diff --git a/engine_details/development/compiling/compiling_for_windows.rst b/engine_details/development/compiling/compiling_for_windows.rst index f51df5a84..9f15cdc1a 100644 --- a/engine_details/development/compiling/compiling_for_windows.rst +++ b/engine_details/development/compiling/compiling_for_windows.rst @@ -89,12 +89,16 @@ To install SCons, open the command prompt and run the following command: python -m pip install scons +.. codespell:ignore-begin writeable + If you are prompted with the message ``Defaulting to user installation because normal site-packages is not writeable``, you may have to run that command again using elevated permissions. Open a new command prompt as an Administrator then run the command again to ensure that SCons is available from the ``PATH``. +.. codespell:ignore-end + To check whether you have installed Python and SCons correctly, you can type ``python --version`` and ``scons --version`` into a command prompt (``cmd.exe``). diff --git a/pyproject.toml b/pyproject.toml index a5241c89d..67afbd9fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,26 +9,21 @@ quiet-level = 3 dictionary = ["_tools/codespell-dict.txt", "-"] builtin = ["clear", "rare", "en-GB_to_en-US"] skip = [ - "_build/*", - "_static/*", + "_static/css/*", "_styleguides/*", "classes/*", - ".github/*", "tutorials/i18n/locales.rst", "AUTHORS.md", "LICENSE.txt", ] ignore-words-list = [ "dialogue", # Common even in US spelling. - "doubleclick", "findn", # Our case-insensitive `find` function. - "implementors", "inout", # Shader attribute. "lod", # "Level of Detail". "marshalled", # Common spelling in IT. "marshalling", # Common spelling in IT. "thirdparty", # Prefer as one word. "uint", # "Unsigned integer". - "writeable", # Part of a Python error message. ] ignore-multiline-regex = "codespell:ignore-begin.*?codespell:ignore-end" diff --git a/tutorials/editor/external_editor.rst b/tutorials/editor/external_editor.rst index 02ac3f146..b82719e31 100644 --- a/tutorials/editor/external_editor.rst +++ b/tutorials/editor/external_editor.rst @@ -99,8 +99,12 @@ We have official plugins for the following code editors: LSP/DAP support --------------- +.. codespell:ignore-begin implementors + Godot supports the `Language Server Protocol `_ (**LSP**) for code completion and the `Debug Adapter Protocol `_ (**DAP**) for debugging. You can check the `LSP client list `_ and `DAP client list `_ to find if your editor supports them. If this is the case, you should be able to take advantage of these features without the need of a custom plugin. +.. codespell:ignore-end + To use these protocols, a Godot instance must be running on your current project. You should then configure your editor to communicate to the running adapter ports in Godot, which by default are ``6005`` for **LSP**, and ``6006`` for **DAP**. You can change these ports and other settings in the **Editor Settings**, under the **Network > Language Server** and **Network > Debug Adapter** sections respectively. Below are some configuration steps for specific editors: diff --git a/tutorials/migrating/upgrading_to_godot_4.3.rst b/tutorials/migrating/upgrading_to_godot_4.3.rst index a64a43a95..b48ed563f 100644 --- a/tutorials/migrating/upgrading_to_godot_4.3.rst +++ b/tutorials/migrating/upgrading_to_godot_4.3.rst @@ -269,8 +269,8 @@ Animation .. note:: ``AnimationNode`` has a reworked process for retrieving the semantic time info. This ensures that time-related - behavior works as expected, but changes the blending behavior. Implementors of the ``_process`` virtual method - should also note that this method is now deprecated and will be replaced by a new one in the future (`GH-87171`_). + behavior works as expected, but changes the blending behavior. It's also worth noting that the ``_process`` virtual method + is now deprecated and will be replaced by a new one in the future (`GH-87171`_). More information about the changes to Animation can be found in the `Migrating Animations from Godot 4.0 to 4.3 `__ diff --git a/tutorials/migrating/upgrading_to_godot_4.rst b/tutorials/migrating/upgrading_to_godot_4.rst index 2060b0a1a..d2fa33ead 100644 --- a/tutorials/migrating/upgrading_to_godot_4.rst +++ b/tutorials/migrating/upgrading_to_godot_4.rst @@ -469,6 +469,8 @@ table to find its new name. and PathFollow3D's ``set_offset()`` and ``get_offset()`` must be renamed to ``set_progress()`` and ``get_progress()`` respectively. +.. codespell:ignore-begin doubleclick + - AudioServer's ``device`` is now ``output_device``. - BaseButton's ``group`` is now ``button_group``. - Camera3D's ``zfar`` is now ``far``. @@ -500,6 +502,7 @@ table to find its new name. ``Engine.is_editor_hint()`` *method*. This is because it's read-only, and properties in Godot are not used for read-only values. +.. codespell:ignore-end **Enums**