Skip to content

Commit

Permalink
Start some basic documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Apr 22, 2024
1 parent 8cc473e commit 82ed672
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
16 changes: 14 additions & 2 deletions _tools/frontmatter-validator/schemas/person.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@
"type": "object",
"properties": {
"title": {
"type": "string"
"type": "string",
"description": "The person's full display name or designation.",
"examples": [
"Darla Dogson",
"Darla",
"darla_dog_1985"
]
},
"pronouns": {
"type": "string"
"type": "string",
"description": "The person's pronouns.",
"examples": [
"she/her",
"they/them",
"he/they"
]
},
"updated": {
"type": "string",
Expand Down
19 changes: 16 additions & 3 deletions _tools/frontmatter-validator/schemas/redirect.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,26 @@
"type": "object",
"properties": {
"permalink": {
"type": "string"
"type": "string",
"description": "The relative URL of the referring page.",
"examples": [
"/schedule"
]
},
"redirect": {
"type": "string"
"type": "string",
"description": "The relative or absolute URL of the destination page.",
"examples": [
"/program",
"https://example.com/program"
]
},
"title": {
"type": "string"
"type": "string",
"description": "A title for this link for use in internal labeling (usually not needed).",
"examples": [
"Program"
]
}
},
"required": [
Expand Down

0 comments on commit 82ed672

Please sign in to comment.