Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions .github/workflows/clang_format.yml_

This file was deleted.

67 changes: 67 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Docs

on:
push:
paths:
- "**/workflows/docs.yml"
- "**/docs/**"
branches: [main]
pull_request:
paths:
- "**/workflows/docs.yml"
- "**/docs/**"
branches: [main]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install Doxygen
run: sudo apt-get update && sudo apt-get install -y doxygen

- name: Run Doxygen
run: doxygen Doxyfile

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install Python deps
run: pip install -r docs/requirements.txt

- name: Build Sphinx
run: |
python -m sphinx -T -j auto -b html \
-d docs/_build/doctrees \
-D language=en \
docs \
docs/_build/html

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html

deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ __pycache__/
.cache/
docs/superpowers/
reasonix.toml

# Documentation generated output
docs/_build/
docs/_doxygen/
docs/api-reference/
20 changes: 0 additions & 20 deletions .readthedocs.yaml

This file was deleted.

Loading
Loading