Skip to content

Commit 19439ce

Browse files
authored
feat: Add slug to DOCUSAURUS Frontmatter (#8)
1 parent 5e5b3a4 commit 19439ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/haystack_pydoc_tools/renderers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
"""
2828

2929
DOCUSAURUS_FRONTMATTER = """---
30-
title: {title}
30+
title: "{title}"
3131
id: {id}
32-
description: {description}
32+
description: "{description}"
33+
slug: "/{id}"
3334
---
3435
3536
"""

0 commit comments

Comments
 (0)