We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d53676c commit 5fa7a28Copy full SHA for 5fa7a28
1 file changed
scripts/sync_docs.py
@@ -51,9 +51,9 @@ def flush():
51
text = "\n".join(buffer).strip()
52
if text: sections.append({"key": current_key, "title": current_title, "content": text})
53
for line in content.splitlines():
54
- if line.startswith("## "):
+ if line.startswith("## ") or line.startswith("### "):
55
flush()
56
- current_title = line[3:].strip()
+ current_title = line.lstrip("#").strip()
57
current_key = current_title.lower()
58
buffer = []
59
else: buffer.append(line)
0 commit comments