mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 07:58:46 +02:00
Added the ability to include drawio diagrams into the sphinx docs. (#107)
This commit is contained in:
parent
3fad05309f
commit
54dd574fb8
6
.github/workflows/documentation.yaml
vendored
6
.github/workflows/documentation.yaml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- docs/timeline-etc
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [reopened, opened, synchronize]
|
types: [reopened, opened, synchronize]
|
||||||
|
|
||||||
@ -12,7 +13,10 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt install pandoc -y
|
- name: Install prio to running the process
|
||||||
|
run: |
|
||||||
|
sudo apt install pandoc snapd -y
|
||||||
|
sudo snap install drawio
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -44,6 +44,7 @@ extensions: Final[list[str]] = [
|
|||||||
"IPython.sphinxext.ipython_console_highlighting",
|
"IPython.sphinxext.ipython_console_highlighting",
|
||||||
"sphinxcontrib.mermaid",
|
"sphinxcontrib.mermaid",
|
||||||
"notfound.extension",
|
"notfound.extension",
|
||||||
|
"sphinxcontrib.drawio",
|
||||||
]
|
]
|
||||||
|
|
||||||
# templates_path : Final[list[str]] = ["_templates"]
|
# templates_path : Final[list[str]] = ["_templates"]
|
||||||
|
@ -4,6 +4,11 @@ Transparenzregister Dokumentation
|
|||||||
=================================
|
=================================
|
||||||
This is the documentation for the AKI project group on the german transparenzregister and an Analysis there of.
|
This is the documentation for the AKI project group on the german transparenzregister and an Analysis there of.
|
||||||
|
|
||||||
|
.. drawio-figure:: project_management/Arch.-Planning.drawio
|
||||||
|
:format: png
|
||||||
|
|
||||||
|
An example diagram
|
||||||
|
|
||||||
.. include:: ../README.md
|
.. include:: ../README.md
|
||||||
:parser: myst_parser.sphinx_
|
:parser: myst_parser.sphinx_
|
||||||
.. include:: ../CONTRIBUTING.md
|
.. include:: ../CONTRIBUTING.md
|
||||||
|
@ -75,6 +75,7 @@ sphinx-copybutton = "^0.5.2"
|
|||||||
sphinx-notfound-page = "^1.0.0"
|
sphinx-notfound-page = "^1.0.0"
|
||||||
sphinx-rtd-theme = "^1.3.0"
|
sphinx-rtd-theme = "^1.3.0"
|
||||||
sphinx_autodoc_typehints = "*"
|
sphinx_autodoc_typehints = "*"
|
||||||
|
sphinxcontrib-drawio = "^0.0.16"
|
||||||
sphinxcontrib-mermaid = "^0.9.2"
|
sphinxcontrib-mermaid = "^0.9.2"
|
||||||
sphinxcontrib-napoleon = "^0.7"
|
sphinxcontrib-napoleon = "^0.7"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user