Adding a manual
A manual page allows including documentation directly in a ecf script to be viewed in ecflow_ui.
The manual page is the concatenation of all the text within the %manual and :code`%end` directives.
To include the manual for task t2, modify t2.ecf to include the following:
%manual
Manual for task t2
Operations: if this task fails, set it to complete and report next working day
Analyst: Check something ?
%end
%include "../head.h"
echo "I am part of a suite that lives in %ECF_HOME%"
%include "../tail.h"
%manual
There can be multiple manual pages in the same file.
When viewed they are simply concatenated.
%end
A manual page can also be added to a family and suite node.
To add a manual page for family f1, create a file named f1.man
with the following content in the directory {HOME}/course/test:
This manual is for family %FAMILY%
It can have any text and will also have variable substitution
Notice that this does not have manual..end since the whole file is a manual page.
To add a manual page for suite test, create a file named test.man`
with the following content in the directory {HOME}/course:
%manual
This is the manual page for the %SUITE% suite.
It lives in %ECF_HOME%
%end
This text is not visible in the man page since it is out side of the %manual..%end
Important
Notice that for family and suite nodes, the enclosure in %manual ... %end
is not strictly necessary. However, adding %manual ... %end allows to decide
what parts are made visible when using ecflow_ui.
What to do
Add the task manual to
t2.ecfscriptAdd the file
f1.manAdd the file
test.manView the manual page for task
t2in ecflow_uiView the manual page for family
f1in ecflow_uiView the manual page for suite
testin ecflow_ui