From 8ab16cb669aa6f7e1f4d480d05e15eac24af10e6 Mon Sep 17 00:00:00 2001 From: steveperry-53 Date: Tue, 28 Feb 2017 10:52:54 -0800 Subject: [PATCH] Prototype for deprecating User Guide topic. --- _data/guides.yml | 1 - .../run-stateless-application-deployment.md | 3 +++ docs/user-guide/simple-nginx.md | 7 ------- robots.txt | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 docs/user-guide/simple-nginx.md diff --git a/_data/guides.yml b/_data/guides.yml index 30ee93078c..df3ebad90a 100644 --- a/_data/guides.yml +++ b/_data/guides.yml @@ -56,7 +56,6 @@ toc: - title: Containers and Pods section: - - docs/user-guide/simple-nginx.md - docs/user-guide/pods/single-container.md - docs/user-guide/pods/multi-container.md - docs/user-guide/pods/init-container.md diff --git a/docs/tutorials/stateless-application/run-stateless-application-deployment.md b/docs/tutorials/stateless-application/run-stateless-application-deployment.md index 8e3d725752..2b9793bfa4 100644 --- a/docs/tutorials/stateless-application/run-stateless-application-deployment.md +++ b/docs/tutorials/stateless-application/run-stateless-application-deployment.md @@ -1,5 +1,8 @@ --- title: Running a Stateless Application Using a Deployment +redirect_from: +- "/docs/user-guide/simple-nginx/" +- "/docs/user-guide/simple-nginx.html" --- {% capture overview %} diff --git a/docs/user-guide/simple-nginx.md b/docs/user-guide/simple-nginx.md deleted file mode 100644 index 2a6b11133f..0000000000 --- a/docs/user-guide/simple-nginx.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Running Your First Containers ---- - -{% include user-guide-content-moved.md %} - -[Running a Stateless Application Using a Deployment](/docs/tutorials/stateless-application/run-stateless-application-deployment/) diff --git a/robots.txt b/robots.txt index 9bb39d8dbd..10fff656d2 100644 --- a/robots.txt +++ b/robots.txt @@ -5,5 +5,6 @@ Disallow: /v1.0/ Disallow: /v1.1/ Disallow: /404/ Disallow: 404.html +Disallow: /docs/user-guide/docs/user-guide/simple-nginx/ SITEMAP: http://kubernetes.io/sitemap.xml