Skip to content

Commit

Permalink
Merge pull request #10221 from tetrapod00/codespell-custom
Browse files Browse the repository at this point in the history
Enforce style guidelines with custom codespell dictionary
  • Loading branch information
mhilbrunner authored Nov 12, 2024
2 parents 7f6da48 + d837593 commit 905b1f4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions _tools/codespell-dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
anti-aliasing->antialiasing
2 changes: 1 addition & 1 deletion about/list_of_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <doc_3d_antialiasing>` (TAA).
- AMD FidelityFX Super Resolution 2.2 :ref:`antialiasing <doc_3d_antialiasing>` (FSR2),
Expand Down
2 changes: 1 addition & 1 deletion tutorials/2d/custom_drawing_in_2d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 905b1f4

Please sign in to comment.