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

w3c-state #2163

Closed
svgeesus opened this issue Nov 9, 2021 · 2 comments
Closed

w3c-state #2163

svgeesus opened this issue Nov 9, 2021 · 2 comments

Comments

@svgeesus
Copy link
Contributor

svgeesus commented Nov 9, 2021

The new w3c-state 2021 pubrules requirement does not seem to be supported. The specberus error is:

Cannot find the <p id="w3c-state"> element for profile and date.

Please make sure the <p id="w3c-state">W3C @@Profile, DD Month Year</p> element can be selected by document.getElementById('w3c-state');
If you are using bikeshed, please update to the latest version.
https://www.w3.org/pubrules/doc/rules/?profile=CRD#dateState

I'm using the latest version of bikeshed (pulled from GitHub just now).

What used to be an h2 in the old style is now a p with the special id=w3c-state and a link around the document status. See this example:

<h1 id="title" class="title p-name">High Resolution Time</h1>

  <p id='w3c-state'>
    <a href='https://www.w3.org/standards/types'>W3C Candidate Recommendation Draft</a>
    <time class="dt-published" datetime="2021-11-03">03 November 2021</time>
  </p>

from https://github.com/w3c/specberus/blob/main/test/docs/p2021/2021-crd.html

I'm making this change manually in the bikeshed generated output, since I am apparently the lucky first person to publish a CRD since Process 2021 came into effect this month.

This will apply to all W3C documents, not just CRD.

@svgeesus
Copy link
Contributor Author

Will be partly fixed by speced/bikeshed-boilerplate#5 although wrapping status in a link still remains to be done

@dbaron
Copy link
Contributor

dbaron commented Nov 11, 2021

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

No branches or pull requests

3 participants