docgen

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package docgen holds shared plumbing for the hermetic Markdown doc generators (tools/health, tools/tuning): writing a rendered body to a file with the repo's writable-Close() error contract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteRendered

func WriteRendered(path string, flag int, render func(io.Writer) error) error

WriteRendered opens path with the given flags and invokes render against it, checking the writable Close() error per the repo's file-handle rule. A render error is returned as-is (callers' render funcs already return a structured error, so re-wrapping would double-code it).

Types

This section is empty.

Jump to

Keyboard shortcuts

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