reportthumbs

package
v0.7.18-dev.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reportthumbs holds a thumbnail of each built-in report theme: the first page of one sample report (runnerimage/toolsrv/testdata/pdf/ thumbnail.md) rendered by the runner's own template and the pinned Typst image, as a PNG. The site's and the desktop's Report design pages show them, taking them with the CLI version they pin, so a thumbnail cannot drift from what a run draws: runnerimage/toolsrv's TestThumbnailsAreTheTemplates renders them again in the typst-image CI job and fails on any pixel that differs (AGENTRY_UPDATE_THUMBNAILS=1 rewrites them).

Nothing in the CLI binary imports this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDs

func IDs() []string

IDs are the built-in themes a thumbnail is kept for, in the order they are offered: the core's.

func PNG

func PNG(id string) ([]byte, bool)

PNG is a built-in theme's thumbnail.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL