doccheck

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 12 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

Command doccheck keeps the documentation's structure sound, where a machine can tell:

  • every relative link and image in Markdown points at a file that exists, and every #anchor at a heading of that file;
  • docs/ is a Docusaurus tree: every folder has a README.md that links its pages and subfolders, and a valid _category_.json, and every page front matter with a title and a sidebar_position (tree.go);
  • every docs/...md path Go code names exists;
  • every file in docs/media is shown by some doc, comes from a VHS tape in demos/ (its Output or a Screenshot), and no GIF is over maxGIF;
  • every tape in demos/ records something a doc shows;
  • every docs page the site has published is still a page, or has a redirect from its address in website/redirects.json (redirects.go).

What the docs say about the program (keys, menus, commands, options) is checked by tests next to the code they name: internal/ui's docs_test.go and internal/config's.

Usage: go run ./scripts/doccheck (from the repository root)

Jump to

Keyboard shortcuts

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