This holds the source for the user
guide that explains how to
use bytefield-svg
.
It is built by Antora by Github Actions after
commits to the main
branch, which runs the appropriate
playbook on the component
descriptor and source.
If you would like to build the documentation site in order to preview
changes you are making, you can use an npm
script to do it, because
npm
has already installed the dependencies needed for building the
documentation site.
To build the site, cd
into the bytefield-svg
repository and run
the following commands:
npm install
npm run release
npm run local-docs
This will install the development dependencies needed for building the
module and documentation site, and then build bytefield-svg
itself,
which is needed to render the example diagrams.
Running that will result in building the documentation site in the
doc/build
subdirectory, based on the current source in your
repository. You can view it by telling a browser to open
doc/build/site/index.html
.