Skip to content

Commit

Permalink
Fix RST formatting for examples (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
berland authored Mar 18, 2021
1 parent 6764bd1 commit 38be5a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/xtgeoapp_grd3dmaps/avghc/grid3d_average_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
# Module variables for ERT hook implementation:
DESCRIPTION = APPDESCR
CATEGORY = "modelling.reservoir"
EXAMPLES = (
"FORWARD_MODEL GRID3D_AVERAGE_MAP(<CONFIG_AVGMAP>=conf.yml, <ECLROOT>=<ECLBASE>)"
)
EXAMPLES = """
.. code-block:: console
FORWARD_MODEL GRID3D_AVERAGE_MAP(<CONFIG_AVGMAP>=conf.yml, <ECLROOT>=<ECLBASE>)
"""

xtg = XTGeoDialog()

Expand Down
8 changes: 5 additions & 3 deletions src/xtgeoapp_grd3dmaps/avghc/grid3d_hc_thickness.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
# Module variables for ERT hook implementation:
DESCRIPTION = APPDESCR
CATEGORY = "modelling.reservoir"
EXAMPLES = (
"FORWARD_MODEL GRID3D_HC_THICKNESS(<CONFIG_HCMAP>=conf.yml, <ECLROOT>=<ECLBASE>)"
)
EXAMPLES = """
.. code-block:: console
FORWARD_MODEL GRID3D_HC_THICKNESS(<CONFIG_HCMAP>=conf.yml, <ECLROOT>=<ECLBASE>)
"""

xtg = XTGeoDialog()

Expand Down

0 comments on commit 38be5a4

Please sign in to comment.