+++
title = "Doxygen"
weight = 70
+++


## Build BornAgain with Doxygen support

Configure with

```bash
cmake .. -GNinja -DCONFIGURE_DOXY=ON
```

or

```bash
cmake .. -GNinja -DDEV=ON
```

Then build the BornAgain API docs with

```bash
ninja doxy
```

Equivalently, use CMake's build command:

```bash
cmake --build . --target doxy
```

The generated files are written to the `html` subdirectory of the build
directory.

To inspect these docs, point your browser to

```bash
file://<absolute build directory path>/html/index.html
```
