Skip to content

Commit 651444e

Browse files
authored
docs: Sphinx 9 support and MyST-parser fixes (#3948)
1 parent d5901ab commit 651444e

23 files changed

Lines changed: 105 additions & 76 deletions

docs/api/classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Classes
1+
# Classes
22

33

44
```{eval-rst}

docs/api/datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Datasets
1+
# Datasets
22

33
```{eval-rst}
44
.. module:: scanpy.datasets

docs/api/deprecated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Deprecated functions
1+
# Deprecated functions
22

33
```{eval-rst}
44
.. currentmodule:: scanpy

docs/api/experimental.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
2-
3-
## Experimental
1+
# Experimental
42

53
```{eval-rst}
64
.. module:: scanpy.experimental

docs/api/get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Get object from `AnnData`: `get`
1+
# Get object from `AnnData`: `get`
22

33
```{eval-rst}
44
.. module:: scanpy.get

docs/api/io.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(reading)=
22
(reading-and-writing)=
33

4-
## Reading and Writing
4+
# Reading and Writing
55

66
```{eval-rst}
77
.. currentmodule:: scanpy

docs/api/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Metrics
1+
# Metrics
22

33
```{eval-rst}
44
.. module:: scanpy.metrics

docs/api/plotting.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Plotting: `pl`
1+
# Plotting: `pl`
22

33
```{eval-rst}
44
.. module:: scanpy.pl
@@ -19,7 +19,7 @@ See the {ref}`settings` section for all important plotting configurations.
1919

2020
(pl-generic)=
2121

22-
### Generic
22+
## Generic
2323

2424
```{eval-rst}
2525
.. autosummary::
@@ -39,7 +39,7 @@ See the {ref}`settings` section for all important plotting configurations.
3939
4040
```
4141

42-
### Classes
42+
## Classes
4343

4444
These classes allow fine tuning of visual parameters.
4545

@@ -54,7 +54,7 @@ These classes allow fine tuning of visual parameters.
5454
5555
```
5656

57-
### Preprocessing
57+
## Preprocessing
5858

5959
Methods for visualizing quality control and results of preprocessing functions.
6060

@@ -69,13 +69,13 @@ Methods for visualizing quality control and results of preprocessing functions.
6969
7070
```
7171

72-
### Tools
72+
## Tools
7373

7474
Methods that extract and visualize tool-specific annotation in an
7575
{class}`~anndata.AnnData` object. For any method in module `tl`, there is
7676
a method with the same name in `pl`.
7777

78-
#### PCA
78+
### PCA
7979

8080
```{eval-rst}
8181
.. autosummary::
@@ -90,7 +90,7 @@ a method with the same name in `pl`.
9090

9191
(pl-embeddings)=
9292

93-
#### Embeddings
93+
### Embeddings
9494

9595
```{eval-rst}
9696
.. autosummary::
@@ -115,7 +115,7 @@ Compute densities on embeddings.
115115
pl.embedding_density
116116
```
117117

118-
#### Branching trajectories and pseudotime, clustering
118+
### Branching trajectories and pseudotime, clustering
119119

120120
Visualize clusters using one of the embedding methods passing e.g. `color='leiden'`.
121121

@@ -141,7 +141,7 @@ Visualize hierarchical clustering results as a heatmap.
141141
pl.correlation_matrix
142142
```
143143

144-
#### Marker genes
144+
### Marker genes
145145

146146
```{eval-rst}
147147
.. autosummary::
@@ -157,7 +157,7 @@ Visualize hierarchical clustering results as a heatmap.
157157
pl.rank_genes_groups_tracksplot
158158
```
159159

160-
#### Simulations
160+
### Simulations
161161

162162
```{eval-rst}
163163
.. autosummary::

docs/api/preprocessing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Preprocessing: `pp`
1+
# Preprocessing: `pp`
22

33
```{eval-rst}
44
.. module:: scanpy.pp
@@ -12,7 +12,7 @@ Filtering of highly-variable genes, batch-effect correction, per-cell normalizat
1212

1313
Any transformation of the data matrix that is not a *tool*. Other than *tools*, preprocessing steps usually don't return an easily interpretable annotation, but perform a basic transformation on the data matrix.
1414

15-
### Basic Preprocessing
15+
## Basic Preprocessing
1616

1717
For visual quality control, see {func}`~scanpy.pl.highest_expr_genes` and
1818
{func}`~scanpy.pl.filter_genes_dispersion` in {mod}`scanpy.pl`.
@@ -35,7 +35,7 @@ For visual quality control, see {func}`~scanpy.pl.highest_expr_genes` and
3535
pp.downsample_counts
3636
```
3737

38-
### Recipes
38+
## Recipes
3939

4040
```{eval-rst}
4141
.. autosummary::
@@ -47,7 +47,7 @@ For visual quality control, see {func}`~scanpy.pl.highest_expr_genes` and
4747
pp.recipe_seurat
4848
```
4949

50-
### Batch effect correction
50+
## Batch effect correction
5151

5252
Also see {ref}`data-integration`. Note that a simple batch correction method is available via {func}`pp.regress_out`. Checkout {mod}`scanpy.external` for more.
5353

@@ -59,7 +59,7 @@ Also see {ref}`data-integration`. Note that a simple batch correction method is
5959
pp.combat
6060
```
6161

62-
### Doublet detection
62+
## Doublet detection
6363

6464
```{eval-rst}
6565
.. autosummary::
@@ -70,7 +70,7 @@ Also see {ref}`data-integration`. Note that a simple batch correction method is
7070
pp.scrublet_simulate_doublets
7171
```
7272

73-
### Neighbors
73+
## Neighbors
7474

7575
```{eval-rst}
7676
.. autosummary::

docs/api/queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Queries
1+
# Queries
22

33
```{eval-rst}
44
.. module:: scanpy.queries

0 commit comments

Comments
 (0)