antvis / dumi-theme-antv Goto Github PK
View Code? Open in Web Editor NEWAntV website theme based on dumi2.
Home Page: https://dumi-theme-antv.antv.vision/
License: MIT License
AntV website theme based on dumi2.
Home Page: https://dumi-theme-antv.antv.vision/
License: MIT License
playground 中可以自定义 container
http://localhost:8000/examples/ -》 跳转到第一个 demo
导致页面打不开:https://dumi-theme-antv.antv.vision/examples @PeachScript
所以 SEO 也存在问题。
embed 的文档,markdown 样式和原 md 文件不一致
embed 的文档,没有热更新
{
themeConfig: {
internalSite: {
url: 'https://antv.antgroup.com',
name: { zh: 'xx', en: 'yy' }
}
}
}
之前使用了 gatsby 的插件:gatsby-plugin-workerize-loader
gatsby 配置:https://github.com/antvis/G/blob/next/packages/site/gatsby-config.js#L9
背后使用的其实是 Webpack 插件:https://github.com/developit/workerize-loader
完整示例:https://github.com/antvis/G/blob/next/packages/site/examples/canvas/demo/offscreen-canvas.ts
在 dumi 中如何使用 WebWorker 呢?是否也可以使用 https://github.com/developit/workerize-loader 呢?
构建出来的umi.xxx.js
中包含这样的代码:
1 .toString
本地可以正常运行。但部署到 github pages 后空格被去掉了,就会报错:
1.toString
猜测是 gzip 导致的?
增加类 通过额外的全局css文件来定制
http://localhost:8000/api/Graph
预期:
实际:
http://localhost:8000/api/TreeGraph
预期:
实际:
方案:全局修改markdown的class样式??
a 嵌入 b 的时候,b 的 frontmeta 会替换 a 的 frontmeta。开发者也可以解决,就是把公共的部分再拉出来放一个文件
汇总 迁移并部署 的阻断性问题,以下问题解决之后,就可以 AntV 全栈迁移并部署。
多语言之前支持如下格式的 URL:
/zh/api/canvas/options
/en/api/canvas/options
目前 /en
没问题,但 /zh
会失效,后续是不再使用了吗?或者说默认语言对应的 URL 就是不带 /zh
的。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.