Skip to content

Commit

Permalink
Add comments to noindex mechanism (kubernetes#9768)
Browse files Browse the repository at this point in the history
* Check Netlify test

* Update netlify.toml

with the gh handle for sig docs maintainers
  • Loading branch information
chenopis authored and k8s-ci-robot committed Aug 9, 2018
1 parent f7ae911 commit 491cf08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build]
# This default build command adds the robots noindex directive to the site headers.
# It is turned off ONLY for the `master` branch deployment on kubernetes.io
# It is turned off for only for the production site by using [context.master] below
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
publish = "public"
command = "hugo --enableGitInfo && cp netlify_noindex_headers.txt public/_headers"

Expand All @@ -19,6 +20,7 @@ command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"
command = "hugo --enableGitInfo -b $DEPLOY_PRIME_URL"

[context.master]
# This context is triggered by the master branch and allows search indexing
# This context is triggered by the `master` branch and allows search indexing
# DO NOT REMOVE THIS (contact @chenopis or @sig-docs-maintainers)
publish = "public"
command = "hugo"

0 comments on commit 491cf08

Please sign in to comment.