Spacer Title

Hidden smoketest page

Use this page to test your changes and ensure that there are not any issues, unwanted behaviors, or regression that are caused by your changes.

Below are a set of site elements that have causes issues in the past.


Code samples

The following use the readfile shortcode

    "hideMemberFields": [
    "hideTypePatterns": [
    "externalPackages": [
            "typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/apis/meta/v1\\.Duration$",
            "docsURLTemplate": ""
            "typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
            "docsURLTemplate": "{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
            "typeMatchPrefix": "^github\\.com/knative/pkg/apis/duck/",
            "docsURLTemplate": "{{arrIndex .PackageSegments -1}}#{{.TypeIdentifier}}"
    "typeDisplayNamePrefixOverrides": {
        "": "Kubernetes ",
        "": "Kubernetes "
    "markdownDisabled": false

Something's not right. The ../Gopkg.toml file was not found.

Install version numbers and Clone branch commands

Examples of how the manual and dynamic version number or branch name can be added in-line with the version shortcode (uses the define values from config/_default/params.toml)

  1. Shortcode: {{% version %}}

    Example: kubectl apply version/v0.21.0/is-the-latest/docs-version.yaml

  2. Shortcode: {{% version override="v0.2.2” %}}

    Example: kubectl apply the-version-override/v0.2.2/is-manually-specified.yaml

  3. Shortcode: {{% version patch=”.20” %}}

    Example: kubectl apply this-is-a-point-release/v0.21.20/filename.yaml

  4. Shortcode: {{% branch %}}

    Example: git clone -b "master" knative-docs

  5. Shortcode: {{% branch override="release-0.NEXT” %}}

    Example: git clone -b "release-0.NEXT" knative-docs