= README

== Installation

. https://github.com/nvm-sh/nvm#installation-and-update[Install `nvm`]:
+
[source,bash]
....
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
command -v nvm
....

. Install the latest Node LTS release:
+
[source,bash]
....
nvm install --lts
node --version
nvm alias default 16
....

. Get the code of the docs and install antora packages:
+
[source,bash]
....
git clone https://github.com/BRL-CAD/brlcad-docs
cd brlcad-docs/
npm install
npx antora -v
....


== Build the docs

- For development: +
  `npx antora build-dev.yml`

- For the online site: +
  `npx antora build.yml`

- For the offline site:
+
[source,bash]
....
dest=/usr/local/share/doc/brlcad
rm -rf $dest
npx antora build.yml --to-dir=$dest --url=$dest
....

- To (re)generate the man pages: +
  `utils/manpages.sh`
S
Description
BRL-CAD documentation, based on Antora.
Readme
200 MiB
0 Stars 3 Watchers 0 Forks
Languages
Roff 81.3%
HTML 17.2%
JavaScript 0.7%
Handlebars 0.4%
CSS 0.3%