From d837593d9a7d48c0719fd7d4c61e61fadac122bf Mon Sep 17 00:00:00 2001 From: tetrapod00 <145553014+tetrapod00@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:56:31 -0800 Subject: [PATCH] Add custom codespell dictionary --- .github/workflows/ci.yml | 3 ++- _tools/codespell-dict.txt | 1 + about/list_of_features.rst | 2 +- tutorials/2d/custom_drawing_in_2d.rst | 2 +- tutorials/troubleshooting.rst | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 _tools/codespell-dict.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82cb9f5dc3c..8126cac375d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,8 @@ jobs: - name: Linter checks run: | bash _tools/format.sh - codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,contributing,getting_started,tutorials}/{*.rst,**/*.rst,**/**/*.rst,**/**/**/*.rst} + + codespell -D- -D _tools/codespell-dict.txt -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,contributing,getting_started,tutorials}/{*.rst,**/*.rst,**/**/*.rst,**/**/**/*.rst} # Use dummy builder to improve performance as we don't need the generated HTML in this workflow. - name: Sphinx build diff --git a/_tools/codespell-dict.txt b/_tools/codespell-dict.txt new file mode 100644 index 00000000000..f8e93f339d9 --- /dev/null +++ b/_tools/codespell-dict.txt @@ -0,0 +1 @@ +anti-aliasing->antialiasing diff --git a/about/list_of_features.rst b/about/list_of_features.rst index 42453162858..d1a16fc0989 100644 --- a/about/list_of_features.rst +++ b/about/list_of_features.rst @@ -369,7 +369,7 @@ See :ref:`doc_renderers` for a detailed comparison of the rendering methods. - ETC2 (not supported on macOS). - S3TC (not supported on mobile/Web platforms). -**Anti-aliasing:** +**Antialiasing:** - Temporal :ref:`antialiasing ` (TAA). - AMD FidelityFX Super Resolution 2.2 :ref:`antialiasing ` (FSR2), diff --git a/tutorials/2d/custom_drawing_in_2d.rst b/tutorials/2d/custom_drawing_in_2d.rst index c4c70944a90..ccb39cff4f8 100644 --- a/tutorials/2d/custom_drawing_in_2d.rst +++ b/tutorials/2d/custom_drawing_in_2d.rst @@ -487,7 +487,7 @@ You should get the following output: Unlike ``draw_polygon()``, polylines can only have a single unique color for all its points (the second argument). This method has 2 additional arguments: the width of the line (which is as small as possible by default) -and enabling or disabling the anti-aliasing (it is disabled by default). +and enabling or disabling the antialiasing (it is disabled by default). The order of the ``_draw`` calls is important- like with the Node positions on the tree hierarchy, the different shapes will be drawn from top to bottom, diff --git a/tutorials/troubleshooting.rst b/tutorials/troubleshooting.rst index 7b935c46c64..125f8fa1a44 100644 --- a/tutorials/troubleshooting.rst +++ b/tutorials/troubleshooting.rst @@ -177,7 +177,7 @@ OpenGL applications by your graphics driver. - **AMD (Windows):** Open the start menu and choose **AMD Software**. Click the settings "cog" icon in the top-right corner. Go to the **Graphics** tab, scroll to the bottom and click **Advanced** to unfold its settings. Disable - **Morphological Anti-Aliasing**. + **Morphological Antialiasing**. Third-party vendor-independent utilities such as vkBasalt may also force sharpening or FXAA on all Vulkan applications. You may want to check their