Skip to content

Commit 3b2b602

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

File tree

148 files changed

+6949
-501
lines changed

Some content is hidden

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

148 files changed

+6949
-501
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@v3
20+
21+
- name: Setup Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.x'
25+
26+
- name: Install Dependencies
27+
run: |
28+
pip install sphinx sphinx_rtd_theme
29+
30+
- name: Build Documentation
31+
run: |
32+
sphinx-build -b html docs/ _build
33+
34+
- name: Deploy to GitHub Pages
35+
uses: peaceiris/actions-gh-pages@v3
36+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
37+
with:
38+
publish_branch: gh-pages
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
publish_dir: _build/
41+
force_orphan: true

.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

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)