-
Notifications
You must be signed in to change notification settings - Fork 41
153 add instructions for antora based spec template #154
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
Merged
Bill Traynor (wmat)
merged 30 commits into
main
from
153-add-instructions-for-antora-based-spec-template
Jul 16, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
19f5db8
Changes for Antora instructions.
wmat e031176
More changes for Antora instructions.
wmat 9f5820e
Updates for Antora.
wmat 73ea4e3
Adds a changelog.
wmat b245016
Adds a changelog.
wmat 177ad8c
:Merge branch '153-add-instructions-for-antora-based-spec-template' o…
wmat bd54c31
More changes for Antora instructions.
wmat dc1c5e1
Updates for Antora.
wmat 57d22dc
Adds a changelog.
wmat 472ccfb
Merge branch '153-add-instructions-for-antora-based-spec-template' of…
wmat 3c7eab6
Addressing feedback.
wmat 2a4cf00
Addressing feedback.
wmat 4315fb2
Merge branch '153-add-instructions-for-antora-based-spec-template' of…
wmat cbc38db
Update src/authoring.adoc
wmat 49b3002
Use repository, not repo.
wmat 4110300
Replace appendices with appendixes
wmat 8161711
Vale fixes
wmat 2185f70
More fixes to satisfy Vale
wmat 1649028
Replace Fatal with unrecoverable.
wmat aebef0f
Added git-submodules descriptor.
wmat b8f86f7
Describe the nav file better.
wmat 819a806
Itemize pages directory.
wmat 9b0b405
Added resource file description.
wmat b17e3ad
Explain antora.yml attributes with example.
wmat 2e22b94
Add version numbering
wmat cf1e9ff
Fixing description of nav attribute.
wmat 9d06f09
Describe page-group and other attributes.
wmat 5decdea
Removed text about nested xrefs and updated description.
wmat c8e4a95
Updated images dir description.
wmat c8836f0
Removed some text around the kroki server
wmat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Changes | ||
|
|
||
| ## 2026-06-08 — Antora structure and documentation site guidance | ||
|
|
||
| ### New files | ||
|
|
||
| - `src/antora-structure.adoc` — New section documenting the Antora-based repository layout used by RISC-V specification repositories. Covers `antora.yml`, `modules/ROOT/pages/`, `modules/ROOT/nav.adoc`, `modules/ROOT/images/`, and how to register a specification with the RISC-V documentation site by submitting a pull request to [riscv-admin/antora-dev.riscv.org](https://github.com/riscv-admin/antora-dev.riscv.org). Includes content-source entry format, chapter numbering rules configuration, branch naming conventions, and Antora installation instructions. | ||
|
|
||
| ### Modified files | ||
|
|
||
| **`src/docs-dev-guide.adoc`** | ||
| - Added `include::antora-structure.adoc[]` between `authoring.adoc` and `a_few_basics.adoc`. | ||
|
|
||
| **`src/authoring.adoc`** | ||
| - Updated repository reference from `docs-templates` to `docs-spec-template`. | ||
| - Replaced stale `asciidoctor book_header.adoc` quick-build command with the correct entry point (`asciidoctor modules/ROOT/pages/spec-sample.adoc`) and a `make` alternative. | ||
| - Updated description of template repo to reflect Antora-based directory structure. | ||
|
|
||
| **`src/a_few_basics.adoc`** | ||
| - Updated two references to `book_header.adoc` (lines 91 and 334) to `modules/ROOT/pages/spec-sample.adoc` in the docs-spec-template repo. | ||
|
|
||
| **`src/build-infrastructure.adoc`** | ||
| - Added `=== Source directory` subsection noting that `SRC_DIR` is now `modules/ROOT/pages/` and cross-referencing the antora-structure section. | ||
| - Added `[[spec-types]]` subsection distinguishing ISA specifications (authored on a branch/fork of riscv-isa-manual) from non-ISA specifications (authored in an autonomous repository using docs-spec-template). | ||
| - Added `[[spec-lifecycle]]` section defining the four specification states (Draft, Stable, Frozen, Ratified) with `:revremark:` examples and a link to `riscv.org/spec-state`. | ||
| - Documented that state advancement is entirely manual — no automation promotes a specification between states. | ||
| - Documented the non-ISA release process using the `workflow_dispatch` GitHub Actions trigger, including the `revision_mark` input and a note on keeping it consistent with `:revremark:` in the source. | ||
| - Documented that ISA specification state is managed within the relevant chapter(s) of the riscv-isa-manual branch where the author is working. | ||
|
|
||
| **`src/intro.adoc`** | ||
| - Added `[[getting-help]]` subsection consolidating help resources: `sig-documentation` mailing list, `help@riscv.org`, docs-dev-guide GitHub issues, and antora-dev.riscv.org GitHub issues. | ||
|
|
||
| **`local_build.md`** | ||
| - Updated `## AsciiDoc book headers and styles` section to reference `modules/ROOT/pages/spec-sample.adoc` as the document entry point and `docs-resources/global-config.adoc` for shared attributes. | ||
| - Updated `## Create and name a new .adoc file` to reflect the Antora workflow: new files go in `modules/ROOT/pages/`, are included in `spec-sample.adoc` for the PDF build, and registered in `modules/ROOT/nav.adoc` for the Antora site. | ||
| - Updated `## HTML build` section to use `make` and the correct entry point (`modules/ROOT/pages/spec-sample.adoc`) in place of stale `book_header.adoc` references. | ||
| - Added `## Antora site build` section covering `make antora`, output location, and Antora installation (`npm install -g antora`). | ||
| - Added `## Run a local Kroki server for diagrams` section with the Docker run command (`docker run -d -p 9870:8000 yuzutech/kroki`), a stop command, and a note that the dev playbook is already configured for `localhost:9870`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.