You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the following commands once for the initial setup:
4
4
5
5
- Make sure nodejs (LTS version >= 16.0.0) & npm are installed: `sudo apt install nodejs npm`
6
6
- Make sure you are in the doc folder: `cd doc`
7
7
- Run the Make target for the setup: `make setup`
8
8
9
-
The setup creates a pseudo-repository in the doc folder:
10
-
Antora requires the doc sources to be located within a git repository, but it cannot recognize git submodules. By setting up a pseudo-repository, the local documentation build works when MSM is used as a standalone repo as well as when MSM is opened from a submodule path within the Boost super-project.
9
+
Antora requires the doc sources to be located within a git repository, but it cannot recognize git submodules.
10
+
You can set up a pseudo-repository with `git init && git commit --allow-empty -m init` to make the local documentation build work when MSM is opened from a submodule path within the Boost super-project.
11
11
12
12
After the initial setup is done, build the the documentation with `make build`.
13
13
14
14
If you are not interested in viewing the generated API reference, you can speed up the documenation build with the ENV `ANTORA_SKIP_CPP_REFERENCE=1`.
15
+
16
+
The Antora Cpp reference extension will clone the complete Boost repo to a cache folder. If you want to use an existing folder instead, set up an ENV `BOOST_SRC_DIR` to point to it.
0 commit comments