docs

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package docs holds the pages aicoded shows: the guides, the task recipes, the error catalogue and the changelog for agents.

Index

Constants

This section is empty.

Variables

FS holds guides/<slug>.md, tasks/<slug>.md, errors/<CODE>.md for every error code, errors/README.md and changelog-agents.md.

Functions

func Read

func Read(path string) (string, error)

Read returns the text of the topic at path. It refuses, with E-CLI-001, a path that Topics does not list.

Types

type Topic

type Topic struct {
	// Path names the topic: its file under docs/ without .md, such as guides/forms, or
	// changelog.
	Path string
	// Title is the text of the file's first line, after "# ".
	Title string
	// Summary is the paragraph after the title, on one line.
	Summary string
}

Topic is a guide, a task recipe or the changelog for agents.

func Topics

func Topics() ([]Topic, error)

Topics returns the guides and the tasks, sorted by path, then the changelog.

Jump to

Keyboard shortcuts

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