Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bib references in text instead of URLs #456

Merged
merged 2 commits into from Feb 27, 2023
Merged

Conversation

danielpeintner
Copy link
Contributor

@danielpeintner danielpeintner commented Feb 20, 2023

Note1: I used data-cite to be able to use fragment identifiers. I know xref is the new recommended way of linking to terms in other specs. However, xref does not seem to support fragment identifiers.

Note2: I think using bib references everywhere makes it very easy and simple to update to a new version of a spec. Hence it reduces costs and eliminates issues like that a URL has been forgotten to be updated.

Note3: There are more URLs we could update, but I am not sure which xref key to use for the following URLs:

fixes #454


Preview | Diff

<a href="https://infra.spec.whatwg.org/#
parse-json-bytes-to-a-javascript-value
parse-json-from-bytes">parsed JSON object</a> that has been validated according to the [[[WOT-TD]]] specification.
<a data-cite="infra#parse-json-bytes-to-a-javascript-value">parsed JSON object</a> that has been validated according to the [[[WOT-TD]]] specification.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this actually fixes a bug.

@relu91
Copy link
Member

relu91 commented Feb 27, 2023

Call 27/02/2023: PR approved.

TODOs: About Note3 please use https://respec.org/xref.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use BibTex references also in the text
3 participants