Skip to content

Commit dc8312d

Browse files
committed
update documentation
1 parent ddea5b9 commit dc8312d

File tree

6 files changed

+42
-5
lines changed

6 files changed

+42
-5
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ FHI-aims
4545
.. autofunction:: parse_aims
4646

4747
LaTeX
48-
^^^^^^^^
48+
^^^^^
4949

5050
.. automodule:: mona.sci.tex
5151
:members:

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def __getattr__(cls, name):
3434
'textx',
3535
'textx.metamodel',
3636
'numpy',
37-
'contextvars', # for python 3.6 (readthedocs)
37+
# for python 3.6 (readthedocs)
38+
'contextvars',
3839
'contextlib',
3940
'importlib.resources',
4041
]
@@ -85,3 +86,4 @@ def __getattr__(cls, name):
8586
'**': ['about.html', 'navigation.html', 'relations.html', 'searchbox.html']
8687
}
8788
htmlhelp_basename = f'{project}doc'
89+
autodoc_default_options = {'special-members': '__call__'}

docs/glossary.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Glossary
2+
========
3+
4+
.. glossary::
5+
6+
task
7+
The basic building block of a calculation. A task consists of a Python
8+
function and the arguments passed into it (inputs). The result of
9+
a task is the return value of the function (output). A task depends on
10+
other tasks when its inputs reference outputs of other tasks. When
11+
run, a task can create new tasks, and its output may reference outputs
12+
of those tasks.
13+
14+
rule
15+
Recipe for creating tasks. Calling a rule with soem arguments creates
16+
a task with those arguments as inputs.
17+
18+
task factory
19+
Generalization of a rule that returns a task when called, but may first
20+
preprocess the arguments before assigning them as inputs to the task.
21+
22+
directory task
23+
A special kind of file-based :term:`task` which has an executable instead of
24+
a Python function and files instead of arguments, and the output is
25+
a collection of files generated by the executable when run in
26+
a temporary directory with the input files present.

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ User guide
1010
:maxdepth: 2
1111

1212
quickstart
13+
glossary
1314

1415
API reference
1516
-------------

mona/sci/aims/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
from .aims import Aims, SpeciesDefaults
1+
from .aims import Aims, Atoms, Control, Geom, Script, SpeciesDefaults
22
from .parse import parse_aims
33

4-
__all__ = ['Aims', 'SpeciesDefaults', 'parse_aims']
4+
__all__ = [
5+
'Aims',
6+
'Atoms',
7+
'SpeciesDefaults',
8+
'Control',
9+
'Geom',
10+
'Script',
11+
'parse_aims',
12+
]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ skip-string-normalization = true
44

55
[tool.poetry]
66
name = "mona"
7-
version = "0.2.5"
7+
version = "0.2.6"
88
description = "Calculation framework"
99
readme = "README.md"
1010
authors = ["Jan Hermann <dev@janhermann.cz>"]

0 commit comments

Comments
 (0)