Skip to content

docs: rewrite the home, installation and quickstart pages - #12

Merged
Matthieu-Gallet merged 2 commits into
mainfrom
docs/landing-pages
Sep 28, 2026
Merged

Matthieu-Gallet merged 2 commits into
mainfrom
docs/landing-pages

Conversation

@Matthieu-Gallet

@Matthieu-Gallet Matthieu-Gallet commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

The landing pages still had their pre-Furo content: generic cards and a raw file tree on the home page, a bare list on the installation page.

Changes

  • Home:
    • SPDNet pipeline diagram with the shape at each layer;
    • a reading path, and an "I want to… / read" table;
    • what the library does differently;
    • a diagram of the three package levels and the neighbouring repositories;
    • a module table linked to the reference pages.
  • Installation:
    • a "which install" table;
    • pinning a ref;
    • GPU builds (install torch first), development setup, documentation build (and how the online site is deployed);
    • troubleshooting of the common errors, with the actual messages.
  • Quickstart: a "Where next" table linking to the guides.
  • Two new diagrams generated by docs/_diagrams/make_diagrams.py.

sphinx-build -W passes with no warnings; ruff format --check and ruff check are clean.

The landing pages kept the pre-Furo content (generic cards, a raw file
tree). Home: SPDNet pipeline diagram with the shape at each layer, a
reading path, an "I want to... / read" table, what the library does
differently, a diagram of the three package levels and the neighbouring
repositories, a module table linked to the reference. Installation: a
"which install" table, pinning, GPU builds, development and documentation
builds, troubleshooting of the common errors. Quickstart: links to the
guides. Two new diagrams (make_diagrams.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PQdVCDbXCd8gvf1Y4TufJR
Copilot AI lite review requested due to automatic review settings September 28, 2026 11:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Documentation inaccuracies and a missing diagram-generation dependency remain unresolved.

Review effort: Lite
Findings: 1 Medium severity · 5 Low severity

Open (6)
What changed in this PR

Rewrites the home, installation, and quickstart documentation with improved navigation, setup guidance, and generated diagrams.

Changes:

  • Adds pipeline, package-level, and navigation diagrams.
  • Expands installation, GPU, development, and troubleshooting guidance.
  • Adds quickstart links and deterministic diagram generation.
File Summary
docs/​quickstart.md Adds onward-reading guide links.
docs/​installation.md Expands installation and development instructions.
docs/​index.md Reworks the landing page and package overview.
docs/​_static/​diagrams/​spdnet_pipeline.svg Adds the SPDNet pipeline diagram.
docs/​_static/​diagrams/​retractions.svg Regenerates diagram output.
docs/​_static/​diagrams/​reeig.svg Regenerates diagram output.
docs/​_static/​diagrams/​parametrization.svg Regenerates diagram output.
docs/​_static/​diagrams/​package_levels.svg Adds the package-level diagram.
docs/​_static/​diagrams/​implicit_diff.svg Regenerates diagram output.
docs/​_static/​diagrams/​daleckii_krein.svg Regenerates diagram output.
docs/​_static/​diagrams/​bw_fold.svg Regenerates diagram output.
docs/​_static/​diagrams/​batchnorm_steps.svg Regenerates diagram output.
docs/​_diagrams/​make_diagrams.py Adds diagram generation and stable SVG output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/installation.md
```bash
pip install -e ".[docs]"
make -C docs html # docs/_build/html/index.html
python docs/_diagrams/make_diagrams.py # only after changing a diagram
Comment thread docs/index.md
| `functions` | `spd_linalg`: matrix functions, congruences, vectorizations | {doc}`reference/spd_linalg` |
| | `spd_geometries.*`: the six geometries | {doc}`reference/geometries` |
| | `m_estimators`: sample covariance, Tyler, Student-t | {doc}`reference/m_estimators` |
| | `scalar_functions`, `stiefel`, `random` | {doc}`reference/utilities` |
Comment thread docs/installation.md
Comment on lines +21 to +22
`main` is the latest released state. Pin a tag or a commit for reproducible
experiments: `...yetanotherspdnet.git@<tag-or-sha>`. In a `pyproject.toml`:
Comment thread docs/installation.md
Comment on lines +63 to +64
Every layer and function takes `device` and `dtype`, so a model moves to the
GPU like any PyTorch model. For matrices of a few hundred rows, a CPU run with
Comment thread docs/installation.md
```bash
pytest # full suite, coverage enforced (>= 40 %)
pytest tests/nn/test_base.py::TestBiMap --no-cov # one class, without coverage
ruff format . && ruff check . # what the CI lint job runs
Comment thread docs/installation.md
Comment on lines +103 to +104
The online documentation is built from `main` by the `Documentation`
workflow, at each release or on demand (`gh workflow run docs.yml --ref main`).
@Matthieu-Gallet
Matthieu-Gallet merged commit 0db7e53 into main Sep 28, 2026
7 checks passed
@Matthieu-Gallet
Matthieu-Gallet deleted the docs/landing-pages branch September 28, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants