Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI documentation building + GitHub Pages deployment #503

Closed
wants to merge 2 commits into from
Closed
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
53 changes: 53 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build and publish documentation

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
name: MkDocs build
permissions:
contents: write

steps:
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: 3dgeo-heidelberg/helios.wiki
path: ./doc/helios.wiki

- uses: actions/setup-python@v5

- name: Install Python dependencies
run: |
python -m pip install mkdocs mkdocs-material python-markdown-math mkdoxy

- uses: ssciwr/doxygen-install@v1

- name: Build the documentation
working-directory: ./doc
run: |
python -m mkdocs build

- uses: actions/upload-pages-artifact@v3
with:
path: 'doc/site/'

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/deploy-pages@v4
id: deployment
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 2 additions & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
helios.wiki

33 changes: 33 additions & 0 deletions wiki-repo/mkdocs.yml → doc/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ use_directory_urls: false
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML
- fixlinks.js
plugins:
- mkdoxy:
projects:
heliosAPI:
src-dirs: ../src
full-doc: True
doxy-cfg:
SHORT_NAMES: True
full-doc: True
debug: False
ignore-errors: False
markdown_extensions:
- mdx_math:
use_gitlab_delimiters: true
Expand Down Expand Up @@ -41,6 +52,28 @@ nav:
- 'Getting started': 'Python-bindings-🐍-Getting-started.md'
- 'Details': 'Python-bindings-🐍-Details.md'
- 'pyhelios: the util subpackage': 'pyhelios-🐍-The-util-subpackage.md'
- 'C++ API documentation':
- "Links": "heliosAPI/links.md"
- "Classes":
- "Class List": "heliosAPI/annotated.md"
- "Class Index": "heliosAPI/classes.md"
- "Class Hierarchy": "heliosAPI/hierarchy.md"
- "Class Members": "heliosAPI/class_members.md"
- "Class Member Functions": "heliosAPI/class_member_functions.md"
- "Class Member Variables": "heliosAPI/class_member_variables.md"
- "Class Member Typedefs": "heliosAPI/class_member_typedefs.md"
- "Class Member Enumerations": "heliosAPI/class_member_enums.md"
- "Namespaces":
- "Namespace List": "heliosAPI/namespaces.md"
- "Namespace Members": "heliosAPI/namespace_members.md"
- "Namespace Member Functions": "heliosAPI/namespace_member_functions.md"
- "Namespace Member Variables": "heliosAPI/namespace_member_variables.md"
- "Namespace Member Typedefs": "heliosAPI/namespace_member_typedefs.md"
- "Namespace Member Enumerations": "heliosAPI/namespace_member_enums.md"
- "Functions": "heliosAPI/functions.md"
- "Variables": "heliosAPI/variables.md"
- "Macros": "heliosAPI/macros.md"
- "Files": "heliosAPI/files.md"
- 'Misc':
- 'Dealing with large scenes': 'Dealing-with-large-scenes.md'
- 'Scene generation - external tools': 'Supplementary-tools-for-scene-generation.md'
Expand Down
12 changes: 0 additions & 12 deletions wiki-repo/BUILDME.md

This file was deleted.

1 change: 0 additions & 1 deletion wiki-repo/helios.wiki
Submodule helios.wiki deleted from 44a38a
Loading