-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Document the major design patters for implementing Cylc workflows. * Along with cylc/cylc-flow#5773, this closes #627 * Add some functional examples for users to play with. * The aim is to help assist workflow writers by providing them with minimal templates to flush out.
- Loading branch information
1 parent
7f6a81f
commit c46b53b
Showing
5 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu | ||
|
||
# rm cylc-flow-examples || true | ||
examples="$(python -c 'import cylc.flow; from pathlib import Path; print(Path(cylc.flow.__file__).parent)')/etc/examples" | ||
for example in $(echo "${examples}/"*); do | ||
if [[ -d "${example}" ]]; then | ||
target="src/user-guide/examples/$(basename "${example}")" | ||
rm "${target}" || true | ||
ln -s "${example}" "${target}" | ||
fi | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Examples | ||
======== | ||
|
||
These examples cover some of the main patterns for implementing Cylc workflows. | ||
|
||
.. toctree:: | ||
:glob: | ||
|
||
*/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters