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
15
.drone.yml
15
.drone.yml
|
@ -3,18 +3,13 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: ubuntu
|
image: itsblue.dev/plugins/doxygen
|
||||||
commands:
|
settings:
|
||||||
- cd docs/
|
doxyfile: docs/Doxyfile-mcss
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: itsblue.dev/plugins/codeberg-pages-deploy
|
image: itsblue.dev/plugins/codeberg-pages-deploy
|
||||||
settings:
|
settings:
|
||||||
folder: public
|
folder: docs/html
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: gitea-ssh-key
|
from_secret: gitea-ssh-key
|
||||||
|
|
|
@ -15,4 +15,4 @@ M_FAVICON = favicon.png
|
||||||
M_LINKS_NAVBAR1 =
|
M_LINKS_NAVBAR1 =
|
||||||
M_LINKS_NAVBAR2 = "<a href=\"index.html\">Introduction</a>" \
|
M_LINKS_NAVBAR2 = "<a href=\"index.html\">Introduction</a>" \
|
||||||
annotated \
|
annotated \
|
||||||
"<a href=\"ScStwSharedLibraries.pdf\">Download</a>"
|
"<a href=\"refman.pdf\">Download</a>"
|
||||||
|
|
Reference in a new issue