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.
2 parents a378a79 + 8ee193a commit f5d41caCopy full SHA for f5d41ca
.scripts/gen_markdown_chapters.py
@@ -54,14 +54,6 @@ def to_title(name: str) -> str:
54
55
return " ".join(words)
56
57
-
58
-def to_camel_case(name: str) -> str:
59
- """Return *name* converted to CamelCase without leading digits."""
60
- # Strip leading numeric prefixes like ``01_``
61
- name = re.sub(r"^\d+_?", "", name)
62
- parts = re.split(r"[_\-\s]+", name)
63
- return " ".join(word.capitalize() for word in parts if word)
64
65
def generate_aggregate(folder: Path, output_dir: Path) -> None:
66
"""Create a single Markdown file aggregating all examples in *folder*."""
67
examples = []
0 commit comments