kubernetes-sigs / cli-experimental

Experimental Kubectl libraries and commands.
Apache License 2.0
83 stars 214 forks source link

Documentation site not indexed by search engines #382

Open colinodell opened 4 months ago

colinodell commented 4 months ago

TL;DR: Content from https://kubectl.docs.kubernetes.io/ cannot be found using popular search engines.

I expected to be able to find appropriate documentation pages like https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/ when searching for things like kustomization reference on Google. However, I'm unable to find results for this site when I run searches like:

I believe this is happening because of this meta tag in the HTML:

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

It looks like this is only supposed to appear when HUGO_ENV != production:

https://github.com/kubernetes-sigs/cli-experimental/blob/3445a582efe9308f4f81bd6da23ad092e9e89d92/site/themes/docsy/layouts/partials/head.html#L4-L8

So maybe the build environment is failing to set this env var correctly?

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

colinodell commented 1 month ago

This issue is still present and worth fixing

/remove-lifecycle stale