1 # Building documentation
5 To specify the source files for which to build documentation, modify `INPUT`
6 and its related fields in `doc/source.dox`. Note that the `INPUT` paths are
7 relative to the `doc/` directory.
9 ## Install Dependencies
13 Install these dependencies:
15 1. Install [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html)
16 2. Download the following zip files from [xsltproc](https://www.zlatkovic.com/pub/libxml/)
17 (Alternate download: ftp://ftp.zlatkovic.com/libxml/),
18 and extract the `bin\` folder contents into any folder in your path.
23 3. Download [Boost](http://www.boost.org/users/download/)
24 1. Extract the compressed file contents to your (new) `$BOOST_ROOT` location.
25 2. Open a command prompt or shell in the `$BOOST_ROOT`.
27 4. If it is not already there, add your `$BOOST_ROOT` to your environment `$PATH`.
32 * Use homebrew to install: `brew install doxygen`. The executable will be
33 installed in `/usr/local/bin` which is already in your path.
34 * Alternatively, install from here: [doxygen](http://www.stack.nl/~dimitri/doxygen/download.html).
35 You'll then need to make doxygen available to your command line. You can
36 do this by adding a symbolic link from `/usr/local/bin` to the doxygen
37 executable. For example, `$ ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin/doxygen`
38 2. Install [Boost](http://www.boost.org/users/download/)
39 1. Extract the compressed file contents to your (new) `$BOOST_ROOT` location.
40 2. Open a command prompt or shell in the `$BOOST_ROOT`.
41 3. `$ ./bootstrap.bat`
42 4. If it is not already there, add your `$BOOST_ROOT` to your environment
43 `$PATH`. This makes the `b2` command available to the command line.
44 3. That should be all that's required. In OS X 10.11, at least, libxml2 and
45 libxslt come pre-installed.
49 1. Install [Docker](https://docs.docker.com/engine/installation/)
50 2. Build Docker image. From the Beast root folder:
52 sudo docker build -t beast-docs doc/
59 From the Beast root folder:
64 The output will be in `doc/html`.
68 From the Beast root folder:
70 sudo docker run -v $PWD:/opt/beast --rm beast-docs
72 The output will be in `doc/html`.