Skip to content

Commit

Permalink
Use plugin functionality to document forward models in Everest
Browse files Browse the repository at this point in the history
  • Loading branch information
frode-aarstad committed Oct 22, 2024
1 parent 25088a7 commit b17e439
Show file tree
Hide file tree
Showing 16 changed files with 262 additions and 744 deletions.
11 changes: 11 additions & 0 deletions docs/everest/_ext/everest_jobs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from ert.shared._doc_utils.everest_jobs import EverestForwardModelDocumentation


def setup(app):
app.add_directive("everest_forward_model", EverestForwardModelDocumentation)

return {
"version": "0.1",
"parallel_read_safe": True,
"parallel_write_safe": True,
}
5 changes: 5 additions & 0 deletions docs/everest/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
from importlib import metadata

sys.path.append(os.path.abspath("_ext"))

# -- Project information -----------------------------------------------------

project = "Everest"
Expand Down Expand Up @@ -48,6 +52,7 @@
"sphinx.ext.ifconfig",
"sphinx.ext.viewcode",
"sphinxarg.ext",
"everest_jobs",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
Loading

0 comments on commit b17e439

Please sign in to comment.