To contribute changes to the specification, please
/spec folderThe specification source consists of the markdown files listed in
specs.json and found in the /spec folder. The
specification is automatically rendered (using
Spec-Up) to the /docs
folder of the gh-pages branch of this repository on each pull request merge
(using a GitHub Action), and then published (using GitHub Pages).
Full guidance for using Spec-Up is in its repository. The short version of the instructions to render this specification locally while you are editing is:
node and npmnpm install from the root of the repositorynpm run edit from the root of the repository to render the document with
live updates to the docs/index.html as
you edit the source files.
npm run render to just generate the specification file once.Ctrl-c to exit the live rendering.Please check your edits locally before you submit a pull request!
When you create a pull request to update the specification, the docs/index.html will be
.gitignore’d and not included in your pull request. A GitHub Action triggered on merging pull requests automagically renders the full
specification (docs/index.html) to the gh-pages branch in the repository and the
specification is published (via GitHub Pages) from there.
If you add a source markdown file to the specification, you must also add a reference to it in the specs.json in the root of the repository.