-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml.sample
90 lines (90 loc) · 3.36 KB
/
config.yaml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Parameters for the input from the goals spreadsheet.
goals:
# The index of the row with the project names.
project_row:
# The index of the row with the last project numbers.
last_row:
# The index letter of the column with first project. Must be a single upper
# case letter.
first_project_column:
# Mapping of column headers in the projects spreadsheet to canonical labels
project_columns:
canonical_label: column_header
# Parameters for wiki pages
wiki:
# default edit summary
edit_summary:
# Namspace for projects.
project_namespace:
# Name of the template used to create the project page.
project_template:
# Parameters to pass to the template.
project_parameters:
# Parameter with string value.
template_parameter_1:
string: value
# Mapping between the parameter names in the project page
# template and the canonical label in project_columns above.
template_parameter_2:
column: label
# A list of subpages that should be created under the project page.
subpages:
# Title of the subpage.
- title:
# Name of the template used to create subpage.
template_name:
# Paramaters to pass to the subpage template. Uses the same
# formats as project_parameters.templates. Note that the
# "år"-parameter is always passed.
parameters:
template_parameter_1:
column: label
template_parameter_2:
string: value
# Add this only if the subpage should include goals. If no
# page has this parameter a goal file isn't required.
add_goals_parameters:
# Template parameter where the goals template should be
# put and the name of the template to use for the goals.
template_parameter: Template:Goals
year_pages:
# Template where current projects are listed
current_projects_template:
# Map of pages that will be created by substituting
# templates. Instances of "<YEAR>" in the title are replaced
# by the actual year.
simple:
Title: Template
# Parameters for project year page.
projects:
title:
template:
# Year categories.
categories:
# This category is added to each category page.
general: Category
# Category page to add. Key is page title (replaces
# "<YEAR>" with actual year). Value, if present is an
# extra category to add to the page or a list of such categories.
pages:
Title 1:
Title 2: Extra Category
# Parameters for volunteer tasks year page.
volunteer_tasks:
title:
template:
# Template that maps project number to name.
project_name_template:
# Template that maps project name to number.
project_number_template:
# Parameters for Phabricator
phab:
# URL to the API.
api_url: https://.../api
# Id of the project that created projects will be subprojects
# of. This can be found in the URL of a project, e.g. in
# https://phabricator.wikimedia.org/project/profile/2480/
# the id is 2480
parent_project_id:
# Time in seconds to wait between making request.
request_delay: