A Drone CI tool to easilly deploy documentation on CodeDoc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Override-6 fcac050092
Merge branch 'master' of https://codefirst.iut.uca.fr/git/maxime.batista/codefirst-docdeployer into pr
2 years ago
generators doxygen generator now considerates input path as the used Doxyfile path instead of a path of a folder that contains a Doxyfile file 2 years ago
.drone.yml prepared to PR 2 years ago
.gitignore changed doc destination path 2 years ago
Dockerfile prepared to PR 2 years ago
README.md Merge branch 'master' of https://codefirst.iut.uca.fr/git/maxime.batista/codefirst-docdeployer into pr 2 years ago
entrypoint.sh fix 2 years ago

README.md

Docdeployer

Usage:

steps:
  - name: swagger-doc
    image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
    commands:
      - /entrypoint.sh <arguments>

entrypoint.sh

This command generates the documentation and deploys it on your CodeDoc space

arguments

  • -l --loc [dir] location of the documentation sources root - required
  • -t --type [docusaurus|doxygen|swagger] type of documentation generator to use. - required
  • -d --dest [dir] path to where to put the documentation outputs in your repository's CodeDoc space - optional !! cannot be absolute !!

Note !
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/Doxyfile -t doxygen -d sourcecode_documentation 

How to add custom documentation generator ?