Merge branch 'master' of https://codefirst.iut.uca.fr/git/maxime.batista/codefirst-docdeployer into pr
continuous-integration/drone/push Build was killed Details

pr
Maxime BATISTA 2 years ago
commit fcac050092

@ -20,13 +20,14 @@ This command generates the documentation and deploys it on your CodeDoc space
- `-d --dest [dir]` path to where to put the documentation outputs in your repository's CodeDoc space - **optional <u>!! cannot be absolute !!</u>**
Note !
For swagger, you have to pass the configuration file instead of a directory
For swagger and doxygen, you have to pass the configuration file instead of a directory
usage examples :
```
/entrypoint.sh -l ./documentation/api/api-swagger.yml -t swagger -d api_documentation
/entrypoint.sh -l ./documentation/app -t docusaurus -d application_documentation
/entrypoint.sh -l ./src -t doxygen -d sourcecode_documentation
/entrypoint.sh -l ./src/Doxyfile -t doxygen -d sourcecode_documentation
```
### How to add custom documentation generator ?

@ -8,7 +8,7 @@ generate() {
fi
doxygen -u
doxygen "$1/Doxyfile"
doxygen "$1"
mkdir -p $GEN_PATH
mv html/* $GEN_PATH

Loading…
Cancel
Save