Skip to content

Commit

Permalink
Remove page toc as those are displayed on right side with sphinx-book…
Browse files Browse the repository at this point in the history
…-theme (#351)
  • Loading branch information
rhugonnet committed Apr 17, 2023
1 parent 1a64304 commit 54fbf70
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 18 deletions.
4 changes: 0 additions & 4 deletions doc/source/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ kernelspec:
---
# Differencing and volume change

```{contents} Contents
:local: true
```

**Example data**

Example data in this chapter are loaded as follows:
Expand Down
3 changes: 2 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
]

# For sphinx design to work properly
myst_enable_extensions = ["colon_fence"]
myst_enable_extensions = ["colon_fence", "dollarmath"]

# For myst-nb to find the Jupyter kernel (=environment) to run from
nb_kernel_rgx_aliases = {".*xdem.*": "python3"}
Expand Down Expand Up @@ -160,6 +160,7 @@ def setup(app):
"notebook_interface": "jupyterlab",
# For launching Binder in Jupyterlab to open MD files as notebook (downloads them otherwise)
},
"show_toc_level": 2 # To show more levels on the right sidebar TOC
}

# For dark mode
Expand Down
4 changes: 0 additions & 4 deletions doc/source/coregistration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ Those transformations include for instance:
- rotations, reflections,
- scalings.

```{contents} Contents
:local: true
```

## Introduction

Coregistration of a DEM is performed when it needs to be compared to a reference, but the DEM does not align with the reference perfectly.
Expand Down
4 changes: 0 additions & 4 deletions doc/source/spatialstats.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ In particular, these tools help to:
> - estimate robust errors for observations analyzed in space (e.g., average or sum of elevation, or of elevation changes),
> - propagate errors between spatial ensembles at different scales (e.g., sum of glacier volume changes).
```{contents} Contents
:local: true
```

(spatialstats-intro)=

## Spatial statistics for DEM precision estimation
Expand Down
5 changes: 0 additions & 5 deletions doc/source/terrain.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
For analytic and visual purposes, deriving certain attributes of a DEM may be required.
Some are useful for direct analysis, such as a slope map to differentiate features of different angles, while others, like the hillshade, are great tools for visualizing a DEM.

```{contents} Contents
:local: true
```

## Slope

{func}`xdem.terrain.slope`
Expand All @@ -29,7 +25,6 @@ example.

```{eval-rst}
.. minigallery:: xdem.terrain.slope
:add-heading:
```

## Aspect
Expand Down

0 comments on commit 54fbf70

Please sign in to comment.