Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devtools/conda-envs/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ dependencies:

# docs
- sphinx
- nbsphinx
- myst-nb
- pip:
- git+https://github.com/OpenFreeEnergy/ofe-sphinx-theme@main
14 changes: 12 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sphinx.ext.napoleon",
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"nbsphinx",
"myst_nb",
]

autosummary_generate = True
Expand Down Expand Up @@ -80,7 +80,7 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "README.md"]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "default"
Expand Down Expand Up @@ -174,4 +174,14 @@
]


# -- myst-nb configuration ---------------------------------------------------

# Do not re-execute notebooks during the build; use the pre-saved cell outputs
nb_execution_mode = "off"

# Generate HTML anchors for headings up to depth 3 so that plain #slug fragment
# links inside notebooks resolve as HTML anchors rather than Sphinx cross-refs.
# This restores the nbsphinx behavior for within-page heading links.
myst_heading_anchors = 3

# -- Extension configuration -------------------------------------------------
1 change: 1 addition & 0 deletions docs/tutorials/calculating-metrics.ipynb
1 change: 1 addition & 0 deletions docs/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ API Tutorials
:maxdepth: 1

cinnabar-api
calculating-metrics
ecdf-plots
Loading