[mkdocs] some examples don't run in the docs
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
If you take an example like this from the current docs, it doesn't run in the mkdocs site
https://plotly.com/javascript/tile-map-layers/#openstreetmap-tiles
This example uses d3 but the mkdocs site isn't loading that.
We should:
- determine what other JS libraries are needed by the docs and ensure the are loaded
and/or - rewrite examples to make sure no additional JS libraries are needed
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 JavaScript 文档中的 OpenStreetMap 瓦片示例开始,检查 MkDocs 网站如何加载其脚本。找出依赖外部 JavaScript 库的其他文档示例,然后确保加载这些库,或使这些示例不再需要它们;完成的标准是受影响的示例能够在 MkDocs 网站上运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- d3, javascript
- 领域
- documentation, web-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100