Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Nov 26, 2024
2 parents 6a712f3 + d9a11bb commit 317fe8a
Show file tree
Hide file tree
Showing 94 changed files with 25,021 additions and 560 deletions.
10 changes: 8 additions & 2 deletions .i18nrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ module.exports = defineConfig({
jsonMode: true,
},
markdown: {
// reference: '你需要保持 mdx 的组件格式,输出文本不需要在最外层包裹任何代码块语法',
reference: '你需要保持 mdx 的组件格式,输出文本不需要在最外层包裹任何代码块语法',
entry: ['./README.zh-CN.md', './contributing/**/*.zh-CN.md', './docs/**/*.zh-CN.mdx'],
entryLocale: 'zh-CN',
outputLocales: ['en-US'],
exclude: ['./contributing/_Sidebar.md', './contributing/_Footer.md', './contributing/Home.md'],
includeMatter: true,
exclude: [
'./src/**/*',
'./contributing/_Sidebar.md',
'./contributing/_Footer.md',
'./contributing/Home.md',
],
outputExtensions: (locale, { filePath }) => {
if (filePath.includes('.mdx')) {
if (locale === 'en-US') return '.mdx';
Expand Down
11 changes: 10 additions & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
module.exports = require('@lobehub/lint').semanticRelease;
const config = require('@lobehub/lint').semanticRelease;

config.plugins.push([
'@semantic-release/exec',
{
prepareCmd: 'npm run workflow:changelog',
},
]);

module.exports = config;
Loading

0 comments on commit 317fe8a

Please sign in to comment.