Christopher Sean Morrison c3157d9c3c Merge pull request #13 from dashohoxha/main
Antora update, fix lunr search, and more.  Thank you Dashamir!
2024-03-04 03:38:30 -05:00
2022-02-09 15:08:14 +01:00
2022-02-11 08:20:10 +03:00
2021-12-09 06:58:42 +01:00
2024-03-04 07:54:04 +01:00
2024-03-04 08:06:01 +01:00
2022-02-09 13:58:19 +01:00
2022-02-07 10:19:14 +03:00
2024-03-04 07:57:45 +01:00
2024-03-04 08:06:01 +01:00

= 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.5/install.sh | bash
source ~/.bashrc
command -v nvm
....

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

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

npm install
npx antora -v
....


== Build the docs

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

- For the online site: +
  `CI=true 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
201 MiB
0 Stars 3 Watchers 0 Forks
Languages
Roff 81.9%
HTML 17.3%
Handlebars 0.4%
CSS 0.3%