We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79541a8 commit 8ee193aCopy full SHA for 8ee193a
.scripts/gen_markdown_chapters.py
@@ -56,14 +56,6 @@ def to_title(name: str) -> str:
56
57
return " ".join(words)
58
59
-
60
-def to_camel_case(name: str) -> str:
61
- """Return *name* converted to CamelCase without leading digits."""
62
- # Strip leading numeric prefixes like ``01_``
63
- name = re.sub(r"^\d+_?", "", name)
64
- parts = re.split(r"[_\-\s]+", name)
65
- return " ".join(word.capitalize() for word in parts if word)
66
67
def generate_aggregate(folder: Path, output_dir: Path) -> None:
68
"""Create a single Markdown file aggregating all examples in *folder*."""
69
examples = []
0 commit comments