Commit 3e1e738
committed
Standardize the way numbered record names are documented
Some records are named after a fixed number of dimensions or items, and
therefore can be collectively documented. To collapse its name while
keeping the information of where the instance number goes, we use square
brackets with the variable N. However, the way the ranges are specified
is inconsistent, and how the user should interpret the brackets
substitution is undocumented. Moreover, we use the variable N for this
context, but there are also PVs with references to such variable name as
well, making it even more confusing for a newcomer.
Change that by standardizing on using angle brackets to specify the
instance number, making consistently documented in the entry
description. To avoid confusion with variables names, use K instead of
N, and provide an example for each record of an expanded record name, in
order to make sure that readers will correctly drop the brackets
characters.
Because NDPluginGather substitutes its instance number based on the
environment variable, properly annotate it as such. In this case, the
range is user-defined, and it is already documented in the description.1 parent c046248 commit 3e1e738
3 files changed
+22
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | | - | |
756 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
757 | 759 | | |
758 | 760 | | |
759 | 761 | | |
| |||
784 | 786 | | |
785 | 787 | | |
786 | 788 | | |
787 | | - | |
788 | | - | |
789 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
790 | 794 | | |
791 | 795 | | |
792 | 796 | | |
| |||
797 | 801 | | |
798 | 802 | | |
799 | 803 | | |
800 | | - | |
| 804 | + | |
801 | 805 | | |
802 | 806 | | |
803 | 807 | | |
| |||
811 | 815 | | |
812 | 816 | | |
813 | 817 | | |
814 | | - | |
815 | | - | |
816 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
817 | 823 | | |
818 | 824 | | |
819 | 825 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments