Skip to content

Commit

Permalink
chore: transfer repository from w3c to speced org (#4723)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Jun 5, 2024
1 parent c7d5418 commit 0d1ec9f
Show file tree
Hide file tree
Showing 28 changed files with 71 additions and 8,805 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
PUPPETEER_SKIP_DOWNLOAD: 1
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
# See https://github.com/w3c/respec/pull/3306
# See https://github.com/speced/respec/pull/3306
LC_ALL: en_US.UTF-8
FORCE_COLOR: 1

Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- name: Ensure builds/ has not changed
run: |
curl -sL https://api.github.com/repos/w3c/respec/pulls/${{ github.event.pull_request.number }}/files -o /tmp/pr_files.json
curl -sL https://api.github.com/repos/speced/respec/pulls/${{ github.event.pull_request.number }}/files -o /tmp/pr_files.json
cat /tmp/pr_files.json | jq -r '.[].filename' | grep -qE "^builds/" || exit 0
echo "::error::Uh oh! builds/ was changed."; exit 1
- uses: pnpm/action-setup@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
PUPPETEER_SKIP_DOWNLOAD: 1
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
FORCE_COLOR: 1
# See https://github.com/w3c/respec/pull/3306
# See https://github.com/speced/respec/pull/3306
LC_ALL: en_US.UTF-8

permissions:
Expand Down
8,740 changes: 2 additions & 8,738 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Everyone is welcome to contribute.
Everyone is welcome to contribute.

Please see our [developer guide](https://github.com/w3c/respec/wiki/Developers-Guide) to get started!
Please see our [developer guide](https://github.com/speced/respec/wiki/Developers-Guide) to get started!
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Backers on Open Collective](https://opencollective.com/respec/backers/badge.svg)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/respec/sponsors/badge.svg)](#sponsors)
[![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)
[![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)
[![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)

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

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

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

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

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

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

If you experience issues, please email [[email protected]](mailto:[email protected]) or
if you think something is broken, [file a bug](https://github.com/w3c/respec/issues).
if you think something is broken, [file a bug](https://github.com/speced/respec/issues).

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

## Want to see complete documentation?

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

## Contribute

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

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.

## Contributors

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


## Backers
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.built.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
url: "https://your-site.com",
},
],
github: "w3c/respec",
github: "speced/respec",
shortName: "respec",
xref: "web-platform",
group: "webapps",
Expand Down
2 changes: 1 addition & 1 deletion examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
url: "https://your-site.com",
},
],
github: "w3c/respec",
github: "speced/respec",
shortName: "respec",
xref: "web-platform",
group: "webapps",
Expand Down
12 changes: 6 additions & 6 deletions examples/tpac_2019.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
- Significant speed improvements via IDB caching + cache api.

## "xref" - Automatic references linking
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)]
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)]

```html
<!-- before -->
Expand Down Expand Up @@ -95,7 +95,7 @@

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.

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"]`).
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"]`).

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`.

Expand Down Expand Up @@ -244,7 +244,7 @@ <h2>section 2</h2>
## Web IDL linking

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

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

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

Because copy-paste is hard! It also helps non-ReSpec specifications to get
correct IDLs.
Expand Down Expand Up @@ -398,12 +398,12 @@ <h2>section 2</h2>
## mdn integration
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.

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

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

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

You can also customize exactly which browsers show up.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "module",
"repository": {
"type": "git",
"url": "git://github.com/w3c/respec.git"
"url": "git://github.com/speced/respec.git"
},
"contributors": [
"Marcos Cáceres <[email protected]> (https://marcosc.com/)",
Expand Down
4 changes: 2 additions & 2 deletions src/aom/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function validateDateAndRecover(conf, prop, fallbackDate = new Date()) {
return new Date(formattedDate);
}
const msg =
`[\`${prop}\`](https://github.com/w3c/respec/wiki/${prop}) ` +
`[\`${prop}\`](https://github.com/speced/respec/wiki/${prop}) ` +
`is not a valid date: "${conf[prop]}". Expected format 'YYYY-MM-DD'.`;
showError(msg, name);
return new Date(ISODate.format(new Date()));
Expand Down Expand Up @@ -144,7 +144,7 @@ export function run(conf) {
document.body.prepend(header);
document.body.classList.add("h-entry");

// Requested by https://github.com/w3c/respec/issues/504
// Requested by https://github.com/speced/respec/issues/504
// Makes a record of a few auto-generated things.
pub("amend-user-config", {
publishISODate: conf.publishISODate,
Expand Down
2 changes: 1 addition & 1 deletion src/core/caniuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Module: "core/caniuse"
* Adds a caniuse support table for a "feature" #1238
* Usage options: https://github.com/w3c/respec/wiki/caniuse
* Usage options: https://github.com/speced/respec/wiki/caniuse
*/
import { codedJoinAnd, docLink, showError, showWarning } from "./utils.js";
import { pub, sub } from "./pubsubhub.js";
Expand Down
2 changes: 1 addition & 1 deletion src/core/data-cite.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function getLinkProps(citeDetails) {
href = canonicalHref;
} else {
if (path) {
// See: https://github.com/w3c/respec/issues/1856#issuecomment-429579475
// See: https://github.com/speced/respec/issues/1856#issuecomment-429579475
const relPath = path.startsWith("/") ? `.${path}` : path;
href = new URL(relPath, href).href;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* core/github
*
* @see https://github.com/w3c/respec/wiki/github
* @see https://github.com/speced/respec/wiki/github
*/

import { docLink, getIntlData, showError, showWarning } from "../core/utils.js";
Expand Down
2 changes: 1 addition & 1 deletion src/core/inline-idl-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const attributeRegex = /^((?:\[\[)?(?:\w+(?: +\w+)*)(?:\]\])?)$/;
const baseRegex = /^(?:\w+)\??$/;
const enumRegex = /^(\w+)\["([\w- ]*)"\]$/;
// TODO: const splitRegex = /(?<=\]\]|\b)\./
// https://github.com/w3c/respec/pull/1848/files#r225087385
// https://github.com/speced/respec/pull/1848/files#r225087385
const methodSplitRegex = /\.?(\w+\(.*\)$)/;
const slotSplitRegex = /\/(.+)/;
const isProbablySlotRegex = /\[\[.+\]\]/;
Expand Down
2 changes: 1 addition & 1 deletion src/core/location-hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function run() {
const isLegacyFrag = /\W/.test(newHash);

// Allow some degree of recovery for legacy fragments format.
// See https://github.com/w3c/respec/issues/1353
// See https://github.com/speced/respec/issues/1353
if (!element && isLegacyFrag) {
const id = newHash
// Replace all non-word characters with a dash.
Expand Down
2 changes: 1 addition & 1 deletion src/core/xref.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Searches for the terms which do not have a local definition at xref API and
* for each query, adds `data-cite` attributes to respective elements.
* `core/data-cite` later converts these data-cite attributes to actual links.
* https://github.com/w3c/respec/issues/1662
* https://github.com/speced/respec/issues/1662
*/
/**
* @typedef {import('core/xref').RequestEntry} RequestEntry
Expand Down
4 changes: 2 additions & 2 deletions src/dini/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function validateDateAndRecover(conf, prop, fallbackDate = new Date()) {
return new Date(formattedDate);
}
const msg =
`[\`${prop}\`](https://github.com/w3c/respec/wiki/${prop}) ` +
`[\`${prop}\`](https://github.com/speced/respec/wiki/${prop}) ` +
`is not a valid date: "${conf[prop]}". Expected format 'YYYY-MM-DD'.`;
showError(msg, name);
return new Date(ISODate.format(new Date()));
Expand Down Expand Up @@ -155,7 +155,7 @@ export function run(conf) {
document.body.prepend(header);
document.body.classList.add("h-entry");

// Requested by https://github.com/w3c/respec/issues/504
// Requested by https://github.com/speced/respec/issues/504
// Makes a record of a few auto-generated things.
pub("amend-user-config", {
publishISODate: conf.publishISODate,
Expand Down
2 changes: 1 addition & 1 deletion src/styles/dfn-panel.css.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* dfn popup panel that list all local references to a dfn */
/**
* TODO: Revert changes due to https://github.com/w3c/respec/pull/2888 when
* TODO: Revert changes due to https://github.com/speced/respec/pull/2888 when
* https://github.com/w3c/css-validator/pull/111 is fixed.
*/
const css = String.raw;
Expand Down
4 changes: 2 additions & 2 deletions src/ui/about-respec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function show() {
</p>
<p>
<a href='https://respec.org/docs'>Documentation</a>,
<a href='https://github.com/w3c/respec/issues'>Bugs</a>.
<a href='https://github.com/speced/respec/issues'>Bugs</a>.
</p>
<table border="1" width="100%" hidden="${entries.length ? false : true}">
<caption>
Expand All @@ -82,7 +82,7 @@ function show() {
}

function perfEntryToTR({ name, duration }) {
const moduleURL = `https://github.com/w3c/respec/blob/develop/src/${name}.js`;
const moduleURL = `https://github.com/speced/respec/blob/develop/src/${name}.js`;
return html`
<tr>
<td><a href="${moduleURL}">${name}</a></td>
Expand Down
2 changes: 1 addition & 1 deletion src/w3c/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ export async function run(conf) {
showWarning(msg, name);
}

// Requested by https://github.com/w3c/respec/issues/504
// Requested by https://github.com/speced/respec/issues/504
// Makes a record of a few auto-generated things.
pub("amend-user-config", {
publishISODate: conf.publishISODate,
Expand Down
24 changes: 12 additions & 12 deletions tests/spec/core/github-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ describe("Core - Github", () => {
afterAll(flushIframes);
const stringOpt = {
config: Object.assign(makeBasicConfig(), {
github: "https://github.com/w3c/respec/",
github: "https://github.com/speced/respec/",
excludeGithubLinks: false,
}),
body: makeDefaultBody(),
};
const objOpt = {
config: Object.assign(makeBasicConfig(), {
github: {
repoURL: "https://github.com/w3c/respec/",
repoURL: "https://github.com/speced/respec/",
branch: "develop",
},
excludeGithubLinks: false,
Expand All @@ -37,9 +37,9 @@ describe("Core - Github", () => {
expect(conf.hasOwnProperty("githubAPI")).toBe(true);
expect(conf.githubAPI).toBe("https://respec.org/github");
expect(conf.hasOwnProperty("issueBase")).toBe(true);
expect(conf.issueBase).toBe("https://github.com/w3c/respec/issues/");
expect(conf.issueBase).toBe("https://github.com/speced/respec/issues/");
expect(conf.hasOwnProperty("edDraftURI")).toBe(true);
expect(conf.edDraftURI).toBe("https://w3c.github.io/respec/");
expect(conf.edDraftURI).toBe("https://speced.github.io/respec/");
expect(conf.hasOwnProperty("shortName")).toBe(true);
expect(conf.shortName).toBe("respec");
}
Expand All @@ -66,7 +66,7 @@ describe("Core - Github", () => {
it("doesn't override issueBase, edDraftURI, shortName members if present (from string)", async () => {
const opts = {
config: Object.assign(makeBasicConfig(), dontOverrideTheseOps, {
github: "https://github.com/w3c/respec/",
github: "https://github.com/speced/respec/",
}),
};
const doc = await makeRSDoc(opts);
Expand All @@ -75,7 +75,7 @@ describe("Core - Github", () => {
it("doesn't override issueBase, edDraftURI, shortName members if present (from object)", async () => {
const opts = {
config: Object.assign(makeBasicConfig(), dontOverrideTheseOps, {
github: { repoURL: "https://github.com/w3c/respec/" },
github: { repoURL: "https://github.com/speced/respec/" },
}),
};
const doc = await makeRSDoc(opts);
Expand All @@ -98,25 +98,25 @@ describe("Core - Github", () => {
);
expect(fileABug).toBeTruthy();
expect(fileABug.querySelector("a").href).toBe(
"https://github.com/w3c/respec/issues/"
"https://github.com/speced/respec/issues/"
);
const commitHistory = Array.from(doc.querySelectorAll("dd")).find(
elem => elem.textContent.trim() === "Revisiehistorie"
);
expect(commitHistory).toBeTruthy();
const ghLink = Array.from(doc.querySelectorAll("dd")).find(
elem => elem.textContent.trim() === "GitHub w3c/respec"
elem => elem.textContent.trim() === "GitHub speced/respec"
);
const pullRequests = Array.from(doc.querySelectorAll("dd")).find(
elem => elem.textContent.trim() === "Pull requests"
);
expect(pullRequests).toBeTruthy();
expect(pullRequests.querySelector("a").href).toBe(
"https://github.com/w3c/respec/pulls/"
"https://github.com/speced/respec/pulls/"
);
expect(ghLink).toBeTruthy();
expect(ghLink.querySelector("a").href).toBe(
"https://github.com/w3c/respec/"
"https://github.com/speced/respec/"
);
// This differs between the string and the object tests, so we return it
return commitHistory;
Expand All @@ -125,14 +125,14 @@ describe("Core - Github", () => {
const doc = await makeRSDoc({ ...l10n, ...stringOpt });
const commitHistory = definitionListTest(doc);
expect(commitHistory.querySelector("a").href).toBe(
"https://github.com/w3c/respec/commits/"
"https://github.com/speced/respec/commits/"
);
});
it("generates a participate set of links (from object)", async () => {
const doc = await makeRSDoc({ ...l10n, ...objOpt });
const commitHistory = definitionListTest(doc);
expect(commitHistory.querySelector("a").href).toBe(
"https://github.com/w3c/respec/commits/develop"
"https://github.com/speced/respec/commits/develop"
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion tests/spec/core/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
specStatus: "ED",
shortName: "basics",
editors: [{ name: "Robin Berjon", url: "http://berjon.com/" }],
github: "w3c/respec",
github: "speced/respec",
group: "webapps",
};
</script>
Expand Down
Loading

0 comments on commit 0d1ec9f

Please sign in to comment.