Skip to content

Commit 8d25521

Browse files
authored
Merge branch 'main' into main
2 parents c24dfdb + a505e06 commit 8d25521

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

src/content/banner/en.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
# Give each new message a unique title so we know which one a user closed
3-
title: "beta-site"
4-
link: "https://beta.p5js.org"
3+
title: "maintenance-20260322"
4+
link: "https://p5js.org"
55
hidden: false
66
---
77

8-
Looking for the new version? Find p5.js 2.0 here!
8+
This website will be undergoing scheduled maintenance on Sunday March 22, 2026 8:00am CET, and may be down for up to 24 hours.

src/content/contributor-docs/en/contributor_guidelines.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ This is a relatively long and comprehensive document but we will try to signpost
2727
* [Discussion](#discussion)
2828
* [Working on p5.js codebase](#working-on-the-p5js-codebase)
2929
* [Quick Get Started For Developers](#quick-get-started-for-developers)
30-
* [Using the Github edit functionality](#using-the-github-edit-functionality)
30+
* [Using the GitHub edit functionality](#using-the-github-edit-functionality)
3131
* [Forking p5.js and working from your fork](#forking-p5js-and-working-from-your-fork)
32-
* [Using Github Desktop](#using-github-desktop)
32+
* [Using GitHub Desktop](#using-github-desktop)
3333
* [Using the git command line interface](#using-the-git-command-line-interface)
3434
* [Codebase breakdown](#codebase-breakdown)
3535
* [Build setup](#build-setup)
@@ -246,7 +246,7 @@ Working from your fork of the p5.js repository is necessary because you will lik
246246

247247
### Using GitHub Desktop
248248

249-
GitHub Desktop is a program that lets you work with git via a graphical user interface rather than typing commands into a terminal. It is a good option if you are new to git, and you can always switch back and forth between Github Desktop and a terminal whenever you feel like it.
249+
GitHub Desktop is a program that lets you work with git via a graphical user interface rather than typing commands into a terminal. It is a good option if you are new to git, and you can always switch back and forth between GitHub Desktop and a terminal whenever you feel like it.
250250

251251
First, [download and install GitHub Desktop.](https://desktop.github.com/) Once installed, open the application. It will ask you to sign in to your GitHub account. After you have signed in, it will list your projects, including your fork of p5.js. Select your fork, which will be named `yourUsername/p5.js`, and click the blue "Clone" button. It will ask for some details about where to place your project; you can either change them or leave the default settings and continue.
252252

@@ -410,7 +410,7 @@ From GitHub Desktop, just to the right of the button to change branches in the h
410410

411411
Once your code is uploaded, it will show a button prompting you to create a pull request. Clicking the button once will show a preview with another button to actually create the request. Press the "Create Pull Request" button to begin the process.
412412

413-
![A screenshot of Github Desktop after pushing code. In the left sidebar, it says "0 changed items." In the right pane, below the "No local changes" header, a blue "Review Pull Request" button has been marked up with a red circle.](src/content/contributor-docs/images/preview-pull-request.png)
413+
![A screenshot of GitHub Desktop after pushing code. In the left sidebar, it says "0 changed items." In the right pane, below the "No local changes" header, a blue "Review Pull Request" button has been marked up with a red circle.](src/content/contributor-docs/images/preview-pull-request.png)
414414

415415
From the terminal, run the following command:
416416

@@ -422,7 +422,7 @@ Once the push is complete, you may see a link in the terminal that lets you open
422422

423423
![Screenshot of the git command line response after pushing a new branch. It includes a GitHub link to open a new pull request.](src/content/contributor-docs/images/new-branch.png)
424424

425-
You may also see a button to open a pull request when you visit the p5.js Github repo. Clicking it will also work to open a new pull request.
425+
You may also see a button to open a pull request when you visit the p5.js GitHub repo. Clicking it will also work to open a new pull request.
426426

427427
![Cropped screenshot of the main page of the p5.js GitHub repository web page. A section near the top of the page is a yellow call to action box containing a green button with the text "Compare & pull request".](src/content/contributor-docs/images/recent-pushes.png)
428428

@@ -468,7 +468,7 @@ You should now inspect the opened pull request and pay attention to a few things
468468

469469
If any of the above is not true (there are more commits than you expected or there are conflicts), you may need to [rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing/) or help resolve conflicts. Conflicts here mean that you have made changes to a file that also recently had changes applied to it, and git is not sure which set of changes to keep or leave out. If you are not confident in resolving these issues, let us know and we'll guide you through the process. Basic instruction is as below.
470470

471-
Sometimes, Github lets you resolve conflicts directly in the browser by showing you a Resolve Conflicts button:![A screenshot of a GitHub pull request with merge conflicts. The conflicting filenames are listed, and there is a "Resolve conflicts" button highlighted.](src/content/contributor-docs/images/resolve-conflicts.png)
471+
Sometimes, GitHub lets you resolve conflicts directly in the browser by showing you a Resolve Conflicts button:![A screenshot of a GitHub pull request with merge conflicts. The conflicting filenames are listed, and there is a "Resolve conflicts" button highlighted.](src/content/contributor-docs/images/resolve-conflicts.png)
472472

473473
Conflicts are shown between `<<<<<<<` and `>>>>>>>`, separated by `=======`. One section shows your code, and the other section shows what has changed in the main branch.
474474

@@ -482,7 +482,7 @@ When all files with conflicts have been resolved, you can commit your changes.
482482

483483
![The GitHub conflict resolution interface after all conflicts have been marked as resolved. A green "commit merge" button is enabled.](src/content/contributor-docs/images/commit-merge.png)
484484

485-
Sometimes, the conflicts are too complicated for Github to show on the web. In this case, or if you just prefer the manual method, you can resolve your conflicts locally:
485+
Sometimes, the conflicts are too complicated for GitHub to show on the web. In this case, or if you just prefer the manual method, you can resolve your conflicts locally:
486486

487487
1. Run `git remote add upstream https://github.com/processing/p5.js`
488488
2. Run `git fetch upstream`

src/content/contributor-docs/en/steward_guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ To remain a steward, you must contribute as a steward to at least 1 of the 2 mos
9292

9393
### Getting Started with Stewardship
9494

95-
1. Keep this guideline handy as a reference - how to help with new issues, bugs, and features. For example, the "Feature request" section includes tips on how to use the the p5.js [access statement](../access/) as a steward.
95+
1. Keep this guideline handy as a reference - how to help with new issues, bugs, and features. For example, the "Feature request" section includes tips on how to use the p5.js [access statement](../access/) as a steward.
9696
2. When helping to answer technical questions or review, try to apply the Processing Foundation [guideline on answering questions](https://discourse.processing.org/t/guidelines-answering-questions/2145/) - these can be especially helpful for giving constructive technical feedback.
9797
3. Join the [p5.js Discord](https://discord.p5js.org) - in the `#contribute-to-p5` you're welcome to ask any questions you have about this process - or suggest how it can be improved!
9898

src/content/examples/en/09_Angles_And_Motion/00_Sine_Cosine/description.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This example demonstrates the
2525
mathematical functions.
2626

2727
The animation shows uniform circular motion around the unit circle
28-
(circle with radius 1). Any angle measured from the the x-axis
28+
(circle with radius 1). Any angle measured from the x-axis
2929
determines a point on the circle. The cosine and sine of the angle
3030
are defined to be the x and y coordinates, respectively, of that
3131
point.

src/pages/_utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,7 @@ export const getRefEntryTitleConcatWithParen = (
230230
*/
231231
export const escapeCodeTagsContent = (htmlString: string): string => {
232232
// Load the HTML string into Cheerio
233-
const $ = load(htmlString, {
234-
xmlMode: true
235-
});
233+
const $ = load(htmlString);
236234
// Loop through all <code> tags
237235
$("code").each(function () {
238236
// Don't escape code in multiline blocks, as these will already

0 commit comments

Comments
 (0)