Skip to content

Fix: remove trailing slashes from broken Wikipedia links #892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28,094 changes: 18,886 additions & 9,208 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/search-indices/en.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/search-indices/es.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/search-indices/hi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/search-indices/ko.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/search-indices/zh-Hans.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/content/contributor-docs/en/documentation_style_guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ The output will appear in docs/reference. Refer to the [inline documentation gui

## English

Please use American English (color, center, modularize, etc). See [a list of American and British English spelling differences here](https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences/).
Please use American English (color, center, modularize, etc). See [a list of American and British English spelling differences here](https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences).

**[⬆ back to top](#table-of-contents)**

## Oxford Comma

Please use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma/) ("red, white, and blue", instead of "red, white and blue").
Please use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma) ("red, white, and blue", instead of "red, white and blue").

**[⬆ back to top](#table-of-contents)**

Expand Down Expand Up @@ -140,7 +140,7 @@ Always use `let` to declare variables.
* Emphasize the reader rather than underlining their inconveniences.
* Don’t refer to a person with a disability as a disabled person. Use [approved terminology](https://make.wordpress.org/docs/style-guide/general-guidelines/inclusivity/#accessibility-terminology) for people with specific disabilities.
* Maintain a uniform structure throughout the p5.js documentation. Emphasize important points both stylistically and visually.
* Use a screen reader to test documentation. To test a screen reader, see [List of screen readers](https://en.wikipedia.org/wiki/List_of_screen_readers/).
* Use a screen reader to test documentation. To test a screen reader, see [List of screen readers](https://en.wikipedia.org/wiki/List_of_screen_readers).
* Consider multi-platform accessibility for all types of devices and operating systems.
* Create examples with all types of input devices such as voice and gesture based devices, controllers, mice, and keyboards.
* Don’t use ableist language. Be inclusive and unbiased while writing about accessibility and disability.
Expand Down
2 changes: 1 addition & 1 deletion src/content/contributor-docs/en/web_accessibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: >

This document describes the structure of p5.js’ web accessibility features for contributors.

If you want to make your sketches [screen reader](https://en.wikipedia.org/wiki/Screen_reader/)-accessible, visit the [Writing Accessible Canvas Descriptions](https://p5js.org/tutorials/writing-accessible-canvas-descriptions/) tutorial.
If you want to make your sketches [screen reader](https://en.wikipedia.org/wiki/Screen_reader)-accessible, visit the [Writing Accessible Canvas Descriptions](https://p5js.org/tutorials/writing-accessible-canvas-descriptions/) tutorial.

If you want to use p5.js with a screen reader, visit the [Using p5.js with a Screen Reader tutorial](https://p5js.org/tutorials/p5js-with-screen-reader/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ $ npm run grunt yui:dev

## 英语

请使用美式英语(color、center、modularize 等)。参见[美式和英式英语拼写差异列表](https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences/)。
请使用美式英语(color、center、modularize 等)。参见[美式和英式英语拼写差异列表](https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences)。

**[⬆ 返回顶部](#目录/)**

## 牛津逗号

请使用[牛津逗号](https://en.wikipedia.org/wiki/Serial_comma/)("red, white, and blue",而不是"red, white and blue")。
请使用[牛津逗号](https://en.wikipedia.org/wiki/Serial_comma)("red, white, and blue",而不是"red, white and blue")。

**[⬆ 返回顶部](#目录/)**

Expand Down Expand Up @@ -140,7 +140,7 @@ Always use `let` to declare variables.
* 注重读者而不是强调他们的不便。
* 不要将残障人士称为残疾人。使用[批准的术语](https://make.wordpress.org/docs/style-guide/general-guidelines/inclusivity/#accessibility-terminology)来指代特定残障的人。
* 在整个 p5.js 文档中保持统一的结构。在风格和视觉上强调重要点。
* 使用屏幕阅读器测试文档。要测试屏幕阅读器,请参见[屏幕阅读器列表](https://en.wikipedia.org/wiki/List_of_screen_readers/)。
* 使用屏幕阅读器测试文档。要测试屏幕阅读器,请参见[屏幕阅读器列表](https://en.wikipedia.org/wiki/List_of_screen_readers)。
* 考虑所有类型设备和操作系统的多平台可访问性。
* 创建使用所有类型输入设备的示例,如基于语音和手势的设备、控制器、鼠标和键盘。
* 不要使用能力歧视语言。在编写关于可访问性和残障的内容时要包容和无偏见。
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.Envelope/ramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: >
href="/reference/p5.Envelope/setADSR/">setADSR(attackTime,
decayTime)</a></code>

as <a href="https://en.wikipedia.org/wiki/RC_time_constant/">
as <a href="https://en.wikipedia.org/wiki/RC_time_constant">

time constants</a> for simple exponential ramps.

Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.FFT/getCentroid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ submodule: p5.sound
file: lib/addons/p5.sound.js
description: |
<p>Returns the
<a href="http://en.wikipedia.org/wiki/Spectral_centroid/" target="_blank">
<a href="http://en.wikipedia.org/wiki/Spectral_centroid" target="_blank">
spectral centroid</a> of the input signal.
<em>NOTE: analyze() must be called prior to getCentroid(). Analyze()
tells the FFT to analyze frequency data, and getCentroid() uses
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.FFT/getEnergy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ submodule: p5.sound
file: lib/addons/p5.sound.js
description: |
<p>Returns the amount of energy (volume) at a specific
<a href="https://en.wikipedia.org/wiki/Audio_frequency/" target="_blank">
<a href="https://en.wikipedia.org/wiki/Audio_frequency" target="_blank">
frequency</a>, or the average amount of energy between two
frequencies. Accepts Number(s) corresponding
to frequency (in Hz), or a "string" corresponding to predefined
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.FFT/getOctaveBands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ file: lib/addons/p5.sound.js
description: >
<p>Calculates and Returns the 1/N

<a href="https://en.wikipedia.org/wiki/Octave_band/" target="_blank">Octave
<a href="https://en.wikipedia.org/wiki/Octave_band" target="_blank">Octave
Bands</a>

N defaults to 3 and minimum central frequency to 15.625Hz.
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.FFT/logAverages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ submodule: p5.sound
file: lib/addons/p5.sound.js
description: |
<p>Returns an array of average amplitude values of the spectrum, for a given
set of <a href="https://en.wikipedia.org/wiki/Octave_band/" target="_blank">
set of <a href="https://en.wikipedia.org/wiki/Octave_band" target="_blank">
Octave Bands</a>
<em>NOTE: analyze() must be called prior to logAverages(). Analyze()
tells the FFT to analyze frequency data, and logAverages() uses
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.sound/p5.Envelope.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ methods:
href="/reference/p5.Envelope/setADSR/">setADSR(attackTime,
decayTime)</a></code>

as <a href="https://en.wikipedia.org/wiki/RC_time_constant/">
as <a href="https://en.wikipedia.org/wiki/RC_time_constant">

time constants</a> for simple exponential ramps.

Expand Down
10 changes: 5 additions & 5 deletions src/content/reference/en/p5.sound/p5.FFT.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ file: lib/addons/p5.sound.js
description: |-
<p>FFT (Fast Fourier Transform) is an analysis algorithm that
isolates individual
<a href="https://en.wikipedia.org/wiki/Audio_frequency/">
<a href="https://en.wikipedia.org/wiki/Audio_frequency">
audio frequencies</a> within a waveform.</p>

<p>Once instantiated, a p5.FFT object can return an array based on
Expand Down Expand Up @@ -125,7 +125,7 @@ methods:
getEnergy:
description: |
<p>Returns the amount of energy (volume) at a specific
<a href="https://en.wikipedia.org/wiki/Audio_frequency/" target="_blank">
<a href="https://en.wikipedia.org/wiki/Audio_frequency" target="_blank">
frequency</a>, or the average amount of energy between two
frequencies. Accepts Number(s) corresponding
to frequency (in Hz), or a "string" corresponding to predefined
Expand All @@ -140,7 +140,7 @@ methods:
getCentroid:
description: |
<p>Returns the
<a href="http://en.wikipedia.org/wiki/Spectral_centroid/" target="_blank">
<a href="http://en.wikipedia.org/wiki/Spectral_centroid" target="_blank">
spectral centroid</a> of the input signal.
<em>NOTE: analyze() must be called prior to getCentroid(). Analyze()
tells the FFT to analyze frequency data, and getCentroid() uses
Expand All @@ -163,7 +163,7 @@ methods:
<p>Returns an array of average amplitude values of the spectrum, for a
given

set of <a href="https://en.wikipedia.org/wiki/Octave_band/"
set of <a href="https://en.wikipedia.org/wiki/Octave_band"
target="_blank">

Octave Bands</a>
Expand All @@ -178,7 +178,7 @@ methods:
description: >
<p>Calculates and Returns the 1/N

<a href="https://en.wikipedia.org/wiki/Octave_band/"
<a href="https://en.wikipedia.org/wiki/Octave_band"
target="_blank">Octave Bands</a>

N defaults to 3 and minimum central frequency to 15.625Hz.
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5/applyMatrix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ description: >
<p><code>applyMatrix()</code> allows for many transformations to be applied at
once. See

<a href="https://en.wikipedia.org/wiki/Transformation_matrix/"
<a href="https://en.wikipedia.org/wiki/Transformation_matrix"
target="_blank">Wikipedia</a>

and <a
Expand Down
Loading