Skip to content

[main] Add Sphinx documentation (ReadTheDocs) - #78

Merged
Tobiaspk merged 2 commits into
mainfrom
feature/docs_init
Sep 17, 2026
Merged

Tobiaspk merged 2 commits into
mainfrom
feature/docs_init

Conversation

@Tobiaspk

@Tobiaspk Tobiaspk commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Added minimal, highly focused docs.

  • About, incl citation
  • Installation
  • Quickstart
  • API reference
  • Common Issues

Important notes:

  • API reference is handwritten / claude inferred. Autodocs is too heavy with all segger deps.
  • README was also trimmed

Expect the following changes:

Thanks @EliHei2 for your revisions.

closes #75

@Tobiaspk Tobiaspk changed the title Add Sphinx documentation site [main] Add Sphinx documentation (ReadTheDocs Aug 25, 2026
@Tobiaspk Tobiaspk changed the title [main] Add Sphinx documentation (ReadTheDocs [main] Add Sphinx documentation (ReadTheDocs) Aug 25, 2026

@EliHei2 EliHei2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think, aside from the 2-3 detailed comments I noted, this looks very nice and minimalist.

Comment thread docs/api/export.rst Outdated
segger export
==============

Positional arguments select which elements to write: ``anndata``, ``transcripts``,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I believe it's worth mentioning what transcripts mean --> the additional cell column (mvp!)

Comment thread docs/api/export.rst
* - ``--method``
- delaunay
- Cell-polygon method for boundaries (``delaunay`` or ``convex_hull``).
* - ``--chaikin-iterations``

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

again worth clarifying this, what it is exaclty and a reference maybe.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yes, adding a reference to the chaikin algorithm

Comment thread docs/api/export.rst Outdated
* - ``--include-all-transcripts``
- False
- Keep every cell-assigned transcript, ignoring the similarity threshold.
* - ``--min-similarity``

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

worth mentioning highly recommended not to change.

Comment thread docs/about.rst Outdated
Comment thread README.md Outdated
the segger assignment as `segger_cell_id` (plus `row_index`), a sibling column in the spirit of SOPA's
`sopa_prior`, so it merges onto an existing transcripts dataframe by `row_index` without overwriting
the vendor `cell_id`; its values match the `cell_id` in the other two files. No newline at end of file
TODO: citation

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this intentional? no citation to preprint? / also a contributions note I think is good.

@Tobiaspk

Copy link
Copy Markdown
Collaborator Author

@EliHei2 thanks for looking this through. This one is still WIP. I'll update this once spatialdata (#80) and #87 are merged and link to the contribution note, preprint and citation.

Tobiaspk and others added 2 commits September 17, 2026 12:51
…rence, common-issues) and rewrite README/CONTRIBUTING

Adds ReadTheDocs-built Sphinx docs covering installation, a How To guide
(segger segment and segger export), outputs, hand-written CLI API reference
tables (autodoc was too fragile against segger's CUDA-only import graph),
and a common-issues page (gene dropout, filtering, CUDA 13, multi-GPU).

Rewrites README.md as a short pointer to the docs plus the paper abstract
and overview figure, adds CONTRIBUTING.md, and bumps the changelog/version
to 0.3.0.

Co-authored-by: Elyas Heidari <55977725+EliHei2@users.noreply.github.com>
…verview figure

Adds notebooks/quickstart.ipynb (segment, export, load outputs, GPU cluster,
visualize a crop), referenced from the docs. Adds a local pre-commit hook that
strips notebook outputs down to stdout text and images (drops stderr/warnings,
error tracebacks, execution counts) before commit, and segger_overview.png for
the README/docs. Trims boilerplate .gitignore sections and tidies the
xeniumranger run-artifact entry.
@Tobiaspk
Tobiaspk merged commit a3a45a0 into main Sep 17, 2026
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.

Documentation/API for the latest Segger workflow

2 participants