File tree Expand file tree Collapse file tree 6 files changed +91
-0
lines changed
Expand file tree Collapse file tree 6 files changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build documentation
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ permissions :
10+ contents : write
11+
12+ jobs :
13+ docs :
14+ runs-on : ubuntu-24.04
15+
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - uses : mamba-org/setup-micromamba@v1
21+ with :
22+ micromamba-version : ' 2.0.5-0' # any version from https://github.com/mamba-org/micromamba-releases
23+ environment-file : environment.yml
24+ init-shell : bash
25+ cache-environment : true
26+ post-cleanup : ' all'
27+ generate-run-shell : false
28+
29+ - name : Sphinx build
30+ run : |
31+ sphinx-build doc _build
32+ shell : bash -el {0}
33+
34+ - name : Deploy to GitHub Pages
35+ uses : peaceiris/actions-gh-pages@v4
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
Original file line number Diff line number Diff line change 1+ Data /
2+ Results /
3+ Experiments /
4+ _build /
Original file line number Diff line number Diff line change 1+ # About this code
2+
3+ Work in progress ...
Original file line number Diff line number Diff line change 1+ project = "Collaborative Coding Exam"
2+ copyright = "2025, SFI Visual Intelligence"
3+ author = "SFI Visual Intelligence"
4+ release = "0.0.1"
5+
6+ exclude_patterns = ["_build" , "Thumbs.db" , ".DS_Store" ]
7+
8+ extensions = [
9+ "myst_parser" , # in order to use markdown
10+ ]
11+
12+ myst_enable_extensions = [
13+ "colon_fence" , # ::: can be used instead of ``` for better rendering
14+ ]
15+
16+ html_theme = "sphinx_rtd_theme"
Original file line number Diff line number Diff line change 1+ # Our code documentation
2+
3+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
4+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
5+ nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
6+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
7+ fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
8+ culpa qui officia deserunt mollit anim id est laborum.
9+
10+ :::{toctree}
11+ :maxdepth: 2
12+ :caption: Some caption
13+
14+ about.md
15+ :::
Original file line number Diff line number Diff line change 1+ name : cc-exam
2+ channels :
3+ - defaults
4+ dependencies :
5+ - python=3.12
6+ - myst-parser
7+ - sphinx
8+ - sphinx-autoapi
9+ - sphinx-autobuild
10+ - sphinx-rtd-theme
11+ - pip
12+ prefix : /opt/miniconda3/envs/cc-exam
You can’t perform that action at this time.
0 commit comments