]> git.proxmox.com Git - ceph.git/blame - ceph/src/Beast/doc/README.md
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / doc / README.md
CommitLineData
7c673cae
FG
1# Building documentation
2
3## Specifying Files
4
5To specify the source files for which to build documentation, modify `INPUT`
6and its related fields in `doc/source.dox`. Note that the `INPUT` paths are
7relative to the `doc/` directory.
8
9## Install Dependencies
10
11### Windows
12
13Install these dependencies:
14
151. Install [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html)
162. 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.
19 * iconv
20 * libxml2
21 * libxslt
22 * zlib
233. 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`.
26 3. `./bootstrap.bat`
27 4. If it is not already there, add your `$BOOST_ROOT` to your environment `$PATH`.
28
29### MacOS
30
311. Install doxygen:
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`
382. 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.
443. That should be all that's required. In OS X 10.11, at least, libxml2 and
45 libxslt come pre-installed.
46
47### Linux
48
491. Install [Docker](https://docs.docker.com/engine/installation/)
502. Build Docker image. From the Beast root folder:
51```
52sudo docker build -t beast-docs doc/
53```
54
55## Do it
56
57### Windows & MacOS
58
59From the Beast root folder:
60```
61cd doc
62./makeqbk.sh && b2
63```
64The output will be in `doc/html`.
65
66### Linux
67
68From the Beast root folder:
69```
70sudo docker run -v $PWD:/opt/beast --rm beast-docs
71```
72The output will be in `doc/html`.