anoncreds-spec-v2

Editing the Specification

To contribute changes to the specification, please

The 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).

Testing your Edits Locally

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:

Please check your edits locally before you submit a pull request!

Handling the Rendered Specification File

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.

Adding a New Source Markdown File

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.