Commit 9bbd7f1
committed
feat(cli): inline field docs in generated resources-server config
Annotate the config emitted by ng_init_resources_server with inline comments
explaining each non-obvious field (domain, resources_server, policy_model magic
name, datasets/source), addressing friction #7 (no inline documentation in
generated configs). Also modernize the scaffold to emit the canonical `source:`
dataset block instead of the now-deprecated `gitlab_identifier`, so a freshly
created server starts on the recommended schema.
Addresses M6a (epic #1205).
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>1 parent 87ab634 commit 9bbd7f1
2 files changed
Lines changed: 34 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
| 755 | + | |
755 | 756 | | |
756 | 757 | | |
| 758 | + | |
757 | 759 | | |
| 760 | + | |
758 | 761 | | |
| 762 | + | |
759 | 763 | | |
760 | 764 | | |
761 | 765 | | |
762 | 766 | | |
| 767 | + | |
763 | 768 | | |
764 | 769 | | |
765 | 770 | | |
| 771 | + | |
| 772 | + | |
766 | 773 | | |
767 | 774 | | |
768 | 775 | | |
| 776 | + | |
| 777 | + | |
769 | 778 | | |
770 | 779 | | |
771 | 780 | | |
772 | 781 | | |
773 | 782 | | |
774 | | - | |
| 783 | + | |
| 784 | + | |
775 | 785 | | |
776 | 786 | | |
777 | 787 | | |
| 788 | + | |
778 | 789 | | |
779 | 790 | | |
780 | 791 | | |
781 | 792 | | |
782 | 793 | | |
783 | | - | |
| 794 | + | |
| 795 | + | |
784 | 796 | | |
785 | 797 | | |
786 | 798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
125 | 143 | | |
126 | 144 | | |
127 | 145 | | |
| |||
0 commit comments