pagesretire

command
v0.167.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: BSD-3-Clause Imports: 10 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 pagesretire removes the superseded MkDocs version directories from a documentation branch, so that `latest` names the Hugo build.

pagesretire [-apply] <gh-pages checkout>

⛔ IT EXISTS BECAUSE THE MIGRATION SUCCEEDED AND NOBODY COULD SEE IT. Every one of the 77 converted sites publishes a Hugo build, under the version in params.docs.version — "main", for a repository with no release tagged. But mike had left a release directory (0.1, sometimes 0.2) holding the MkDocs build, and `latest` is the newest RELEASE, so the alias went on naming the old build. The branch root redirects every reader to latest/. Measured on 2026-10-20: 75 of 77 sites served MkDocs at the only URL anything links to, and the two exceptions are the two repositories that never published a release, where the alias fell back to main.

⛔ AND IT REFUSES RATHER THAN GUESS. Deleting a published version directory cannot be undone from the branch, so every page under it must be shown to exist in the Hugo build first. Across the fleet that check read 514 pages against 673 and found none missing — but it is run per repository, because "it was true for the others" is not a measurement of this one.

Jump to

Keyboard shortcuts

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