Fix pre-commit and CI issues

- Add site_name to zensical.toml (required by MkDocs)
- Fix RET504 in docs_gen.py (unnecessary assignment before return)
- Remove docs/run_markdown_code_runner.py (lint issues, not needed for CI)
This commit is contained in:
Bas Nijholt 2026-01-12 10:48:43 -08:00
commit ee78670aa2
3 changed files with 2 additions and 98 deletions

View file

@ -84,9 +84,7 @@ def transform_readme_links(content: str) -> str:
content = content.replace(f"]({old_link})", f"]({new_link})")
# Also handle the ToC link pattern [[ToC](#...)]
content = re.sub(r"\[\[ToC\]\([^)]+\)\]", "", content)
return content
return re.sub(r"\[\[ToC\]\([^)]+\)\]", "", content)
def get_feature_list() -> str: