Skip to content

Commit 0d1ec9f

Browse files
authored
chore: transfer repository from w3c to speced org (#4723)
1 parent c7d5418 commit 0d1ec9f

28 files changed

+71
-8805
lines changed

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
env:
1414
PUPPETEER_SKIP_DOWNLOAD: 1
1515
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
16-
# See https://github.com/w3c/respec/pull/3306
16+
# See https://github.com/speced/respec/pull/3306
1717
LC_ALL: en_US.UTF-8
1818
FORCE_COLOR: 1
1919

@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- name: Ensure builds/ has not changed
3030
run: |
31-
curl -sL https://api.github.com/repos/w3c/respec/pulls/${{ github.event.pull_request.number }}/files -o /tmp/pr_files.json
31+
curl -sL https://api.github.com/repos/speced/respec/pulls/${{ github.event.pull_request.number }}/files -o /tmp/pr_files.json
3232
cat /tmp/pr_files.json | jq -r '.[].filename' | grep -qE "^builds/" || exit 0
3333
echo "::error::Uh oh! builds/ was changed."; exit 1
3434
- uses: pnpm/action-setup@v4

.github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
PUPPETEER_SKIP_DOWNLOAD: 1
1717
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
1818
FORCE_COLOR: 1
19-
# See https://github.com/w3c/respec/pull/3306
19+
# See https://github.com/speced/respec/pull/3306
2020
LC_ALL: en_US.UTF-8
2121

2222
permissions:

CHANGELOG.md

+2-8,738
Large diffs are not rendered by default.

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Everyone is welcome to contribute.
1+
Everyone is welcome to contribute.
22

3-
Please see our [developer guide](https://github.com/w3c/respec/wiki/Developers-Guide) to get started!
3+
Please see our [developer guide](https://github.com/speced/respec/wiki/Developers-Guide) to get started!

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Backers on Open Collective](https://opencollective.com/respec/backers/badge.svg)](#backers)
44
[![Sponsors on Open Collective](https://opencollective.com/respec/sponsors/badge.svg)](#sponsors)
5-
[![Build Status](https://github.com/w3c/respec/workflows/Node%20CI/badge.svg?branch=develop)](https://github.com/w3c/respec/actions?query=workflow%3A%22Node+CI%22+branch%3Adevelop)
5+
[![Build Status](https://github.com/speced/respec/workflows/Node%20CI/badge.svg?branch=develop)](https://github.com/speced/respec/actions?query=workflow%3A%22Node+CI%22+branch%3Adevelop)
66
[![Website status](https://img.shields.io/github/workflow/status/marcoscaceres/respec.org/Health%20Check?label=respec.org&logo=curl)](https://github.com/marcoscaceres/respec.org/actions?query=workflow%3A%22Health+Check%22)
77

88
ReSpec is a JS library that makes it easier to write technical specifications, or documents
@@ -14,10 +14,10 @@ well.
1414

1515
If you are just interested in writing a spec, you can grab the [starter spec](examples/starter.html).
1616

17-
We have extensive documentation on [how to use ReSpec](https://github.com/w3c/respec/wiki) in our wiki, including:
17+
We have extensive documentation on [how to use ReSpec](https://github.com/speced/respec/wiki) in our wiki, including:
1818

19-
* [User's guide](https://github.com/w3c/respec/wiki/ReSpec-Editor's-Guide)
20-
* [WebIDL guide](https://github.com/w3c/respec/wiki/WebIDL-Guide)
19+
* [User's guide](https://github.com/speced/respec/wiki/ReSpec-Editor's-Guide)
20+
* [WebIDL guide](https://github.com/speced/respec/wiki/WebIDL-Guide)
2121

2222
**You don't need to check-out or fork this repository.**
2323

@@ -32,7 +32,7 @@ If you are new to spec writing, we strongly encourage you to read:
3232
## Getting help
3333

3434
If you experience issues, please email [spec-prod@w3.org](mailto:spec-prod@w3.org) or
35-
if you think something is broken, [file a bug](https://github.com/w3c/respec/issues).
35+
if you think something is broken, [file a bug](https://github.com/speced/respec/issues).
3636

3737
**Please note:** ReSpec is not endorsed by W3C and nobody should expect the W3C Webmaster to provide advice on
3838
problems encountered with ReSpec, or on why it may be failing to produce pubrules-compliant
@@ -45,18 +45,18 @@ Bibliographical references have been moved out of ReSpec. You want to use
4545

4646
## Want to see complete documentation?
4747

48-
[Documentation for ReSpec](https://github.com/w3c/respec/wiki) is available in our wiki.
48+
[Documentation for ReSpec](https://github.com/speced/respec/wiki) is available in our wiki.
4949

5050
## Contribute
5151

52-
Please see our [developer guide](https://github.com/w3c/respec/wiki/Developers-Guide).
52+
Please see our [developer guide](https://github.com/speced/respec/wiki/Developers-Guide).
5353

5454
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
5555

5656
## Contributors
5757

5858
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
59-
<a href="https://github.com/w3c/respec/graphs/contributors"><img src="https://opencollective.com/respec/contributors.svg?width=890&button=false" /></a>
59+
<a href="https://github.com/speced/respec/graphs/contributors"><img src="https://opencollective.com/respec/contributors.svg?width=890&button=false" /></a>
6060

6161

6262
## Backers

examples/basic.built.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
url: "https://your-site.com",
1515
},
1616
],
17-
github: "w3c/respec",
17+
github: "speced/respec",
1818
shortName: "respec",
1919
xref: "web-platform",
2020
group: "webapps",

examples/basic.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
url: "https://your-site.com",
1515
},
1616
],
17-
github: "w3c/respec",
17+
github: "speced/respec",
1818
shortName: "respec",
1919
xref: "web-platform",
2020
group: "webapps",

examples/tpac_2019.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
- Significant speed improvements via IDB caching + cache api.
5858

5959
## "xref" - Automatic references linking
60-
We added a new way of linking to terms defined in other specs, which is a lot more cleaner and less cumbersome. The following snippet shows the difference between the old and new way of linking to external terms. [[Full Documentation](https://github.com/w3c/respec/wiki/xref)]
60+
We added a new way of linking to terms defined in other specs, which is a lot more cleaner and less cumbersome. The following snippet shows the difference between the old and new way of linking to external terms. [[Full Documentation](https://github.com/speced/respec/wiki/xref)]
6161

6262
```html
6363
<!-- before -->
@@ -95,7 +95,7 @@
9595

9696
We have to tell ReSpec in which specs we want to search the definitions for. Set `respecConfig.xref = ["url"]` to let ReSpec know that we want to link to terms defined in [[URL]] spec. Now it will search for terms and link them. You can write spec shortnames as well as spec IDs, though shortnames are preferred.
9797

98-
We can also link to IDL terms using **IDL Linking micro-syntax**. Instead of writing `<code><a data-cite="HTML/webappapis.html#eventhandler">EventHandler</a></code>`, we can write `{{\ EventHandler }}` (but don't forget to change [`respecConfig.xref`](https://github.com/w3c/respec/wiki/xref) to `["url", "html"]`).
98+
We can also link to IDL terms using **IDL Linking micro-syntax**. Instead of writing `<code><a data-cite="HTML/webappapis.html#eventhandler">EventHandler</a></code>`, we can write `{{\ EventHandler }}` (but don't forget to change [`respecConfig.xref`](https://github.com/speced/respec/wiki/xref) to `["url", "html"]`).
9999

100100
A whitespace-separated list of specs can be added on <code>&lt;body></code> as: <code>&lt;body data-cite="url html"></code>, instead of adding it in `respecConfig.xref`.
101101

@@ -244,7 +244,7 @@ <h2>section 2</h2>
244244
## Web IDL linking
245245

246246
We added several features using Web IDL parser library named
247-
[webidl2.js](https://github.com/w3c/webidl2.js/) and the first of them is
247+
[webidl2.js](https://github.com/speced/webidl2.js/) and the first of them is
248248
automatic IDL linking.
249249

250250
<pre class="idl" data-cite="webidl html dom">
@@ -359,7 +359,7 @@ <h2>section 2</h2>
359359
authors might want to add `[Exposed=(Window,Worker)]` instead of just
360360
`[Exposed=Window]` suggested from ReSpec.
361361

362-
* There is [a bot](https://github.com/w3c/payment-handler/pull/343) to fix IDLs for us.
362+
* There is [a bot](https://github.com/speced/payment-handler/pull/343) to fix IDLs for us.
363363

364364
Because copy-paste is hard! It also helps non-ReSpec specifications to get
365365
correct IDLs.
@@ -398,12 +398,12 @@ <h2>section 2</h2>
398398
## mdn integration
399399
If your spec is documented on MDN, ReSpec can now display MDN support data directly in your specification. This is great for developers as they can see what browser implements a particular part of a spec, as well as giving direct access to developer documentation.
400400

401-
- Simply add [config option](https://github.com/w3c/respec/wiki/mdn) `mdn: true`
401+
- Simply add [config option](https://github.com/speced/respec/wiki/mdn) `mdn: true`
402402

403403
## Caniuse integration
404404
ReSpec now supports caniuse.com integration, which shows up as a table at the top of your spec.
405405

406-
- [config option](https://github.com/w3c/respec/wiki/caniuse) `caniuse: "feature"` (where "feature" is the id used on caniuse to identify your spec).
406+
- [config option](https://github.com/speced/respec/wiki/caniuse) `caniuse: "feature"` (where "feature" is the id used on caniuse to identify your spec).
407407

408408
You can also customize exactly which browsers show up.
409409

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "module",
1616
"repository": {
1717
"type": "git",
18-
"url": "git://github.com/w3c/respec.git"
18+
"url": "git://github.com/speced/respec.git"
1919
},
2020
"contributors": [
2121
"Marcos Cáceres <marcos@marcosc.com> (https://marcosc.com/)",

src/aom/headers.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function validateDateAndRecover(conf, prop, fallbackDate = new Date()) {
7373
return new Date(formattedDate);
7474
}
7575
const msg =
76-
`[\`${prop}\`](https://github.com/w3c/respec/wiki/${prop}) ` +
76+
`[\`${prop}\`](https://github.com/speced/respec/wiki/${prop}) ` +
7777
`is not a valid date: "${conf[prop]}". Expected format 'YYYY-MM-DD'.`;
7878
showError(msg, name);
7979
return new Date(ISODate.format(new Date()));
@@ -144,7 +144,7 @@ export function run(conf) {
144144
document.body.prepend(header);
145145
document.body.classList.add("h-entry");
146146

147-
// Requested by https://github.com/w3c/respec/issues/504
147+
// Requested by https://github.com/speced/respec/issues/504
148148
// Makes a record of a few auto-generated things.
149149
pub("amend-user-config", {
150150
publishISODate: conf.publishISODate,

src/core/caniuse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Module: "core/caniuse"
44
* Adds a caniuse support table for a "feature" #1238
5-
* Usage options: https://github.com/w3c/respec/wiki/caniuse
5+
* Usage options: https://github.com/speced/respec/wiki/caniuse
66
*/
77
import { codedJoinAnd, docLink, showError, showWarning } from "./utils.js";
88
import { pub, sub } from "./pubsubhub.js";

src/core/data-cite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function getLinkProps(citeDetails) {
5757
href = canonicalHref;
5858
} else {
5959
if (path) {
60-
// See: https://github.com/w3c/respec/issues/1856#issuecomment-429579475
60+
// See: https://github.com/speced/respec/issues/1856#issuecomment-429579475
6161
const relPath = path.startsWith("/") ? `.${path}` : path;
6262
href = new URL(relPath, href).href;
6363
}

src/core/github.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* core/github
44
*
5-
* @see https://github.com/w3c/respec/wiki/github
5+
* @see https://github.com/speced/respec/wiki/github
66
*/
77

88
import { docLink, getIntlData, showError, showWarning } from "../core/utils.js";

src/core/inline-idl-parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const attributeRegex = /^((?:\[\[)?(?:\w+(?: +\w+)*)(?:\]\])?)$/;
2626
const baseRegex = /^(?:\w+)\??$/;
2727
const enumRegex = /^(\w+)\["([\w- ]*)"\]$/;
2828
// TODO: const splitRegex = /(?<=\]\]|\b)\./
29-
// https://github.com/w3c/respec/pull/1848/files#r225087385
29+
// https://github.com/speced/respec/pull/1848/files#r225087385
3030
const methodSplitRegex = /\.?(\w+\(.*\)$)/;
3131
const slotSplitRegex = /\/(.+)/;
3232
const isProbablySlotRegex = /\[\[.+\]\]/;

src/core/location-hash.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function run() {
2525
const isLegacyFrag = /\W/.test(newHash);
2626

2727
// Allow some degree of recovery for legacy fragments format.
28-
// See https://github.com/w3c/respec/issues/1353
28+
// See https://github.com/speced/respec/issues/1353
2929
if (!element && isLegacyFrag) {
3030
const id = newHash
3131
// Replace all non-word characters with a dash.

src/core/xref.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Searches for the terms which do not have a local definition at xref API and
88
* for each query, adds `data-cite` attributes to respective elements.
99
* `core/data-cite` later converts these data-cite attributes to actual links.
10-
* https://github.com/w3c/respec/issues/1662
10+
* https://github.com/speced/respec/issues/1662
1111
*/
1212
/**
1313
* @typedef {import('core/xref').RequestEntry} RequestEntry

src/dini/headers.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function validateDateAndRecover(conf, prop, fallbackDate = new Date()) {
7373
return new Date(formattedDate);
7474
}
7575
const msg =
76-
`[\`${prop}\`](https://github.com/w3c/respec/wiki/${prop}) ` +
76+
`[\`${prop}\`](https://github.com/speced/respec/wiki/${prop}) ` +
7777
`is not a valid date: "${conf[prop]}". Expected format 'YYYY-MM-DD'.`;
7878
showError(msg, name);
7979
return new Date(ISODate.format(new Date()));
@@ -155,7 +155,7 @@ export function run(conf) {
155155
document.body.prepend(header);
156156
document.body.classList.add("h-entry");
157157

158-
// Requested by https://github.com/w3c/respec/issues/504
158+
// Requested by https://github.com/speced/respec/issues/504
159159
// Makes a record of a few auto-generated things.
160160
pub("amend-user-config", {
161161
publishISODate: conf.publishISODate,

src/styles/dfn-panel.css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* dfn popup panel that list all local references to a dfn */
22
/**
3-
* TODO: Revert changes due to https://github.com/w3c/respec/pull/2888 when
3+
* TODO: Revert changes due to https://github.com/speced/respec/pull/2888 when
44
* https://github.com/w3c/css-validator/pull/111 is fixed.
55
*/
66
const css = String.raw;

src/ui/about-respec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function show() {
5959
</p>
6060
<p>
6161
<a href='https://respec.org/docs'>Documentation</a>,
62-
<a href='https://github.com/w3c/respec/issues'>Bugs</a>.
62+
<a href='https://github.com/speced/respec/issues'>Bugs</a>.
6363
</p>
6464
<table border="1" width="100%" hidden="${entries.length ? false : true}">
6565
<caption>
@@ -82,7 +82,7 @@ function show() {
8282
}
8383

8484
function perfEntryToTR({ name, duration }) {
85-
const moduleURL = `https://github.com/w3c/respec/blob/develop/src/${name}.js`;
85+
const moduleURL = `https://github.com/speced/respec/blob/develop/src/${name}.js`;
8686
return html`
8787
<tr>
8888
<td><a href="${moduleURL}">${name}</a></td>

src/w3c/headers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ export async function run(conf) {
645645
showWarning(msg, name);
646646
}
647647

648-
// Requested by https://github.com/w3c/respec/issues/504
648+
// Requested by https://github.com/speced/respec/issues/504
649649
// Makes a record of a few auto-generated things.
650650
pub("amend-user-config", {
651651
publishISODate: conf.publishISODate,

tests/spec/core/github-spec.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ describe("Core - Github", () => {
1111
afterAll(flushIframes);
1212
const stringOpt = {
1313
config: Object.assign(makeBasicConfig(), {
14-
github: "https://github.com/w3c/respec/",
14+
github: "https://github.com/speced/respec/",
1515
excludeGithubLinks: false,
1616
}),
1717
body: makeDefaultBody(),
1818
};
1919
const objOpt = {
2020
config: Object.assign(makeBasicConfig(), {
2121
github: {
22-
repoURL: "https://github.com/w3c/respec/",
22+
repoURL: "https://github.com/speced/respec/",
2323
branch: "develop",
2424
},
2525
excludeGithubLinks: false,
@@ -37,9 +37,9 @@ describe("Core - Github", () => {
3737
expect(conf.hasOwnProperty("githubAPI")).toBe(true);
3838
expect(conf.githubAPI).toBe("https://respec.org/github");
3939
expect(conf.hasOwnProperty("issueBase")).toBe(true);
40-
expect(conf.issueBase).toBe("https://github.com/w3c/respec/issues/");
40+
expect(conf.issueBase).toBe("https://github.com/speced/respec/issues/");
4141
expect(conf.hasOwnProperty("edDraftURI")).toBe(true);
42-
expect(conf.edDraftURI).toBe("https://w3c.github.io/respec/");
42+
expect(conf.edDraftURI).toBe("https://speced.github.io/respec/");
4343
expect(conf.hasOwnProperty("shortName")).toBe(true);
4444
expect(conf.shortName).toBe("respec");
4545
}
@@ -66,7 +66,7 @@ describe("Core - Github", () => {
6666
it("doesn't override issueBase, edDraftURI, shortName members if present (from string)", async () => {
6767
const opts = {
6868
config: Object.assign(makeBasicConfig(), dontOverrideTheseOps, {
69-
github: "https://github.com/w3c/respec/",
69+
github: "https://github.com/speced/respec/",
7070
}),
7171
};
7272
const doc = await makeRSDoc(opts);
@@ -75,7 +75,7 @@ describe("Core - Github", () => {
7575
it("doesn't override issueBase, edDraftURI, shortName members if present (from object)", async () => {
7676
const opts = {
7777
config: Object.assign(makeBasicConfig(), dontOverrideTheseOps, {
78-
github: { repoURL: "https://github.com/w3c/respec/" },
78+
github: { repoURL: "https://github.com/speced/respec/" },
7979
}),
8080
};
8181
const doc = await makeRSDoc(opts);
@@ -98,25 +98,25 @@ describe("Core - Github", () => {
9898
);
9999
expect(fileABug).toBeTruthy();
100100
expect(fileABug.querySelector("a").href).toBe(
101-
"https://github.com/w3c/respec/issues/"
101+
"https://github.com/speced/respec/issues/"
102102
);
103103
const commitHistory = Array.from(doc.querySelectorAll("dd")).find(
104104
elem => elem.textContent.trim() === "Revisiehistorie"
105105
);
106106
expect(commitHistory).toBeTruthy();
107107
const ghLink = Array.from(doc.querySelectorAll("dd")).find(
108-
elem => elem.textContent.trim() === "GitHub w3c/respec"
108+
elem => elem.textContent.trim() === "GitHub speced/respec"
109109
);
110110
const pullRequests = Array.from(doc.querySelectorAll("dd")).find(
111111
elem => elem.textContent.trim() === "Pull requests"
112112
);
113113
expect(pullRequests).toBeTruthy();
114114
expect(pullRequests.querySelector("a").href).toBe(
115-
"https://github.com/w3c/respec/pulls/"
115+
"https://github.com/speced/respec/pulls/"
116116
);
117117
expect(ghLink).toBeTruthy();
118118
expect(ghLink.querySelector("a").href).toBe(
119-
"https://github.com/w3c/respec/"
119+
"https://github.com/speced/respec/"
120120
);
121121
// This differs between the string and the object tests, so we return it
122122
return commitHistory;
@@ -125,14 +125,14 @@ describe("Core - Github", () => {
125125
const doc = await makeRSDoc({ ...l10n, ...stringOpt });
126126
const commitHistory = definitionListTest(doc);
127127
expect(commitHistory.querySelector("a").href).toBe(
128-
"https://github.com/w3c/respec/commits/"
128+
"https://github.com/speced/respec/commits/"
129129
);
130130
});
131131
it("generates a participate set of links (from object)", async () => {
132132
const doc = await makeRSDoc({ ...l10n, ...objOpt });
133133
const commitHistory = definitionListTest(doc);
134134
expect(commitHistory.querySelector("a").href).toBe(
135-
"https://github.com/w3c/respec/commits/develop"
135+
"https://github.com/speced/respec/commits/develop"
136136
);
137137
});
138138
});

tests/spec/core/simple.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
specStatus: "ED",
88
shortName: "basics",
99
editors: [{ name: "Robin Berjon", url: "http://berjon.com/" }],
10-
github: "w3c/respec",
10+
github: "speced/respec",
1111
group: "webapps",
1212
};
1313
</script>

0 commit comments

Comments
 (0)