-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7947c78
commit d99f059
Showing
14 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Roles | ||
|
||
This directory contains YAML files, one per role. | ||
|
||
## Editing | ||
|
||
Each YAML file should contain the details of one role only. | ||
Each role is automatically picked up by the template. To add or remove a role, simply add or remove a file. Do not add non-role documents to this directory that can be parsed by Jekyll. | ||
|
||
Each file *must* contain the following tags at top level: | ||
|
||
* `role`: The name of the role (e.g. Core library maintenance) | ||
|
||
Each role can optionally have the following tags: | ||
* `description`: text describing the role. This can be written in Markdown. | ||
* `tasks`: a list of strings describing tasks. This is rendered as a list. | ||
|
||
Each role can also optionally have lead/member tags, if there are no subroles. If there are subroles, the below are ignored: | ||
* `current_leads`: a list of names who are current leads | ||
* `current_members`: a list of names who are current members in the subgroup | ||
* `historical_leads`: a list of names who were previously leads | ||
* `historical_members`: a list of names who were previously members in the subgroup | ||
|
||
Onto subroles: each role can optionally define `subroles`. The `subroles` tag should be a **list** where each item *must have*: | ||
|
||
* `subrole`: The name of the subrole (e.g. Issue management) | ||
|
||
Each subrole can *optionally have*: | ||
* `current_leads`: a list of names who are current leads | ||
* `current_members`: a list of names who are current members in the subgroup | ||
* `historical_leads`: a list of names who were previously leads | ||
* `historical_members`: a list of names who were previously members in the subgroup | ||
* `description`: text describing the role. This can be written in Markdown. | ||
* `tasks`: a list of strings describing tasks. This is rendered as a list. | ||
|
||
|
||
## Parsing | ||
|
||
The files here are read first by ``_includes/team_table.html`` and ``_includes/roles_description.html``. | ||
Jekyll automatically reads YAML, JSON, and other formatted files in the ``_data`` directory | ||
as objects that can be interacted with using the Liquid templating language. | ||
For example, the ``name`` variable of the ``code_of_conduct.yml`` file is accessible as ``site.data.team.roles.code_of_conduct.name`` in HTML. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,4 @@ subroles: | |
historical_leads: | ||
- Irfan Alibay | ||
- Jonathan Barnoud | ||
historical_members: [] | ||
historical_members: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ current_members: | |
historical_leads: | ||
- Irfan Alibay | ||
- Lily Wang | ||
historical_members: [] | ||
historical_members: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,4 +77,4 @@ subroles: | |
current_members: [] | ||
historical_leads: | ||
- Irfan Alibay | ||
historical_members: [] | ||
historical_members: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters