-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
fix: update docsOnlineUrl #484
base: main
Are you sure you want to change the base?
Conversation
📝 Walkthrough变更概述演练此次变更修改了 变更
建议的审阅者
诗歌
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Walkthrough此拉取请求更新了 Changes
|
@@ -137,7 +137,7 @@ const CodePreviewer: React.FC<AntdPreviewerProps> = (props) => { | |||
const { theme } = useContext<SiteContextProps>(SiteContext); | |||
|
|||
const { hash, pathname, search } = location; | |||
const docsOnlineUrl = `https://ant.design${pathname}${search}#${asset.id}`; | |||
const docsOnlineUrl = `https://ant-design-x.antgroup.com${pathname}${search}#${asset.id}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL for docsOnlineUrl
has been updated to https://ant-design-x.antgroup.com
. Ensure that this new URL is correct and accessible in the intended environments.
修改后可以跳转到英文版对应的组件代码演示上了,如果需要根据中/英文进行跳转,我很乐意去修改🥰 |
此拉取请求包含对 .dumi/theme/builtins/Previewer/CodePreviewer.tsx 文件中
CodePreviewer
组件的更改,以更新文档 URL。docsOnlineUrl
更新为指向 https://ant-design-x.antgroup.com 而不是 https://ant.design ,在开发环境下方便对照生产环境的组件。Summary by CodeRabbit
https://ant-design-x.antgroup.com
。