Skip to content

Commit 897a0af

Browse files
committed
[doc] formatting fixes for mkdocs
1 parent 57d49c5 commit 897a0af

File tree

13 files changed

+21
-3
lines changed

13 files changed

+21
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ There are two ways of interacting with AliECS:
6262
### I want my application to send requests to AliECS
6363

6464
:scroll: See the API docs of AliECS components:
65+
6566
- [core gRPC server](/docs/apidocs_aliecs.md)
6667
- [apricot gRPC server](/docs/apidocs_apricot.md)
6768
- [apricot HTTP server](/apricot/docs/apricot_http_service.md)

apricot/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
It adds templating, load balancing and caching on top of the configuration store.
55

66
See also:
7+
78
* [apricot HTTP service](docs/apricot_http_service.md) - make essential cluster information available via a web server
89
* Protofile: [apricot.proto](protos/apricot.proto)
910
* [Command reference](docs/apricot.md)

coconut/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ A valid workflow template (sometimes called simply "workflow" for brevity) must
9898

9999
Workflows and tasks are managed with a git based configuration system, so the workflow template may be provided simply by name or with repository and branch/tag/hash constraints.
100100
Examples:
101+
101102
* `coconut env create -w myworkflow` - loads workflow `myworkflow` from default configuration repository at HEAD of master branch
102103
* `coconut env create -w github.com/AliceO2Group/MyConfRepo/myworkflow` - loads a workflow from a specific git repository, HEAD of master branch
103104
* `coconut env create -w myworkflow@rev` - loads a workflow from default repository, on branch, tag or revision `rev`

coconut/doc/coconut_environment_create.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A valid workflow template (sometimes called simply "workflow" for brevity) must
1313

1414
Workflows and tasks are managed with a git based configuration system, so the workflow template may be provided simply by name or with repository and branch/tag/hash constraints.
1515
Examples:
16+
1617
* `coconut env create -w myworkflow` - loads workflow `myworkflow` from default configuration repository at HEAD of master branch
1718
* `coconut env create -w github.com/AliceO2Group/MyConfRepo/myworkflow` - loads a workflow from a specific git repository, HEAD of master branch
1819
* `coconut env create -w myworkflow@rev` - loads a workflow from default repository, on branch, tag or revision `rev`

coconut/doc/coconut_repository.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The repository command performs operations on the repositories used for task and
99
A valid workflow configuration repository must contain the directories `tasks` and `workflows` in its `master` branch.
1010

1111
When referencing a repository, the clone method should never be prepended. Supported repo backends and their expected format are:
12+
1213
- https: [hostname]/[repo_path]
1314
- ssh: [hostname]:[repo_path]
1415
- local [repo_path] (local repo entries are ephemeral and will not survive a core restart)

coconut/doc/coconut_repository_add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ the ensuing list is followed until a valid revision has been identified:
1616
Exhaustion of the aforementioned list results in a repo add failure.
1717

1818
`coconut repo add` can be called with
19+
1920
1) a repository identifier
2021
2) a repository identifier coupled with the `--default-revision` flag (see examples below)
2122

coconut/doc/coconut_role_query.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ walk through the role tree of the given environment, starting from the root role
1717
per https://github.com/gobwas/glob syntax.
1818

1919
Examples:
20+
2021
* `coconut role query 2rE9AV3m1HL readout-dataflow` - queries the role `readout-dataflow` in environment `2rE9AV3m1HL`, prints the full tree, along with the variables defined in the root role
2122
* `coconut role query 2rE9AV3m1HL readout-dataflow.host-aido2-bld4-lab102` - queries the role `readout-dataflow.host-aido2-bld4-lab102`, prints the subtree of that role, along with the variables defined in it
2223
* `coconut role query 2rE9AV3m1HL readout-dataflow.host-aido2-bld4-lab102.data-distribution.stfs` - queries the role at the given path, it is a task role so there is no subtree, prints the variables defined in that role

coconut/doc/coconut_template_list.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ list available workflow templates
77
The template list command shows a list of available workflow templates.
88
These workflow templates can then be loaded to create an environment.
99

10-
`coconut templ list` can be called with
10+
`coconut templ list` can be called with
11+
1112
1) a combination of the `--repo` , `--revision` , `--all-branches` , `--all-tags` , `--all-workflows` flags, or with
1213
2) an argument in the form of [repo-pattern]@[revision-pattern], where the patterns are globbing.
1314

core/integration/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All plugins should implement the [`Plugin`](/core/integration/plugin.go) interfa
99
See the existing plugins for examples.
1010

1111
In order to have the plugin loaded by the AliECS, one has to:
12+
1213
- add `RegisterPlugin` to the `init()` function in [AliECS core main source](https://github.com/AliceO2Group/Control/blob/master/cmd/o2-aliecs-core/main.go)
1314
- add plugin name in the `integrationPlugins` list and set the endpoint in the AliECS configuration file (typically at `/o2/components/aliecs/ANY/any/settings` in the configuration store)
1415

docs/handbook/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ while still being powerful enough to express complex workflows.
1212

1313
To instantiate a data taking activity, or environment, two kinds of files
1414
are needed:
15+
1516
* workflow templates
1617
* task templates
1718

@@ -196,6 +197,7 @@ for examples of call roles that reference a variety of integration plugins.
196197
#### Workflow hook call structure
197198

198199
The state machine callback moments are exposed to the AliECS workflow template interface and can be used as triggers or synchronization points for integration plugin function calls. The `call` block can be used for this purpose, with similar syntax to the `task` block used for controllable tasks. Its fields are as follows.
200+
199201
* `func` - mandatory, it parses as an [`antonmedv/expr`](https://github.com/antonmedv/expr) expression that corresponds to a call to a function that belongs to an integration plugin object (e.g. `bookkeeping.StartOfRun()`, `dcs.EndOfRun()`, etc.).
200202
* `trigger` - mandatory, the expression at `func` will be executed once the state machine reaches this moment. For possible values, see [State machine triggers](/docs/handbook/operation_order.md#state-machine-triggers)
201203
* `await` - optional, if absent it defaults to the same as `trigger`, the expression at `func` needs to finish by this moment, and the state machine will block until `func` completes.
@@ -410,10 +412,12 @@ Variables whose availability to tasks is handled in some way by AliECS include
410412
* variables delivered to tasks explicitly via task templates.
411413

412414
The latter can be
415+
413416
* sourced from Apricot with a query from the task template iself (e.g. `config.Get`), or
414417
* sourced from the variables available to the current AliECS environment, as defined in the workflow template (e.g. readout-dataflow.yaml)
415418

416419
Depending on the specification in the task template (`command.env`, `command.arguments` or `properties`), the push to the given task can happen
420+
417421
* as system environment variables on task startup,
418422
* as command line parameters on task startup, or
419423
* as (FairMQ) key-values during `CONFIGURE`.
@@ -441,6 +445,7 @@ In addition to the above, which varies depending on the configuration of the env
441445
* `pdp_override_run_start_time`
442446

443447
The following values are pushed by AliECS during `STOP_ACTIVITY`:
448+
444449
* `run_end_time_ms`
445450

446451
FairMQ task implementors should expect that these values are written to the FairMQ properties map right before the `RUN` and `STOP` transitions via `SetProperty` calls.

0 commit comments

Comments
 (0)