Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add announcement for doc experience survey #6605

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig({
isAntVSite: false, // 是否是 AntV 的大官网
footerTheme: 'light', // 白色 底部主题
siteUrl: 'https://antv.antgroup.com/', // 官网首页地址
sitePackagePath: '/site', // 官网子包所在路径
githubUrl: repository.url, // GitHub 地址
showSearch: true, // 是否显示搜索框
showGithubCorner: true, // 是否显示头部的 GitHub icon
Expand Down Expand Up @@ -425,9 +426,19 @@ export default defineConfig({
</body>
</html>`,
},
/** 公告 */
announcement: {
zh: '',
en: '',
title: {
zh: '参与 AntV 文档体验问卷,助力打造更友好的开发者文档,有机会赢取 AntV 限定周边!👉',
en: 'Join in the AntV Documentation Experience Survey to help us create more developer-friendly documentation, and stand a chance to win exclusive AntV merchandise! 👉',
},
link: {
url: 'https://www.wjx.cn/vm/Pf0XYWM.aspx#',
text: {
zh: '立即填写',
en: 'Fill in now',
},
},
},
/** 首页技术栈介绍 */
detail: {
Expand Down
Loading