Skip to content

Commit 089c4ba

Browse files
authored
Merge pull request #2 from StarRocks/testscripts
Test the translations and update prompts to improve complex markdown
2 parents 8cf4678 + 4f8b94d commit 089c4ba

13 files changed

Lines changed: 19214 additions & 22 deletions

docusaurus-check/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
.docusaurus/
3+
build/
4+
docs/
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// @ts-check
2+
3+
/** @type {import('@docusaurus/types').Config} */
4+
const config = {
5+
title: 'Translation Check',
6+
url: 'http://localhost',
7+
baseUrl: '/',
8+
trailingSlash: true,
9+
onBrokenLinks: 'ignore',
10+
onBrokenAnchors: 'ignore',
11+
12+
presets: [
13+
[
14+
'classic',
15+
/** @type {import('@docusaurus/preset-classic').Options} */
16+
({
17+
docs: {
18+
sidebarPath: require.resolve('./sidebars.js'),
19+
admonitions: {
20+
// Match StarRocks production keywords exactly
21+
keywords: ['experimental', 'beta', 'note', 'tip', 'info', 'caution', 'danger'],
22+
},
23+
},
24+
blog: false,
25+
theme: {
26+
customCss: require.resolve('./src/css/custom.css'),
27+
},
28+
}),
29+
],
30+
],
31+
32+
themeConfig:
33+
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
34+
({
35+
navbar: { title: 'Translation Check', items: [] },
36+
footer: { copyright: 'Translation Check' },
37+
}),
38+
};
39+
40+
module.exports = config;

0 commit comments

Comments
 (0)