antvis / G2

📊 The concise and progressive visualization grammar.
https://g2.antv.antgroup.com
MIT License
12.08k stars 1.59k forks source link

[bug] 官网nav中的教程和api,mac用cmd+左键打开新页面404 #4797

Closed XueMeijing closed 10 months ago

XueMeijing commented 1 year ago

5.0-rc2的官网导航,href是 https://g2.antv.antgroup.com/docs/api/overview 新标签页打开404, 点击打开就没有中间的docs了然后路径正常,dumi路径设置的问题吗?

image

ai-qing-hai commented 1 year ago

@XueMeijing 现在应该行了。 只是中间还是有去除 docs 到跳转

XueMeijing commented 1 year ago

@XueMeijing 现在应该行了。 只是中间还是有去除 docs 到跳转

还是不行呢,你可以试试 https://g2.antv.antgroup.com/ 。右键导航栏的api和教程,还是404。应该有很多人喜欢右键或者快捷键打开新标签页,所以还是有点影响的

hustcc commented 1 year ago

@ai-qing-hai XueMeijing 的意思是,按住键盘 Ctrl/Command 按键,然后点击链接,就可以在浏览器新标签打开,这个时候会出现 404。

ai-qing-hai commented 1 year ago

@hustcc 我发现本地最新的 v5 条转最新打开 也是可以的了。 是修复了吧。

hustcc commented 1 year ago

新的 v5 条转最新

本地是可以的,但是 build 之后,在 http-server 起来会有问题。

ai-qing-hai commented 1 year ago

@hustcc https://github.com/antvis/dumi-theme-antv/pull/237 不知道对其他有没有影响, 试了 g2 和 antd charts 没什么问题