Skip to content

Commit 7b6d957

Browse files
committed
Updated attribution style
1 parent 0d50ad0 commit 7b6d957

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

src/content/examples/config.ts

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,5 @@ type RemixEntry = {
5757
remixLabel: string;
5858
};
5959

60-
export const remixLookup: { [key: string]: RemixEntry } = {
61-
"revision-2023-calebfoss": {
62-
attributionURL: "https://github.com/calebfoss",
63-
attributionLabel: "Caleb Foss",
64-
remixURL: "https://github.com/processing/p5.js-example",
65-
remixLabel: "Revised in 2023",
66-
},
67-
"revision-2023-dkessner": {
68-
attributionURL: "https://github.com/dkessner",
69-
attributionLabel: "Darren Kessner",
70-
remixURL: "https://github.com/processing/p5.js-example",
71-
remixLabel: "Revised in 2023",
72-
},
73-
"revision-2023-klich": {
74-
attributionURL: "https://www.klich.co/",
75-
attributionLabel: "Kasey Lichtlyter",
76-
remixURL: "https://github.com/processing/p5.js-example",
77-
remixLabel: "Revised in 2023",
78-
},
79-
};
60+
61+
// TODO instead of this emit a warning if there's multiple URLs used for the same person

src/content/examples/en/01_Shapes_And_Color/00_Shape_Primitives/description.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ relatedReference:
88
- en/p5/ellipse
99

1010
remix:
11-
- revision-2023-dkessner
11+
- description: Revised in 2023 by
12+
attribution:
13+
- name: Darren Kessner
14+
codeURL:
15+
codeLabel:
16+
- description: Based on
17+
code URL: codeLabel: archived version
1218
---
1319

1420
This program demonstrates the use of the basic shape

0 commit comments

Comments
 (0)