LLM Metadata generation script #79

Merged
tischrei merged 6 commits from script into main 2026-03-04 10:27:40 +00:00
Showing only changes of commit 9aa8be461e - Show all commits

View File

@ -224,7 +224,7 @@ def add_sphinx_metadata(file_path, meta_description, meta_keywords=None):
"""Add Sphinx-compatible meta block at the end of an RST file.""" """Add Sphinx-compatible meta block at the end of an RST file."""
content = read_rst_content(file_path) content = read_rst_content(file_path)
meta_block = "\n.. meta::\n" meta_block = "\n\n.. meta::\n"
if meta_description: if meta_description:
meta_block += " :description: {}\n".format(meta_description) meta_block += " :description: {}\n".format(meta_description)
if meta_keywords: if meta_keywords: