From 55fa5d0e5b28afca597e17e056245b0f801a6923 Mon Sep 17 00:00:00 2001 From: Otabek <60849894+otabekoff@users.noreply.github.com> Date: Thu, 7 Jul 2022 19:39:14 +0500 Subject: [PATCH] docs: add `outlineTitle` in theme config (#908) Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> --- docs/config/theme-configs.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/config/theme-configs.md b/docs/config/theme-configs.md index eb40afdf..b1b63151 100644 --- a/docs/config/theme-configs.md +++ b/docs/config/theme-configs.md @@ -130,6 +130,22 @@ interface SidebarItem { } ``` + +## outlineTitle + +- Type: `string` +- Default: `On this page` + +Can be used to customize the title of the right sidebar (on the top of outline links). This is useful when writing documentation in another language. + +```js +export default { + themeConfig: { + outlineTitle: 'In hac pagina' + } +} +``` + ## socialLinks - Type: `SocialLink`