Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fc44fb5
Page returns to correct scroll Position
idontknowjs Dec 16, 2020
8b4cc78
Removed broken script file
idontknowjs Dec 16, 2020
e2bd899
Merge pull request #910 from covalentbond/brokenScript
lmccart Dec 16, 2020
f56a2a4
Merge pull request #909 from covalentbond/hashError
lmccart Dec 16, 2020
e7dc2c7
Added a copy button in get-started webpage to copy the example texts …
rt1301 Dec 19, 2020
5a02240
Update automated_reference_update.md
lmccart Dec 20, 2020
f3e44c2
fix community email
drendog Dec 20, 2020
a6b4f66
Changed the alignment of copy button in get-started and added the ent…
rt1301 Dec 21, 2020
2bb4188
Merge pull request #913 from drendog/main
lmccart Dec 24, 2020
917703a
Updated the HSB color values in the color page of learn section
rt1301 Dec 25, 2020
d3ff0fb
added circle collision example
Dec 26, 2020
abf9277
Added aria-hidden attribute to temporary textarea input
rt1301 Dec 28, 2020
1c67bbb
Merge pull request #911 from rt1301/#906-copy-button
lmccart Dec 28, 2020
0869e62
Automatic update of translation files (1c67bbb369d51ba19129b4c78aabd4…
lmccart Dec 28, 2020
797e603
Remove ignored index.hbs file in learn page templates
limzykenneth Dec 31, 2020
8f5cb4d
Merge pull request #919 from limzykenneth/git-cleanup
lmccart Jan 4, 2021
c684235
Merge pull request #915 from highonweb/Circle-collision
lmccart Jan 4, 2021
1287afb
Merge pull request #917 from rt1301/#4949-ColorPageInfo
limzykenneth Jan 4, 2021
81dba56
remove fundraiser link
lmccart Jan 8, 2021
3252087
Merge branch 'main' of github.com:processing/p5.js-website into main
lmccart Jan 8, 2021
0d1a8dd
Update header.hbs
lmccart Jan 14, 2021
96a08fe
Added space between text and link
ShenpaiSharma Jan 20, 2021
e7d7c86
Added space in English translation and removed space from template
ShenpaiSharma Jan 21, 2021
a983e76
Added space at text part and removed space from link part
ShenpaiSharma Jan 21, 2021
47b9012
fixed imagemin
Rahulm2310 Jan 23, 2021
27e7945
Create test.yml
outofambit Jan 23, 2021
a25b455
Update Gruntfile.js
Rahulm2310 Jan 24, 2021
2f65964
Adding space in the text part using html entity code
ShenpaiSharma Jan 25, 2021
5c30484
Merge pull request #928 from ShenpaiSharma/Issue_#926
limzykenneth Jan 25, 2021
1689fce
Corrected code for Inheritance which was not implementing inheritance…
ShenpaiSharma Jan 27, 2021
3c7f48c
Merge pull request #930 from Rahulm2310/imagemin-fix
limzykenneth Jan 30, 2021
8722093
Merge branch 'main' of https://github.com/processing/p5.js-website in…
ShenpaiSharma Jan 30, 2021
0288a73
Added space and removed extra whitespace at the end
ShenpaiSharma Jan 30, 2021
8e72ffe
Merge pull request #931 from processing/gh-actions
outofambit Jan 30, 2021
52c6cf2
Removed white extra white spaces
ShenpaiSharma Jan 31, 2021
ecd9872
Menu and donation page translated into Chinese
hdcola Jan 26, 2021
8d500d6
Edits on Chinese translation
limzykenneth Feb 3, 2021
e54ff82
Automatic update of translation files (8d500d6ea5029da0fb7cbd476078ff…
limzykenneth Feb 3, 2021
f0b56e6
Merge pull request #934 from ShenpaiSharma/Fixes-Issue_#921
limzykenneth Feb 3, 2021
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
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
7 changes: 5 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const fse = require('fs-extra');
const git = require('simple-git');
const pkg = require('./package.json');
const update_i18n = require('./updatei18nFiles.js');
const mozjpeg = require('imagemin-mozjpeg');
const pngquant = require('imagemin-pngquant');

module.exports = function(grunt) {
require('time-grunt')(grunt);
Expand Down Expand Up @@ -151,7 +153,8 @@ module.exports = function(grunt) {
imagemin: {
images: {
options: {
optimizationLevel: 2
optimizationLevel: 2,
use: [mozjpeg({quality: 70}), pngquant()] //plugins for jpeg & png image compression
},
files: [{
expand: true,
Expand Down Expand Up @@ -502,4 +505,4 @@ module.exports = function(grunt) {

// runs with just grunt command
grunt.registerTask('default', ['build']);
};
};
4 changes: 2 additions & 2 deletions contributor_docs/automated_reference_update.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Automated Reference update
## Automated Reference update

The p5.js documentation needs to be updated every time a new p5.js release gets published.
This process is done by the `update-enJSON` [grunt task](https://github.com/processing/p5.js-website/blob/main/Gruntfile.js).
Expand All @@ -16,6 +16,6 @@ Every time a new p5.js release gets published, the update-p5jswebsite workflow (

When the update-documentation workflow commits the updated Reference files, the commit message will show both the p5.js release tag and the commit's sha.

###Notes:
### Notes:
- For the repository_dispatch event of the update-p5jswebsite workflow, [this GitHub action](https://github.com/peter-evans/repository-dispatch) was used.
- In order for the update-p5jswebsite workflow to trigger the update-documentation workflow, **it requires a repo scoped Personal Access Token created on a user with write access to the p5.js-website repository**. The Personal Access Token needs to be stored as secret in the p5.js repository.
39 changes: 24 additions & 15 deletions i18n-tracking.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
es:
src/data/en.yml:
line 162: ' library in your html. To learn more visit '
line 163: ' library in your html. To learn more visit '
line 164: ' your-first-sketch7'
line 97: ' get-started-button'
line 96: ' get-started7'
line 114: ' environment15'
line 113: ' environment14'
line 115: ' environment16'
Expand Down Expand Up @@ -149,7 +154,6 @@ es:
line 244: ' download-title'
line 245: ' hosted-title'
line 50: footerxh1
line 97: ' p1xh1'
line 98: ' p1x1'
line 99: ' p5.js is a JavaScript library for creative coding, with a focus on making'
line 100: ' coding accessible and inclusive for artists, designers, educators,'
Expand All @@ -161,10 +165,8 @@ es:
line 134: ' p4xp4'
line 141: ' project-a-2-5-phuong'
line 144: ' project-a-2-7-phuong'
line 163: ' teach-case1-content1'
line 64: ' color-p3x3'
line 70: ' color-rgb-p1x1'
line 164: ' teach-case1-content1-1'
line 87: ' color-custom-ranges-p2x1'
line 24: footer1
line 25: footer2
Expand All @@ -184,7 +186,6 @@ es:
line 159: ' processing-transition1'
line 160: ' processing-transition2'
line 161: ' processing-transition3'
line 162: ' processing-transition4'
line 357: ' link-2-chung'
line 358: ' link-3-chung'
line 359: ' project-a-1-1-chung'
Expand Down Expand Up @@ -289,7 +290,6 @@ es:
line 52: footer2
line 53: footer3
line 58: tagline3
line 96: ' start-creating'
line 101: ' beginners, and anyone else! p5.js is free and open-source because we believe'
line 106: ' think of your whole browser page as your sketch, including HTML5 objects for'
line 107: ' text, input, video, webcam, and sound.'
Expand Down Expand Up @@ -1817,8 +1817,16 @@ es:
line 2555: ' coding concepts.'
line 2556: ' teach-case12-content5-1'
line 2557: ' teach-case12-content5-2'
line 598: ' color-custom-ranges-li1x2'
line 601: ' color-custom-ranges-li2x2'
line 604: ' color-custom-ranges-li3x2'
ko:
src/data/en.yml:
line 162: ' library in your html. To learn more visit '
line 163: ' library in your html. To learn more visit '
line 164: ' your-first-sketch7'
line 97: ' get-started-button'
line 96: ' get-started7'
line 114: ' environment15'
line 113: ' environment14'
line 115: ' environment16'
Expand Down Expand Up @@ -1969,7 +1977,6 @@ ko:
line 244: ' download-title'
line 245: ' hosted-title'
line 50: footerxh1
line 97: ' p1xh1'
line 98: ' p1x1'
line 99: ' p5.js is a JavaScript library for creative coding, with a focus on making'
line 100: ' coding accessible and inclusive for artists, designers, educators,'
Expand All @@ -1981,10 +1988,8 @@ ko:
line 134: ' p4xp4'
line 141: ' project-a-2-5-phuong'
line 144: ' project-a-2-7-phuong'
line 163: ' teach-case1-content1'
line 64: ' color-p3x3'
line 70: ' color-rgb-p1x1'
line 164: ' teach-case1-content1-1'
line 87: ' color-custom-ranges-p2x1'
line 24: footer1
line 25: footer2
Expand All @@ -2004,7 +2009,6 @@ ko:
line 159: ' processing-transition1'
line 160: ' processing-transition2'
line 161: ' processing-transition3'
line 162: ' processing-transition4'
line 357: ' link-2-chung'
line 358: ' link-3-chung'
line 359: ' project-a-1-1-chung'
Expand Down Expand Up @@ -2109,7 +2113,6 @@ ko:
line 52: footer2
line 53: footer3
line 58: tagline3
line 96: ' start-creating'
line 101: ' beginners, and anyone else! p5.js is free and open-source because we believe'
line 106: ' think of your whole browser page as your sketch, including HTML5 objects for'
line 107: ' text, input, video, webcam, and sound.'
Expand Down Expand Up @@ -3636,8 +3639,16 @@ ko:
line 2555: ' coding concepts.'
line 2556: ' teach-case12-content5-1'
line 2557: ' teach-case12-content5-2'
line 598: ' color-custom-ranges-li1x2'
line 601: ' color-custom-ranges-li2x2'
line 604: ' color-custom-ranges-li3x2'
zh-Hans:
src/data/en.yml:
line 162: ' library in your html. To learn more visit '
line 163: ' library in your html. To learn more visit '
line 164: ' your-first-sketch7'
line 97: ' get-started-button'
line 96: ' get-started7'
line 114: ' environment15'
line 113: ' environment14'
line 115: ' environment16'
Expand Down Expand Up @@ -3787,7 +3798,6 @@ zh-Hans:
line 244: ' download-title'
line 245: ' hosted-title'
line 50: footerxh1
line 97: ' p1xh1'
line 98: ' p1x1'
line 99: ' p5.js is a JavaScript library for creative coding, with a focus on making'
line 100: ' coding accessible and inclusive for artists, designers, educators,'
Expand All @@ -3799,10 +3809,8 @@ zh-Hans:
line 134: ' p4xp4'
line 141: ' project-a-2-5-phuong'
line 144: ' project-a-2-7-phuong'
line 163: ' teach-case1-content1'
line 64: ' color-p3x3'
line 70: ' color-rgb-p1x1'
line 164: ' teach-case1-content1-1'
line 87: ' color-custom-ranges-p2x1'
line 24: footer1
line 25: footer2
Expand All @@ -3822,7 +3830,6 @@ zh-Hans:
line 159: ' processing-transition1'
line 160: ' processing-transition2'
line 161: ' processing-transition3'
line 162: ' processing-transition4'
line 357: ' link-2-chung'
line 358: ' link-3-chung'
line 359: ' project-a-1-1-chung'
Expand Down Expand Up @@ -3927,7 +3934,6 @@ zh-Hans:
line 52: footer2
line 53: footer3
line 58: tagline3
line 96: ' start-creating'
line 101: ' beginners, and anyone else! p5.js is free and open-source because we believe'
line 106: ' think of your whole browser page as your sketch, including HTML5 objects for'
line 107: ' text, input, video, webcam, and sound.'
Expand Down Expand Up @@ -5455,3 +5461,6 @@ zh-Hans:
line 2555: ' coding concepts.'
line 2556: ' teach-case12-content5-1'
line 2557: ' teach-case12-content5-2'
line 598: ' color-custom-ranges-li1x2'
line 601: ' color-custom-ranges-li2x2'
line 604: ' color-custom-ranges-li3x2'
Loading