Skip to content

Commit

Permalink
Merge pull request #114 from GEB-model/docs
Browse files Browse the repository at this point in the history
Various updates
  • Loading branch information
jensdebruijn authored Sep 27, 2024
2 parents fa28b98 + b331e01 commit d18c1f8
Show file tree
Hide file tree
Showing 13 changed files with 623 additions and 138 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruff
name: Ruff check
on: [push, pull_request]
jobs:
ruff:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/ruff-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Ruff format
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: 'format --check'
133 changes: 31 additions & 102 deletions docs/ODD/ODD_protocol.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"--pdf-engine=xelatex",
"-V",
"geometry:margin=1.0in",
"--citeproc",
"--bibliography=../references.bib",
],
)
os.chdir("..")
Expand All @@ -55,6 +57,7 @@
"sphinx_autodoc_typehints",
"sphinxcontrib.autoprogram",
"sphinxcontrib.autoyaml",
"sphinxcontrib.bibtex",
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -76,6 +79,7 @@
napoleon_custom_sections = [("Returns", "params_style")]
autoclass_content = "both"
autoyaml_level = 3
bibtex_bibfiles = ["references.bib"]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
Loading

0 comments on commit d18c1f8

Please sign in to comment.