rmm-ch commited on
Commit
48563c2
·
unverified ·
2 Parent(s): d4a9766 b7922ef

Merge pull request #12 from sdsc-ordes/chore/mkdocs

Browse files
.github/workflows/mkdocs-ci.yml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: mkdocs-ci
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ - main
7
+ permissions:
8
+ contents: write
9
+ jobs:
10
+ deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Configure Git Credentials
15
+ run: |
16
+ git config user.name github-actions[bot]
17
+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: 3.x
21
+ - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
22
+ - uses: actions/cache@v4
23
+ with:
24
+ key: mkdocs-material-${{ env.cache_id }}
25
+ path: .cache
26
+ restore-keys: |
27
+ mkdocs-material-
28
+ - run: pip install mkdocs-material
29
+ - run: pip install "mkdocstrings[python]"
30
+ - run: pip install mkdocs-homepage-copier
31
+ - run: mkdocs gh-deploy --force
.github/workflows/{push_to_hf.yml → push-to-hf.yml} RENAMED
File without changes
docs/app.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Here is the documentation for the app code generating the streamlit front-end.
2
+
3
+ # Streamlit App
4
+
5
+ ::: basic_map.app
mkdocs.yaml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ site_name: Saving Willy Code Documentation
2
+ dev_addr: 127.0.0.1:8888
3
+ theme:
4
+ name: material
5
+
6
+ markdown_extensions:
7
+ - pymdownx.snippets:
8
+ check_paths: true
9
+ - pymdownx.superfences:
10
+ custom_fences:
11
+ - name: mermaid
12
+ class: mermaid
13
+
14
+ plugins:
15
+ - mkdocs-homepage-copier
16
+ - mkdocstrings:
17
+ default_handler: python
18
+ handlers:
19
+ python:
20
+ paths: [src]
21
+
22
+
23
+ nav:
24
+ - README: index.md
requirements.txt CHANGED
@@ -26,3 +26,9 @@ pillow==10.4.0
26
  ## also need opencv for handling images in the later model with preprocessing
27
  opencv-python-headless==4.5.5.64
28
  albumentations==1.1.0
 
 
 
 
 
 
 
26
  ## also need opencv for handling images in the later model with preprocessing
27
  opencv-python-headless==4.5.5.64
28
  albumentations==1.1.0
29
+
30
+ # documentation: mkdocs
31
+ mkdocs~=1.6.0
32
+ mkdocstrings[python]>=0.25.1
33
+ mkdocs-material~=9.5.27
34
+ mkdocs-homepage-copier~=1.0.0