Skip to content

Commit d79a052

Browse files
committed
style: apply prettier formatting to docusaurus.config.ts
1 parent 06ea604 commit d79a052

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

cnwebsite/docusaurus.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type * as PluginContentDocs from '@docusaurus/plugin-content-docs';
22
import type * as Preset from '@docusaurus/preset-classic';
33
import type {Config} from '@docusaurus/types';
44
import path from 'path';
5+
56
// const users = require('./showcase.json');
67
const versions = require('./versions.json');
78
const lastVersion = versions[0];
@@ -186,6 +187,12 @@ const config: Config = {
186187
// ],
187188
],
188189
themeConfig: {
190+
announcementBar: {
191+
id: 'ai-cresc-dev',
192+
content:
193+
'<a href="https://ai.cresc.dev" target="_blank" rel="noopener noreferrer">AI 中转站</a>:纯正官方 GPT-5.5 与 Claude Opus 4.7 模型,价格实惠、服务稳定、绝不掺水、数据安全。',
194+
isCloseable: true,
195+
},
189196
colorMode: {
190197
defaultMode: 'light',
191198
disableSwitch: false,

0 commit comments

Comments
 (0)