Skip to content

Commit f132803

Browse files
authored
docs: Add validation info (#151)
1 parent 803917e commit f132803

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

docs/cli/validate.rst

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
validate
2+
==========
3+
4+
It is possible to investigate a checkpoint file and determine if the environment matches,
5+
or if anemoi packages differ in version between the inference and the training environment.
6+
7+
This can be very useful to resolve issues when running an older or shared checkpoint.
8+
9+
*********
10+
Usage
11+
*********
12+
13+
14+
.. argparse::
15+
:module: anemoi.inference.__main__
16+
:func: create_parser
17+
:prog: anemoi-inference
18+
:path: validate

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ of the *Anemoi* packages.
6767
cli/introduction
6868
cli/run
6969
cli/metadata
70+
cli/validate
7071

7172
.. toctree::
7273
:maxdepth: 1

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ optional-dependencies.docs = [
6363
"nbsphinx",
6464
"pandoc",
6565
"rstfmt",
66-
"sphinx",
66+
"sphinx<8.2",
6767
"sphinx-argparse<0.5",
6868
"sphinx-rtd-theme",
6969
]

0 commit comments

Comments
 (0)