refactor: restructure the api docs (4/4) - #1287
Draft
selmanozleyen wants to merge 7 commits into
Draft
selmanozleyen wants to merge 7 commits into
selmanozleyen wants to merge 7 commits into
Conversation
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 15, 2026 16:50
519c1f3 to
3be7928
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 10:41
3be7928 to
315f074
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 10:41
7b33737 to
46f2d77
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/enum-to-literal #1287 +/- ##
=======================================================
Coverage ? 79.18%
=======================================================
Files ? 65
Lines ? 9545
Branches ? 1584
=======================================================
Hits ? 7558
Misses ? 1455
Partials ? 532
🚀 New features to boost your workflow:
|
Member
Author
|
so I talked with @timtreis and we pointed out a +/- expanding bug. Plus maybe adding these rules about Params, Fits and Results into a contribution guideline. |
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 12:48
315f074 to
8002862
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 12:48
46f2d77 to
d594650
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 16:05
8002862 to
ea84b09
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
2 times, most recently
from
September 25, 2026 19:42
11d8760 to
e5f0d6b
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 19:42
ea84b09 to
1dc3a62
Compare
selmanozleyen
removed this pull request from stack #1281
September 25, 2026 20:17
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 20:18
e5f0d6b to
b1543f0
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 20:18
1dc3a62 to
8a92508
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 20:22
b1543f0 to
fb15c70
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
2 times, most recently
from
September 25, 2026 21:58
60b8138 to
ec2d430
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 21:58
fb15c70 to
8bad4bb
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 22:04
ec2d430 to
a6a2231
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 22:04
8bad4bb to
4953fca
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 25, 2026 22:28
a6a2231 to
f97a55a
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 25, 2026 22:28
4953fca to
3776c9f
Compare
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 29, 2026 14:58
f97a55a to
f0fbb42
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 29, 2026 14:58
3776c9f to
7d690db
Compare
The API page was one flat list per area, every line repeating the module it belonged to, and `experimental` was a single block interleaving `im`, `tl` and `pl`. Group it: every section names its module, `experimental` splits by submodule and then by what the entries are for, and `neighbors` moves under Graph so `GraphMatrixT` is documented once rather than beside the `gr` functions, where a bare type variable read as public API. `squidpy.types` gains the two result tuples alongside the parameter bags, and the params leave `im`/`tl`'s `__all__` so it is the single public route to them. Nine names were public but absent from the page, among them `detect_tissue`, `make_tiles` and `qc_image`. Docs machinery, so the above renders: attributes inline with their types rather than an untyped summary table, `navigation_depth` at 5 so a section unfolds to its pages instead of stopping at the sub-section, and page titles as the bare name rather than the dotted path repeated in every nav entry. `typeddict.rst` goes: it was byte-identical to the built-in `base.rst` it shadowed, so it rendered nothing the default did not.
The Python domain renders a typed field inline as ``name (type) - description`` inside a two-column grid, so the three things a reader scans for share one run-on line indented behind the "Parameters:" label. A doctree transform splits each entry into ``name : type`` and its prose, and the field list is laid out as blocks rather than a grid. ``typehints_defaults`` puts each default next to its type. The signature line gets the name at a size worth landing on, with the module path receding behind it.
``pl.qc_image`` respelled every type the annotation already gives and named its return twice; ``tl.make_stitched_labels`` and ``pl.tiling_qc`` documented no return at all. Each parameter now renders its own ``(default: x)``, so the inline ``(default)`` markers duplicate it -- the computed ones, which no signature can show, stay. ``QCMetric`` is a fifteen-value alias that ``qc_image`` spelled out twice; it renders by name.
selmanozleyen
force-pushed
the
feat/enum-to-literal
branch
from
September 29, 2026 16:05
f0fbb42 to
8eceb90
Compare
selmanozleyen
force-pushed
the
feat/api-docs-restructure
branch
from
September 29, 2026 16:05
7d690db to
0aa74a8
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
4th step of #1279