From 206d55f301da6fbbb7c8ae3932349cb2bbc57efb Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Fri, 5 Aug 2022 09:26:54 +0200 Subject: [PATCH] Feat: use plugins/doxygen for documentation --- .drone.yml | 15 +++++---------- docs/Doxyfile-mcss | 2 +- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5416b17..4119dd5 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file + from_secret: gitea-ssh-key diff --git a/docs/Doxyfile-mcss b/docs/Doxyfile-mcss index d2e1e60..54ef6bf 100644 --- a/docs/Doxyfile-mcss +++ b/docs/Doxyfile-mcss @@ -15,4 +15,4 @@ M_FAVICON = favicon.png M_LINKS_NAVBAR1 = M_LINKS_NAVBAR2 = "Introduction" \ annotated \ - "Download" + "Download"