File: README.md

package info (click to toggle)
ifcopenshell 0.8.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 512,808 kB
  • sloc: xml: 904,999; cpp: 642,209; python: 338,172; javascript: 5,328; makefile: 580; sh: 119
file content (33 lines) | stat: -rw-r--r-- 1,129 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# IfcOpenShell C++ API documentation

This folder contains the setup to build the IfcOpenShell C++ API documentation from the source code.

## Generating the documentation

> Prerequisites:
> 
> Make sure to have [Doxygen](https://www.doxygen.nl) and [Graphviz](https://graphviz.org) installed into your `$PATH` variable.
> 
> The documentation also use the [doxygen-awesome](https://jothepro.github.io/doxygen-awesome-css) theme as a git submodule.

Build with the command (from within the `/docs/cpp-api` folder):

```shell
$ doxygen
```

To include the current git commit hash into the build documentation, use the following command:

```shell
$ PROJECT_NUMBER=$(git rev-parse --short HEAD) doxygen
```

This will extract the current commit hash in short version and sets the propper ENV variable used by doxygen.

The generation of the documentation might take a while depending on your systems hardware, as it is configured to generate the Class graphs using .

The resulting documentation is located unter `/cpp-api/output/html` and can be directly accessed with your browser:

```shell
$ open ./output/html/index.html
```