We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa892a commit 55eed6fCopy full SHA for 55eed6f
docs/docusaurus.config.ts
@@ -14,6 +14,21 @@ function getSiteTagline() {
14
}
15
16
17
+function getAnnouncementBarContent() {
18
+ switch(process.env.DOCUSAURUS_CURRENT_LOCALE) {
19
+ case "zh-CN": return '🚧 抱歉!本文档仍在建设中 - 如果你发现任何问题,请告诉我们!我们很乐意听取你的意见! 🌟';
20
+ default: return '🚧 Oops! This doc is still under construction - If you spot any quirks, give us a shout! We\'d love to hear from you! 🌟';
21
+ }
22
+}
23
+
24
+function getAnnouncementBar() {
25
+ return {
26
+ id: 'IN_WIP',
27
+ content: getAnnouncementBarContent(),
28
+ isCloseable: true
29
+ };
30
31
32
const config: Config = {
33
title: 'Kotlin Suspend Transform Compiler Plugin',
34
tagline: getSiteTagline(), // 'Make suspend less shy',
@@ -88,6 +103,7 @@ const config: Config = {
88
103
],
89
104
90
105
themeConfig: {
106
+ announcementBar: getAnnouncementBar(),
91
107
// Replace with your project's social card
92
108
// image: 'img/docusaurus-social-card.jpg',
93
109
navbar: {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments