Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed May 28, 2024
1 parent 10f911e commit 9c2b23b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ repos:
hooks:
- id: sphinx-lint

- repo: https://github.com/LilSpazJoekp/docstrfmt
rev: v1.6.1
# For now, we use it. But it does not support a lot of sphinx features
- repo: https://github.com/dzhu/rstfmt
rev: v0.0.14
hooks:
- id: docstrfmt
language_version: python3
types_or: [rst] # Don't touch python docstrings.
- id: rstfmt
exclude: 'cli/.*' # Because we use argparse

- repo: https://github.com/b8raoult/pre-commit-docconvert
rev: "0.1.4"
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
copyright = "%s, ECMWF" % (years,)

try:
import anemoi.utils
from anemoi.utils._version import __version__

release = anemoi.utils.__version__
release = __version__
except ImportError:
release = "0.0.0"

Expand Down

0 comments on commit 9c2b23b

Please sign in to comment.