You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: set up Sphinx + ReadTheDocs and reorganize the documentation
Reorganize docs/ into a Diátaxis-style tree (guide / reference / studies /
maintenance / archive) and add a Sphinx + MyST documentation site wired for
ReadTheDocs.
Site / toolchain:
* .readthedocs.yaml + docs/conf.py (furo, MyST-Parser, autodoc + napoleon for
the NumPy-style docstrings, intersphinx to cobra/numpy/pandas/scipy).
* docs/requirements.txt; docs/index.md landing page + master toctree.
* Full API reference auto-generated from docstrings — one automodule page per
subpackage, honoring each __all__.
* 7 task-oriented user-guide pages + quickstart; section index pages.
* CHANGELOG.md / IMPROVEMENTS.md are {include}-d into the site.
Link hygiene (the move + include changed relative depth):
* All intra-docs cross-links updated to the new section paths.
* Repo-file links (src/scripts/tests) and the included root files use absolute
GitHub URLs so they resolve on both GitHub and the RTD site.
* README/CHANGELOG/IMPROVEMENTS doc links remapped to the new paths.
Quality / CI:
* Tiny docstring formatting fixes (blank line before Parameters / bullet lists,
literal block in binaries.py) so autodoc renders cleanly. Local build is
warning-clean under `sphinx-build -W`.
* New `docs` CI job builds the site with `-W --keep-going`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Closed all four "silent misbehaviour" items from [docs/known_issues.md](docs/known_issues.md):
71
+
Closed all four "silent misbehaviour" items from [docs/known_issues.md](https://github.com/SysBioChalmers/raven-python/blob/develop/docs/reference/known_issues.md):
72
72
*`merge_models` warns on `formula` / `charge` conflicts when two source models
73
73
share a name[comp] but disagree (used to silently keep the first-seen).
74
74
*`add_reactions_from_equations` warns when creating a metabolite in an
@@ -82,7 +82,7 @@ Four new regression tests cover them.
82
82
83
83
## Quality sweep — known-issues section A
84
84
85
-
Closed all six "latent edge-case bug" items from [docs/known_issues.md](docs/known_issues.md):
85
+
Closed all six "latent edge-case bug" items from [docs/known_issues.md](https://github.com/SysBioChalmers/raven-python/blob/develop/docs/reference/known_issues.md):
86
86
*`add_reactions_from_equations` no longer misparses `"2 oxoglutarate"` (or any
87
87
leading-number metabolite name) — the resolver tries the full token before
88
88
splitting off a coefficient.
@@ -101,45 +101,45 @@ Six new regression tests cover the user-reachable cases.
101
101
102
102
## Phase 7 — Localization
103
103
104
-
***Sub-cellular localisation by MILP.**[`localization.predict_localization`](src/raven_python/localization/predict.py)
***Sub-cellular localisation by MILP.**[`localization.predict_localization`](https://github.com/SysBioChalmers/raven-python/blob/develop/src/raven_python/localization/predict.py)
`merge_compartments`, `copy_to_compartment` — useful standalone for model curation.
113
-
***Real-data validation on yeast-GEM** ([docs/yeast_localization_benchmark.md](docs/yeast_localization_benchmark.md))
113
+
***Real-data validation on yeast-GEM** ([docs/yeast_localization_benchmark.md](https://github.com/SysBioChalmers/raven-python/blob/develop/docs/studies/yeast_localization_benchmark.md))
114
114
— accuracy 0.72 → 0.39 on 298 GPR'd reactions as confident predictor mis-scoring rises
115
115
from 0 % to 50 %; perfect on compartments with disjoint gene sets (c/g/lp/p/v/vm), and
116
116
surfaces a `transport_cost` calibration insight for soft-probability score tables.
117
117
118
118
## Phase 5 — Data integration & analysis
119
119
120
-
***Reporter metabolites, FSEOF, random sampling** ([`analysis/`](src/raven_python/analysis/)).
— MILP. Targeted (toward objective) mode delegates to `cobra.gapfill`.
160
160
161
161
## Phase 4a — Metabolic tasks
162
162
163
-
***Task list parsing + `check_tasks`** ([`tasks/`](src/raven_python/tasks/)).
163
+
***Task list parsing + `check_tasks`** ([`tasks/`](https://github.com/SysBioChalmers/raven-python/blob/develop/src/raven_python/tasks/)).
164
164
165
165
## Phase 3 — Reconstruction
166
166
167
167
***Homology-based draft** from a template GEM + BLAST/DIAMOND wrappers
168
-
([`reconstruction/homology/`](src/raven_python/reconstruction/homology/)) — with structured
168
+
([`reconstruction/homology/`](https://github.com/SysBioChalmers/raven-python/blob/develop/src/raven_python/reconstruction/homology/)) — with structured
169
169
improvements over RAVEN's `getModelFromHomology` (see IMPROVEMENTS H1–H6).
0 commit comments