internal: fix experiment variable for executable examples
The experiment variable for executable examples was describing the
description of the variable rather than the name constant. This CL
changes it to the name constant.
For golang/go#36865
@@ -13,7 +13,7 @@ const (
ExperimentFrontendFetch = "frontend-fetch"
ExperimentInsertPlaygroundLinks = "insert-playground-links"
ExperimentMasterVersion = "master-version"
- ExperimentExecutableExamples = "Display executable examples with their import statements, so that they are runnable via the Go playground"
+ ExperimentExecutableExamples = "executable-examples"
ExperimentSidenav = "sidenav"
ExperimentTranslateHTML = "translate-html"
ExperimentUseDirectories = "use-directories"
@@ -28,7 +28,7 @@ var Experiments = map[string]string{
ExperimentFrontendFetch: "Enable ability to fetch a package that doesn't exist on pkg.go.dev.",
ExperimentInsertPlaygroundLinks: "Insert Go playground links for examples.",
ExperimentMasterVersion: "Enable viewing path@master.",
- ExperimentExecutableExamples: "Enable ability to view playable examples with imports.",
+ ExperimentExecutableExamples: "Display executable examples with their import statements, so that they are runnable via the Go playground.",
ExperimentSidenav: "Display documentation index on the left sidenav.",
ExperimentTranslateHTML: "Parse HTML text in READMEs, to properly display images.",
ExperimentUseDirectories: "Read from paths, documentation, readmes, and package_imports tables.",
