File tree Expand file tree Collapse file tree 4 files changed +77
-5
lines changed
Expand file tree Collapse file tree 4 files changed +77
-5
lines changed Original file line number Diff line number Diff line change 1+ name : docs
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " docs/**"
8+ - " mkdocs.yml"
9+ - " .github/workflows/docs.yml"
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : pages
19+ cancel-in-progress : false
20+
21+ jobs :
22+ build :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ - uses : actions/setup-python@v5
28+ with :
29+ python-version : " 3.11"
30+
31+ - name : Install docs dependencies
32+ run : |
33+ python -m pip install --upgrade pip
34+ python -m pip install -r docs/requirements.txt
35+
36+ - name : Build docs
37+ run : mkdocs build --strict
38+
39+ - name : Upload Pages artifact
40+ uses : actions/upload-pages-artifact@v3
41+ with :
42+ path : site
43+
44+ deploy :
45+ if : github.ref == 'refs/heads/main'
46+ needs : build
47+ runs-on : ubuntu-latest
48+ environment :
49+ name : github-pages
50+ url : ${{ steps.deployment.outputs.page_url }}
51+ steps :
52+ - name : Deploy to GitHub Pages
53+ id : deployment
54+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ includes CSS and LDPC engine paths for comparative studies.
1616Install from PyPI:
1717
1818``` bash
19- pip install lidmas
19+ python -m pip install --upgrade lidmas
2020```
2121
2222Then run:
@@ -25,6 +25,11 @@ Then run:
2525lidmas --help
2626```
2727
28+ Documentation:
29+
30+ - GitHub Pages: https://denniswayo.github.io/lidmas_cpp/
31+ - Read the Docs: https://lidmas-cpp.readthedocs.io/
32+
2833## Statement of Need
2934
3035Benchmarking decoder behavior and threshold trends requires reproducible, scriptable,
@@ -221,7 +226,7 @@ For quick validation in local or CI environments:
221226
222227## Hardware Integration
223228
224- See [ docs/hardware-integration.md] ( /Users/denniswayo/lidmas_cpp/ docs/hardware-integration.md) for the decoder IO schema,
229+ See [ docs/hardware-integration.md] ( docs/hardware-integration.md ) for the decoder IO schema,
225230recommended data transport, and adapter API.
226231
227232## Project Layout
@@ -241,7 +246,7 @@ GitHub Releases.
241246
242247If you use LiDMaS+ in academic work, cite the software release used for your
243248experiments (tag + commit hash). If a JOSS/arXiv record is available for your
244- release, cite that record directly.
249+ release, please cite that record directly.
245250
246251Paper reference (` paper_01 ` ):
247252
Original file line number Diff line number Diff line change @@ -30,3 +30,16 @@ Docs will be available at `http://127.0.0.1:8000`.
3030- Any push that changes docs or config will trigger a new RTD build once the project is connected.
3131- Keep command examples in docs aligned with ` README.md ` and ` --help ` output.
3232
33+ ## GitHub Pages (also supported)
34+
35+ This repository also deploys docs with GitHub Pages via ` .github/workflows/docs.yml ` .
36+
37+ In repository settings:
38+
39+ 1 . Go to ` Settings -> Pages ` .
40+ 2 . Set ` Source ` to ` GitHub Actions ` .
41+ 3 . Push to ` main ` (or run the ` docs ` workflow manually).
42+
43+ Published URL:
44+
45+ - ` https://denniswayo.github.io/lidmas_cpp/ `
Original file line number Diff line number Diff line change 11site_name : LiDMaS+
22site_description : Logical Injection & Decoding Modeling System
3- site_url : https://lidmas-cpp.readthedocs .io/
3+ site_url : https://denniswayo.github .io/lidmas_cpp /
44repo_url : https://github.com/DennisWayo/lidmas_cpp
55repo_name : DennisWayo/lidmas_cpp
66docs_dir : docs
2121 - CLI Reference : cli-reference.md
2222 - Examples & Workflows : examples-workflows.md
2323 - Architecture : architecture.md
24+ - Hardware Integration : hardware-integration.md
2425 - Reproducibility & Citation : reproducibility-citation.md
2526 - Read the Docs Setup : readthedocs-setup.md
26-
You can’t perform that action at this time.
0 commit comments