2020-03-02 16:40:34 +08:00
|
|
|
# C++ Reference
|
2019-08-01 21:42:19 +08:00
|
|
|
We use Doxygen to generate the documentation of our C++ code:
|
|
|
|
|
|
|
|
[Libcarla/Source](http://carla.org/Doxygen/html/dir_b9166249188ce33115fd7d5eed1849f2.html)<br>
|
2024-03-04 20:33:51 +08:00
|
|
|
[Unreal/CarlaUnreal/Source](http://carla.org/Doxygen/html/dir_733e9da672a36443d0957f83d26e7dbf.html)<br>
|
|
|
|
[Unreal/CarlaUnreal/Carla/Plugins](http://carla.org/Doxygen/html/dir_8fc34afb5f07a67966c78bf5319f94ae.html)
|
2019-08-01 21:42:19 +08:00
|
|
|
|
|
|
|
The generated documentation is available at this link **<http://carla.org/Doxygen/html/index.html>**
|
|
|
|
|
|
|
|
!!! note
|
|
|
|
Document updates are done automatically by GitHub.
|
|
|
|
|
|
|
|
### Create doxygen documentation
|
|
|
|
|
|
|
|
!!! important
|
|
|
|
[Doxygen](http://www.doxygen.nl/index.html) is required to generate the documentation
|
|
|
|
and [Graphviz](https://www.graphviz.org/) for the graph drawing toolkit.
|
|
|
|
|
|
|
|
1- Install doxygen and graphviz with the following command:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
# linux
|
|
|
|
> sudo apt-get install doxygen graphviz
|
|
|
|
```
|
|
|
|
|
|
|
|
2- Once installed, go to the project root folder where the _Doxyfile_ file is situated and
|
|
|
|
run the following command:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
> doxygen
|
|
|
|
```
|
|
|
|
|
|
|
|
It will start to build the documentation webpage.
|
|
|
|
The resulting webpage can be found at Doxygen/html/
|
|
|
|
|
|
|
|
3- Open _index.html_ in a browser. Now you have your local cpp documentation!
|