internal/experiment: create command-toc experiment
Creates an experiment to enable the table of contents
for command documention pages.
For golang/go#38073
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
package internal
const (
+ ExperimentCommandTOC = "command-toc"
ExperimentDirectoryTree = "directory-tree"
ExperimentNotAtLatest = "not-at-latest"
ExperimentRedirectedFromBanner = "redirected-from-banner"
@@ -14,6 +15,7 @@ const (
// Experiments represents all of the active experiments in the codebase and
// a description of each experiment.
var Experiments = map[string]string{
+ ExperimentCommandTOC: "Enable the table of contents for command documention pages.",
ExperimentDirectoryTree: "Enable the directory tree layout on the unit page.",
ExperimentNotAtLatest: "Enable the display of a 'not at latest' badge.",
ExperimentRedirectedFromBanner: "Display banner with path that request was redirected from.",
