Skip to content

Commit

Permalink
docs: enable nbgallery for user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 9, 2023
1 parent e134b4a commit 2bcc0aa
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 13 deletions.
8 changes: 7 additions & 1 deletion docs/gallery/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#
# 📚 Gallery

```{warning}
Gallery examples still to come ...
```

<!-- ```{nbgallery}
---
---
Add notebook names here
``` -->
11 changes: 7 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Invert4geom

3D geometric gravity inversions

```{include} ../README.md
Expand All @@ -22,9 +23,11 @@
:hidden:
overview
install
gallery/index.md
user_guide/index.md
```

```{toctree}
<!-- ```{toctree}
:maxdepth: 1
:hidden:
:caption: 🚶 User guide
Expand All @@ -36,14 +39,14 @@ user_guide/including_starting_model
user_guide/adhering_to_constraints
user_guide/combining_it_all
user_guide/estimating_regional_field
```
``` -->

```{toctree}
<!-- ```{toctree}
:maxdepth: 1
:hidden:
:caption: 📚 Gallery
gallery/index.md
```
``` -->

```{toctree}
:maxdepth: 2
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/adhering_to_constraints.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,11 @@
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/combining_it_all.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,11 @@
{
"cell_type": "code",
"execution_count": 65,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"name": "stdout",
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/damping_cross_validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,11 @@
{
"cell_type": "code",
"execution_count": 38,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/density_cross_validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,11 @@
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/estimating_regional_field.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/including_starting_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,11 @@
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
15 changes: 15 additions & 0 deletions docs/user_guide/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 🚶 User guide

```{nbgallery}
---
name: user guide
---
simple_inversion
damping_cross_validation
density_cross_validation
reference_level_cross_validation
including_starting_model
adhering_to_constraints
combining_it_all
estimating_regional_field
```
6 changes: 5 additions & 1 deletion docs/user_guide/reference_level_cross_validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,11 @@
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"data": {
Expand Down
6 changes: 5 additions & 1 deletion docs/user_guide/simple_inversion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,11 @@
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"metadata": {
"tags": [
"nbsphinx-thumbnail"
]
},
"outputs": [
{
"name": "stdout",
Expand Down

0 comments on commit 2bcc0aa

Please sign in to comment.