File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22# Questions for documentation features
3+
4+ # the main menu
35SelectDocumentationFeatures :
46 when : " {{ template_profile != 'minimum' }}"
57 type : yaml
68 default : |-
79 {% if template_profile == 'recommended' %}
8- [AddOnlineDocumentation, AddDevDoc , not_implemented_project_setup]
10+ [AddOnlineDocumentation_flag, AddDevDoc_flag , not_implemented_project_setup]
911 {%- else -%}
1012 []
1113 {%- endif %}
1214 help : Select documentation features
1315 multiselect : true
1416 choices :
1517 Online documentation (using Read the Docs) :
16- value : AddOnlineDocumentation
18+ value : AddOnlineDocumentation_flag
1719 # validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
1820 Developer documentation :
19- value : AddDevDoc
21+ value : AddDevDoc_flag
2022 # validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
2123 Project setup description (NOT_IMPLEMENTED) :
2224 value : not_implemented_project_setup
2325 # validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
2426 Markdown link checker GitHub Action (NOT_IMPLEMENTED) :
2527 value : not_implemented_markdown_link_checker
2628 # validator: "{% if something != 'AnotherThing' %}BlaBla{% endif %}"
29+
30+ # computed features
31+ AddOnlineDocumentation :
32+ type : bool
33+ default : " {{ 'AddOnlineDocumentation_flag' in SelectDocumentationFeatures }}"
34+ when : false
35+
36+ AddDevDoc :
37+ type : bool
38+ default : " {{ 'AddDevDoc_flag' in SelectDocumentationFeatures }}"
39+ when : false
You can’t perform that action at this time.
0 commit comments