Feat: use plugins/doxygen for documentation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0f269a7637
commit
206d55f301
2 changed files with 6 additions and 11 deletions
13
.drone.yml
13
.drone.yml
|
@ -3,18 +3,13 @@ name: default
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: ubuntu
|
||||
commands:
|
||||
- cd docs/
|
||||
- apt update && apt install -y git doxygen python3-pip
|
||||
- git clone https://github.com/mosra/m.css
|
||||
- pip3 install jinja2 Pygments
|
||||
- ./m.css/documentation/doxygen.py ./Doxyfile-mcss
|
||||
- mv ./html ../public
|
||||
image: itsblue.dev/plugins/doxygen
|
||||
settings:
|
||||
doxyfile: docs/Doxyfile-mcss
|
||||
|
||||
- name: publish
|
||||
image: itsblue.dev/plugins/codeberg-pages-deploy
|
||||
settings:
|
||||
folder: public
|
||||
folder: docs/html
|
||||
ssh_key:
|
||||
from_secret: gitea-ssh-key
|
|
@ -15,4 +15,4 @@ M_FAVICON = favicon.png
|
|||
M_LINKS_NAVBAR1 =
|
||||
M_LINKS_NAVBAR2 = "<a href=\"index.html\">Introduction</a>" \
|
||||
annotated \
|
||||
"<a href=\"ScStwSharedLibraries.pdf\">Download</a>"
|
||||
"<a href=\"refman.pdf\">Download</a>"
|
||||
|
|
Reference in a new issue