Commit Graph

16 Commits (69a1c7eb85af42d3edcfca68cc4406f163ea6f5b)

Author SHA1 Message Date
Andrew Chen 2e257d9707 Changes for move to Netlify (#4464)
* disable jekyll-redirect-from gem

* add _redirects file

* disable 404 redirect script

* add 301 redirect to test

* retain _redirects file

* Convert redirect_from's to _redirect file. (#4409)

* Remove redirect_from's. (#4424)

* Add 301's to _redirects. (#4427)

* add whitespace before 301

* move redirects in /js/redirects/js to _redirects

* add disabled option for cn redirect

* convert include to array in _config.yml

* enable redirects.js script for legacy support
2017-07-28 08:23:11 -07:00
Andrew Chen 3cb315606c v1.7 patch 01 2017-06-30 00:02:17 -07:00
Ahmet Alp Balkan d94196e14f
redirect fix for meanstack article
Linking to the correct article.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 15:41:17 -07:00
Ahmet Alp Balkan 9ec9c73466 /docs/samples revamp: move examples to /tutorials
Addresses the work described at #4134.

- Remove /docs/samples page: This page mostly had links to examples on
  kubernetes/kubernetes (examples dir) which is now at kubernetes/examples
  repository. It was linking to README.md files for tutorials. Now removing
  this page as we are moving tutorials from kubernetes/examples to here:

  - Create redirects from /docs/samples/ to /docs/tutorials/ (both JS and
    redirect_from).
  - Deprecate "MEAN Stack" tutorial: This tutorial overlaps quite a bit with
    existing "maintained" examples and has been out-of-date for a while.
    Creating an external redirect to its original and more up-to-date location:
    https://medium.com/google-cloud/running-a-mean-stack-on-google-cloud-platform-with-app-engine-and-mongolab-4bbd2040ea75

- Import README.md files of maintained examples (guestbook, wordpress+mysql and
  cassandra) to this repository and serve them under /docs/tutorial.

- Update /docs/tutorials ToC:
  - Link to imported tutorials.
  - Fix missing articles on sidebar (_data/tutorials.yml) and make the tutorials
    listed on tutorials/index.md available on the sidebar (closes #4007).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 11:22:35 -07:00
Ahmet Alp Balkan e883a27f3b networkpolicies.md --> network-policies.md for SEO
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-22 10:47:34 -07:00
Andrew Chen ee74993fa4 Refactor Troubleshooting (#3564)
* Refactor Troubleshooting

* reorder ToC

* Move troubleshooting into Home ToC
2017-04-28 14:53:12 -07:00
Andrew Chen 15f724223e Cleanup, simplify /js/redirect.js (#3417) 2017-04-14 16:07:46 -07:00
Steve Perry 3e4c2bbbd9 Experiment: Redirect using only redirects.js. (#3413) 2017-04-14 14:02:17 -07:00
Andrew Chen 005fce03fe WIP: Cleanup /docs/contribute/ migration (#3278)
* WIP: Cleanup /docs/contribute/ migration

* #3278 Changing /docs/contribute to /docs/home/contribute (#3285)

* WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/

* WIP: #3278 modifying /docs/contribute/ paths within files to /docs/home/contribute/

* Revert "WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/"

This reverts commit a82efdee50.

* WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/

* WIP: #3278 Correcting syntax mistake in redirect.js

* WIP: #3278 Correcting another syntax mistake in redirect.js

* WIP: #3278 Removing deprecated files so redirects work

* Removing the #

* WIP: #3278 Updating pattern in redirect.js

* WIP: #3278 Removed the wrong # previously redirect.js
2017-04-10 13:24:14 -07:00
Ahmet Alp Balkan 4bb4a9f1e2
Delete swagger-ui
Deleting swagger-ui and setting up a redirect to Reference section.

Closes #1924
Fixes #2220

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-06 14:34:37 -07:00
Andrew Chen 8529eec655 Limit resource-quota redirect 2017-04-03 13:40:29 -07:00
Andrew Chen 65b6d0b682 WIP: Add redirect for V1 paths (#3160)
* Add redirect for V1 paths

* fix api-reference and kubectl redirects

* fix bugs

* fix regex

* fix redirect URL

* more debug

* global match

* fix regexp

* remove debug

* generalize

* address @foxish feedback
2017-03-31 10:48:37 -07:00
Andrew Chen 9c090f0709 Fix rewrite of /index.md to / 2017-03-28 16:05:48 -07:00
stkevintan a7830ae27f fix some irregular coding && uniform indent to space 2016-12-27 14:57:48 +08:00
Nikhil Jindal 0ae94418ae Fixing broken http://kubernetes.io/kubernetes/third_party/swagger-ui/ (#1921) 2016-12-11 16:32:21 -08:00
Jess Frazelle cbb4d33b3e
fix 404 redirect
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-12 14:17:27 -07:00