MCPcopy
hub / github.com/MisterBooo/LeetCodeAnimation / indexBlockZh

Function indexBlockZh

tools/scripts/build-readme.js:52–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51// 中文「当前索引」表 —— 注入 README.md(链接相对仓库根)
52function indexBlockZh() {
53 return [
54 "## 当前索引",
55 "",
56 "> 下表数字由 `tools/scripts/build-readme.js` 据 `docs/data/manifest.json` 实算注入,**请勿手改**。",
57 "",
58 "| 项目 | 数量 / 位置 |",
59 "| :-- | :-- |",
60 `| LeetCode 动画题数 | **${stats.count}** |`,
61 `| 简单 | ${stats.easy} |`,
62 `| 中等 | ${stats.medium} |`,
63 `| 困难 | ${stats.hard} |`,
64 "| 数据文件 | [`docs/data/manifest.json`](docs/data/manifest.json) |",
65 "| 按题号索引 | [`docs/leetcode-animation-index.md`](docs/leetcode-animation-index.md) |",
66 "| 按专题索引 | [`docs/index-by-topic.md`](docs/index-by-topic.md) |",
67 "| 网站路径 | <https://www.algomooc.com/leetcode-animation> |",
68 "",
69 ].join("\n");
70}
71
72// 英文 Current Index 表 —— 注入 docs/README-En.md(链接相对 docs/)
73function indexBlockEn() {

Callers 1

build-readme.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected