diff --git a/content/en/docs/contribute/style/hugo-shortcodes/index.md b/content/en/docs/contribute/style/hugo-shortcodes/index.md index 5463019ac06..4ba9036841a 100644 --- a/content/en/docs/contribute/style/hugo-shortcodes/index.md +++ b/content/en/docs/contribute/style/hugo-shortcodes/index.md @@ -194,12 +194,12 @@ The tab **name** in a `tabs` definition must be unique within a content page. ```go-text-template {{}} -{{{< tab name="Tab 1" codelang="bash" >}} +{{< tab name="Tab 1" codelang="bash" >}} echo "This is tab 1." {{< /tab >}} {{< tab name="Tab 2" codelang="go" >}} println "This is tab 2." -{{< /tab >}}} +{{< /tab >}} {{< /tabs */>}} ``` @@ -306,7 +306,6 @@ Add the shortcode: before the item, or just below the heading for the specific item. - ## Version strings To generate a version string for inclusion in the documentation, you can choose from @@ -378,4 +377,3 @@ Renders to: * Learn about [page content types](/docs/contribute/style/page-content-types/). * Learn about [opening a pull request](/docs/contribute/new-content/open-a-pr/). * Learn about [advanced contributing](/docs/contribute/advanced/). - diff --git a/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md b/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md index 8a5889b8139..10e5d0c3e54 100644 --- a/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md +++ b/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md @@ -31,12 +31,12 @@ Reload your shell and verify that bash-completion is correctly installed by typi You now need to ensure that the kubectl completion script gets sourced in all your shell sessions. There are two ways in which you can do this: {{< tabs name="kubectl_bash_autocompletion" >}} -{{{< tab name="User" codelang="bash" >}} +{{< tab name="User" codelang="bash" >}} echo 'source <(kubectl completion bash)' >>~/.bashrc {{< /tab >}} {{< tab name="System" codelang="bash" >}} kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null -{{< /tab >}}} +{{< /tab >}} {{< /tabs >}} If you have an alias for kubectl, you can extend shell completion to work with that alias: diff --git a/content/en/docs/tutorials/security/seccomp.md b/content/en/docs/tutorials/security/seccomp.md index e33784b8b91..52e846a0e67 100644 --- a/content/en/docs/tutorials/security/seccomp.md +++ b/content/en/docs/tutorials/security/seccomp.md @@ -68,10 +68,10 @@ into the cluster. {{< /tab >}} {{< tab name="violation.json" >}} {{< codenew file="pods/security/seccomp/profiles/violation.json" >}} -{{< /tab >}}} +{{< /tab >}} {{< tab name="fine-grained.json" >}} {{< codenew file="pods/security/seccomp/profiles/fine-grained.json" >}} -{{< /tab >}}} +{{< /tab >}} {{< /tabs >}} Run these commands: @@ -89,10 +89,8 @@ You should see three profiles listed at the end of the final step: audit.json fine-grained.json violation.json ``` - ## Create a local Kubernetes cluster with kind - For simplicity, [kind](https://kind.sigs.k8s.io/) can be used to create a single node cluster with the seccomp profiles loaded. Kind runs Kubernetes in Docker, so each node of the cluster is a container. This allows for files