Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-core / dist / chain / update-gitbook.yml
1 # How to use
2 # update:gitbook --directory="/path/to/drupal-project/"
3 command:
4   name: update:gitbook
5   description: 'Update gitbook'
6 commands:
7   - command: 'module:install'
8     arguments:
9       module:
10         - rest
11         - taxonomy
12         - locale
13         - migrate
14         - simpletest
15         - breakpoint
16         - node
17         - views
18         - features
19 {% set languages = ['en', 'es', 'hi', 'hu', 'pt_br', 'ro', 'vn', 'zh_hans'] %}
20 {% for language in languages %}
21   - command: settings:set
22     arguments:
23       name: language
24       value: {{ language }}
25   - command: develop:doc:gitbook
26     options:
27       path: '{{ directory }}/{{ language }}'
28 {% endfor %}
29   - command: settings:set
30     arguments:
31       name: language
32       value: en