File: doc_generation.md

package info (click to toggle)
mintpy 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,340 kB
  • sloc: python: 39,151; javascript: 6,880; sh: 376; makefile: 16
file content (18 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
We use [Doxygen](http://www.doxygen.nl/) to generate the API documentation automatically.

+ Install Doxygen following [link](http://www.doxygen.nl/download.html) if you have not already done so.

+ Run doxygen command with `MintPy/docs/Doxyfile` to generate the API documentation in html and latex format (to `$MINTPY_HOME/docs/api_docs` by default).

```bash
cd $MINTPY_HOME/docs/api
/Applications/Doxygen.app/Contents/Resources/doxygen Doxyfile
open ../api_docs/html/index.html
```

+ To generate hyperlinked PDF version of the API documentation from latex:

```bash
cd $MINTPY_HOME/docs/api_docs/latex
make
```