From 6113d7056ca898f58c646bfa60dc984ea28ef6be Mon Sep 17 00:00:00 2001 From: Otabek <60849894+otabekoff@users.noreply.github.com> Date: Sun, 3 Jul 2022 20:19:33 +0500 Subject: [PATCH] Updated config/theme-configs for outlineTitle property --- docs/config/theme-configs.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/config/theme-configs.md b/docs/config/theme-configs.md index eb40afdf..a7b6d43a 100644 --- a/docs/config/theme-configs.md +++ b/docs/config/theme-configs.md @@ -130,6 +130,23 @@ interface SidebarItem { } ``` + +## outlineTitle + +- Type: `string` + +Can be used to customize title of right sidebar, on top of the outline links. This is useful when writing documentation in another language. + +If the option is `undefined`, then the value of `outlineTitle` option will be used. Namely, it shows "On this page" text by default. + +```js +export default { + themeConfig: { + outlineTitle: 'In hac pagina' + } +} +``` + ## socialLinks - Type: `SocialLink`