Skip to content

Commit

Permalink
Switch to using simpler asciidoctor bytefield extension approach.
Browse files Browse the repository at this point in the history
No longer depend on unreleased branches of Antora, but instead use the
just-published asciidoctor.js extension to handle bytefield blocks.

Also updated the local documentation build to enable LUNR search.
  • Loading branch information
brunchboy committed Mar 31, 2020
1 parent 27fdaf1 commit 0a0d121
Show file tree
Hide file tree
Showing 6 changed files with 2,603 additions and 21 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ pom.xml.asc
.hgignore
.hg/
/node_modules
/package-lock.json
3 changes: 1 addition & 2 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ fully driven by `npm`!
npm install

This will install the dependencies needed for building the
documentation site, including David Jenks' not-yet-merged enhancements
to Antora.
documentation site.

2. Then whenever you want to build a local preview of the
documentation site, you can run:
Expand Down
6 changes: 1 addition & 5 deletions doc/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ content:
asciidoc:
extensions:
- asciidoctor-mathjax
plugins:
- path: antora-generic-svg-extension-plugin
config:
generator: bytefield-svg
name: bytefield
- "@deepsymmetry/asciidoctor-bytefield"
ui:
bundle:
url: https://deepsymmetry.org/media/antora/ui-bundle.zip
Expand Down
7 changes: 1 addition & 6 deletions doc/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ content:
asciidoc:
extensions:
- asciidoctor-mathjax
plugins:
- path: antora-generic-svg-extension-plugin
config:
generator: bytefield-svg
name: bytefield
- path: antora-lunr
- "@deepsymmetry/asciidoctor-bytefield"
ui:
bundle:
url: https://deepsymmetry.org/media/antora/ui-bundle.zip
Expand Down
Loading

0 comments on commit 0a0d121

Please sign in to comment.