From 61f79cbe167f4edbceeae662eb4f2b6bc0579b1c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 3 Jan 2024 15:48:49 -0800 Subject: [PATCH] Update toml schema for website roles --- docs/toml-schema.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/toml-schema.md b/docs/toml-schema.md index ee47bc96b..fba96cf4e 100644 --- a/docs/toml-schema.md +++ b/docs/toml-schema.md @@ -49,6 +49,12 @@ members = [ "rfcbot", "craterbot", "rust-timer", + # Any subset of members may hold custom roles, beyond "Team leader" which is + # controlled by the `leads` array above. See [[website.roles]]. Members with + # roles are written using an inline table as follows. A simple string member + # like "bors" is equivalent to {name = "bors", roles = []}. + { name = "Crab01", roles = ["cohost"] }, + { name = "Crab02", roles = ["cohost"] }, ] # Past members of the team. They will not be considered as part of the team, # but they will be recognized on the website. @@ -140,10 +146,6 @@ weight = -100 id = "cohost" # Text to appear on the website beneath the team member's name and GitHub handle. description = "Co-host" -# Subset of the team's members holding this role. A member may hold arbitrarily -# many roles. Each team member's roles will appear comma-separated in the same -# order as roles are listed in the website.roles array. -members = ["Crab01", "Crab03"] # Define the mailing lists used by the team # It's optional, and there can be more than one