-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path{{cookiecutter.task_module}}.{{cookiecutter.task_class}}.rst.jinja
66 lines (41 loc) · 2.03 KB
/
{{cookiecutter.task_module}}.{{cookiecutter.task_class}}.rst.jinja
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.. lsst-task-topic:: {{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}
{{ "#" * (cookiecutter.task_class|length) }}
{{ cookiecutter.task_class }}
{{ "#" * (cookiecutter.task_class|length) }}
.. Summary paragraph (a few sentences)
.. The aim is to say what the task is for
``{{ cookiecutter.task_class }}`` [active tense verb] ...
.. If the task consumes or creates datasets, name those datasets here.
.. If there are many datasets, name the ones that people use more frequently.
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class}}-summary:
Processing summary
==================
.. If the task does not break work down into multiple steps, don't use a list.
.. Instead, summarize the computation itself in a paragraph or two.
``{{ cookiecutter.task_class }}`` runs this sequence of operations:
#. Runs this thing. (FIXME)
#. Processes processes that intermediate result. (FIXME)
#. Stores those results in this last step. (FIXME)
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}-api:
Python API summary
==================
.. lsst-task-api-summary:: {{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}-subtasks:
Retargetable subtasks
=====================
.. lsst-task-config-subtasks:: {{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}-configs:
Configuration fields
====================
.. lsst-task-config-fields:: {{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}-examples:
Examples
========
.. Add a brief example here.
.. If there are multiple examples
.. (such as one from a command-line context and another that uses the Python API)
.. you can separate each example into a different subsection for clarity.
.. _{{ cookiecutter.task_module }}.{{ cookiecutter.task_class }}-debug:
Debugging
=========
.. If the task provides debug variables document them here using a definition list.