2023-06-16 19:33:55 +01:00
|
|
|
variables:
|
|
|
|
- name: function_name
|
|
|
|
ask: Name of the function
|
|
|
|
- name: category
|
|
|
|
ask: Documentation category (lower case)
|
2023-07-28 21:03:18 +01:00
|
|
|
- name: unstable_apis
|
|
|
|
default_value: "false"
|
|
|
|
ask: Does the function require `--cfg=web_sys_unstable_apis` to be activated?
|
|
|
|
select_in_values: ["true", "false"]
|
2023-06-16 19:33:55 +01:00
|
|
|
- name: module
|
|
|
|
default_value: ""
|
|
|
|
ask: Module [optional]
|
|
|
|
- name: feature
|
2024-08-24 22:50:02 +01:00
|
|
|
default_value: "{{ function_name }}"
|
|
|
|
ask: cfg feature
|
2023-06-16 19:33:55 +01:00
|
|
|
|
|
|
|
ignores:
|
|
|
|
- modify_files.py
|
2023-06-17 14:05:17 +01:00
|
|
|
- createfn.sh
|
2023-06-16 19:33:55 +01:00
|
|
|
|
|
|
|
scripts:
|
2024-08-24 22:50:02 +01:00
|
|
|
- cmd: python3 template/modify_files.py {{ function_name }} {{ category }}{{#if module}} --module {{ module }}{{/if}} --feature {{ feature }}
|