Skip to content

Commit abaa274

Browse files
Exclude website description from book reference (#1581) (#1582)
(cherry picked from commit 313d130) Co-authored-by: Charlotte Wickham <[email protected]>
1 parent dabaf3b commit abaa274

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/reference/projects/book.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,6 @@
439439
"name": "year-suffix",
440440
"description": "Disambiguating year suffix in author-date styles (e.g. \"a\" in \"Doe, 1999a\")."
441441
},
442-
{
443-
"name": "description",
444-
"description": "Website description"
445-
},
446442
{
447443
"name": "favicon",
448444
"description": "The path to the favicon for this website"

tools/reference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ const websiteOptions = readDefinitionsId("base-website", {
513513
writeProjectTable("website", websiteOptions);
514514

515515

516-
const excludeFromBooks = ['announcement', 'drafts', 'draft-mode', 'title'];
516+
const excludeFromBooks = ['announcement', 'description', 'drafts', 'draft-mode', 'title'];
517517

518518
const bookOptions: Option[] = readProjectObject("book").concat(
519519
websiteOptions.filter(option => !excludeFromBooks.includes(option.name))

0 commit comments

Comments
 (0)