Zeige Versand-Editionen in der Übersicht und lockere Kapitel-Pfadtests.
Deploy Development / deploy (push) Successful in 28s
Test Suite / pytest-backend (push) Failing after 2m7s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 8s

Anlagen und Versandfassungen tragen Relation und Edition in index.html und inhalt.md; verschachtelte Exportpfade hängen von der Auswahl ab und werden nicht mehr starr nummeriert geprüft.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-18 15:12:04 +02:00
1 parent 60a76803e1
commit 5905df6c17
2 files changed
+13 -10

No files matched your search

+7 -3
View File
@@ -1070,7 +1070,10 @@ def _html_leaf(entry: Entry | None, generated: str) -> str:
f'<a href="{_href(path)}">{html.escape(label)}</a>' for label, path in links
)
meta = f'<span class="entry-kind">{html.escape(entry.kind_label)}</span>' if entry.kind_label else ""
return f'<li class="entry-leaf"><strong>{html.escape(entry.title)}</strong> {meta} — {link_bits}</li>'
detail = ""
if entry.notes:
detail = f'<span class="entry-meta"> · {" · ".join(html.escape(part) for part in entry.notes)}</span>'
return f'<li class="entry-leaf"><strong>{html.escape(entry.title)}</strong> {meta}{detail} — {link_bits}</li>'
def _html_entry_body(entry: Entry, generated: str) -> str:
@@ -1159,10 +1162,11 @@ def _markdown_leaf(entry: Entry | None, depth: int) -> list[str]:
return []
indent = " " * max(0, depth - 4)
links = _entry_links(entry)
notes = f" — {' · '.join(entry.notes)}" if entry.notes else ""
if not links:
return [f"{indent}- {entry.title} ({entry.kind_label})"]
return [f"{indent}- {entry.title} ({entry.kind_label}){notes}"]
link = " · ".join(f"[{label}]({_href(path)})" for label, path in links)
return [f"{indent}- **{entry.title}** ({entry.kind_label}): {link}"]
return [f"{indent}- **{entry.title}** ({entry.kind_label}){notes}: {link}"]
def _markdown_entry_body(entry: Entry, generated: str) -> list[str]: