Skip to content

Commit 783bcbd

Browse files
committed
Merge pull request #24 from LeanderCS/23
23 | Add documentary
2 parents 291707f + a4d0aa6 commit 783bcbd

File tree

98 files changed

+1140
-502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1140
-502
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy Sphinx Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-latest
16+
environment: github-pages
17+
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v3
21+
22+
- name: Setup Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install Dependencies
28+
run: |
29+
pip install sphinx sphinx_rtd_theme
30+
31+
- name: Build Documentation
32+
run: |
33+
sphinx-build -b html docs/ _build
34+
35+
- name: Upload artifacts
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: _build
39+
name: github-pages
40+
41+
- name: Deploy to GitHub Pages
42+
uses: actions/deploy-pages@v4
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
artifact_name: github-pages
46+
preview: false

.github/workflows/test_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/cache@v4
1919
with:
2020
path: /tmp/.buildx-cache
21-
key: ${{ runner.os }}-docker-flask-inputfilter-env-${{ hashFiles('Dockerfile') }}
21+
key: ${{ runner.os }}-docker-flask-inputfilter-env-${{ hashFiles('env_configs/Dockerfile') }}
2222
restore-keys: |
2323
${{ runner.os }}-docker-flask-inputfilter-env-
2424

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,4 @@ cython_debug/
157157
.idea/
158158
.vscode/
159159
.DS_Store
160+
_build

CHAGELOG.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

CREATE_OWN.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

DEVELOPMENT.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

EXTERNAL_API.md

Lines changed: 0 additions & 118 deletions
This file was deleted.

Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 commit comments

Comments
 (0)