You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(website): enhanced control over navbar and sidebar titles (#13477)
- Allow `navbar.title` and `sidebar.title` to be `boolean` or `string`.
- Fix bug where disabling navbar title erroneously hid sidebar title.
- Support custom titles for navbar and sidebar.
- Add smoke tests for title control options.
- Update schema documentation for titling options.
Copy file name to clipboardExpand all lines: src/resources/schema/definitions.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -989,7 +989,7 @@
989
989
anyOf:
990
990
- string
991
991
- boolean
992
-
description: "The navbar title. Uses the project title if none is specified."
992
+
description: "The navbar title. Use a string for custom text, `true` (the default) to use the project title, or `false` to hide the title."
993
993
logo:
994
994
ref: logo-light-dark-specifier
995
995
description: "Specification of image that will be displayed to the left of the title."
@@ -1071,7 +1071,7 @@
1071
1071
anyOf:
1072
1072
- string
1073
1073
- boolean
1074
-
description: "The sidebar title. Uses the project titleif none is specified."
1074
+
description: "The sidebar title. Use a string for custom text, `true` to use the project title, or `false` to hide the title. If unspecified, the title is shown if there is no navbar title and no sidebar logo (except for books, where a sidebar logo does not hide the title)."
1075
1075
logo:
1076
1076
ref: logo-light-dark-specifier
1077
1077
description: "Specification of image that will be displayed in the sidebar."
0 commit comments