feat: Add Doxygen documentation and Gitea workflow

This commit introduces Doxygen for documentation generation and a Gitea
workflow for continuous integration.

- Adds a `Doxyfile` to configure Doxygen to build a documentation
  website with diagrams.
- Updates `AGENTS.md` to require Doxygen-compatible comments for all
  code.
- Adds Doxygen comments to existing C++ source files to comply with
  the new standard.
- Creates a Gitea workflow (`.gitea/workflows/build.yml`) that:
  - Builds the project on every push.
  - Generates Doxygen documentation.
  - Uploads the compiled library and the documentation website as
    artifacts.
This commit is contained in:
google-labs-jules[bot]
2025-08-18 09:56:29 +00:00
parent 043e89ddfe
commit bfa583d574
5 changed files with 128 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Build and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ cmake doxygen graphviz
- name: Build
run: ./build.sh
- name: Generate Documentation
run: doxygen Doxyfile
- name: Upload Library Artifact
uses: actions/upload-artifact@v4
with:
name: medical-lib
path: build/lib
- name: Upload Documentation Artifact
uses: actions/upload-artifact@v4
with:
name: documentation
path: docs/html