Skip to content

Commit 4f35231

Browse files
committed
fix reference index
1 parent c656a32 commit 4f35231

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed
File renamed without changes.

tools/docs/reference/gen_reference.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ async function reference() {
2222
disableSources: true,
2323
excludeNotDocumented: true,
2424
excludePrivate: true,
25-
readme: path.join(repoPath, 'docs', 'reference', 'index.md'),
2625
theme: 'markdown'
2726
},
2827
[new TypeDoc.TSConfigReader()]

tools/docs/reference/gen_reference.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def _gen_reference(folder: str) -> None:
4545

4646
for path in Path(tmp_dir).rglob("*.md"):
4747
with open(path, "rt", encoding="utf8") as f_src:
48+
if (Path(tmp_dir) / "README.md").resolve() == path.resolve():
49+
continue
4850
content = f_src.read()
4951
content = content.replace("##### ", "").replace("#### ", "")
5052
content = Vizzu.set_version(content)

0 commit comments

Comments
 (0)