Skip to content

Commit 2adca2a

Browse files
authored
Merge pull request #983 from flohorovicic/main
Updates for documentation
2 parents 431888d + 64eedf6 commit 2adca2a

21 files changed

+94
-34
lines changed

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,17 @@ notebooks/prototype notebooks/vtk_res_model_adjusted_1
137137
notebooks/prototype notebooks/vtk_exp_smooth_trnasitions
138138
notebooks/prototype notebooks/plots
139139

140+
# Remove the built document files - but not the static ones, which are required for the builds
140141
docs/build
141-
docs/source
142+
# The following files are generated locally during sphinx updates - they don't have to be part of the repo
143+
docs/source/examples
144+
docs/source/tutorials
145+
docs/source/Modeling\ Classes
146+
docs/source/GemPy\ API
147+
docs/source/Helper\ Classes
148+
docs/source/Plot
149+
docs/source/external
150+
docs/source/sg_execution_times.rst
142151
test/figs
143152

144153
Profiles
109 KB
Loading
278 KB
Loading

docs/source/_images/data_to_model.png

71.3 KB
Loading

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
# 'integrations'
155155
],
156156
"filename_pattern" : r"\.py",
157+
# "ignore_pattern": r"(__init__\.py|ch1_7_3d_visualization\.py|mik\.py)$", # Exclude specific files: uncomment for faster build as long as examples are broken
157158
"download_all_examples" : False, # Remove the "Download all examples" button from the top level gallery
158159
"within_subsection_order": FileNameSortKey, # Sort gallery example by file name instead of number of lines (default)
159160
"backreferences_dir" : 'gen_modules/backreferences', # directory where function granular galleries are stored

examples/examples/geometries/a01_horizontal_stratigraphic.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
"""
2-
Model 1 - Horizontal stratigraphic
2+
Model 1 - Horizontal stratigraphy
33
==================================
44
5-
This script demonstrates how to create a basic model of horizontally stacked layers using GemPy,
5+
A simple example with horizontal layers
6+
7+
This script demonstrates how to create a basic model with horizontally stacked layers using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""
810

11+
12+
# %%
913
# Import necessary libraries
1014
import gempy as gp
1115
import gempy_viewer as gpv

examples/examples/geometries/b02_fold.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 2 - Anticline
33
===================
44
5+
Simple model of an anticline
6+
57
This script demonstrates how to create a geological model of an anticline structure using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/c03_recumbent_fold.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 3 - Recumbent Fold
33
========================
44
5+
Modeling a recumbent fold
6+
57
This script demonstrates how to create a geological model of a recumbent fold using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/d04_pinchout.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 4 - Pinchout
33
==================
44
5+
Modeling of a pinchout: combining scalar fields
6+
57
This script demonstrates how to create a geological model with a layer of varying thickness (pinchout) using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

examples/examples/geometries/e05_fault.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Model 5 - Fault
33
===============
44
5+
Modeling a fault
6+
57
This script demonstrates how to create a simple fault model with constant offset using GemPy,
68
a Python-based, open-source library for implicit geological modeling.
79
"""

0 commit comments

Comments
 (0)