diff --git a/scripts/sitegen/render.py b/scripts/sitegen/render.py index 90385d3c6..59af77622 100644 --- a/scripts/sitegen/render.py +++ b/scripts/sitegen/render.py @@ -109,7 +109,7 @@ def prime_system_icons(names: set[str]) -> None: def system_icon_markdown(manufacturer: str, console_name: str) -> str: """Icon image for a system heading, empty when the site holds none. - The link names the upstream file: ``sitediagrams.localize_images`` + The link names the upstream file: ``sitegen.diagrams.localize_images`` points it at the local copy, whose source is recorded beside it. """ name = console_icon_name(manufacturer, console_name) diff --git a/scripts/sitegen/steps.py b/scripts/sitegen/steps.py index cb6a05948..e7713fce5 100644 --- a/scripts/sitegen/steps.py +++ b/scripts/sitegen/steps.py @@ -4,8 +4,8 @@ Two things per tab, both drawn from data: - The steps that differ by system, opening a terminal and pasting the line, as a drawing: one card per step, a pictogram and a short caption, drawn - with sitediagrams' primitives and shown as its SVG files, one per layout - and theme (sitediagrams.pictures). The text steps above it + with sitegen.diagrams' primitives and shown as its SVG files, one per layout + and theme (sitegen.diagrams.pictures). The text steps above it (platforms/_guides.yml, terminals) are the one text source: the images are alt="", so the page reads the steps once. The files say the same in their title and desc, for one opened on its own. The pictograms are @@ -250,7 +250,7 @@ def stem(tab: str) -> str: def steps_files() -> dict[str, str]: - """Every tab's drawing files, by name under sitediagrams.DIAGRAM_DIR.""" + """Every tab's drawing files, by name under sitegen.diagrams.DIAGRAM_DIR.""" return {name: text for tab in STEPS for name, text in diagram_files(stem(tab), _layouts(tab)).items()} diff --git a/scripts/sitegen/validate.py b/scripts/sitegen/validate.py index d9ddf900b..06fe6cb63 100644 --- a/scripts/sitegen/validate.py +++ b/scripts/sitegen/validate.py @@ -330,7 +330,7 @@ def _content_issues(page: Page, rel: str) -> list[str]: if page.empty_headers: messages.append(f"{page.empty_headers} table header cell(s) without text") if page.placeholders: - # scripts/sitediagrams.py knows no diagram of this name. + # scripts/sitegen/diagrams.py knows no diagram of this name. messages.append(f"image placeholders left unresolved: {page.placeholders[:3]}") if page.unrendered: # Bold that reached the reader as asterisks: a block indented