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

Having a numbered "References" section? #2943

Open
nicolo-ribaudo opened this issue Oct 24, 2024 · 1 comment
Open

Having a numbered "References" section? #2943

nicolo-ribaudo opened this issue Oct 24, 2024 · 1 comment

Comments

@nicolo-ribaudo
Copy link

We are trying to use Bikeshed for an Ecma spec, and Ecma requires that "References" is a numbered section at the beginning of the document:

  1. Scope
  2. Conformance
  3. References
  4. Terms and definitions
  5. ... the actual spec
  6. ... the actual spec
  7. ... the actual spec

Is it possible to make Bikeshed emit a number of "References"? So far we are using this workaround: https://github.com/tc39/source-map/pull/140/files#diff-3480119203f58f4ecf5c7b07ed2417f18ef132eb6364edcdc4fe5a6b7f0ba612R220-R234

@tabatkins
Copy link
Collaborator

It's not currently possible to do so; as you've found, Bikeshed has Opinions on what sort of heading the References section uses and where it goes.

However, it would be an easy fix to allow you to specify your own heading and have Bikeshed fill that section instead of generating its own.

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

No branches or pull requests

2 participants