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 a82efdee505d7a409cb3c86240cc0ee976a2e566.

* 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
This commit is contained in:
Andrew Chen
2017-04-10 13:24:14 -07:00
committed by GitHub
parent 299142058a
commit 005fce03fe
23 changed files with 56 additions and 92 deletions
+1 -1
View File
@@ -59,5 +59,5 @@ The nodes in a cluster are the machines (VMs, physical servers, etc) that run yo
### What's next
If you would like to write a concept page, see
[Using Page Templates](/docs/contribute/page-templates/)
[Using Page Templates](/docs/home/contribute/page-templates/)
for information about the concept page type and the concept template.
+1
View File
@@ -0,0 +1 @@
This directory is deprecated and its contents have been moved to /docs/home/contribute/.
-7
View File
@@ -1,7 +0,0 @@
---
title: Creating a Documentation Pull Request
---
{% include support-content-moved.md %}
[Creating a Documentation Pull Request](/docs/home/contribute/create-pull-request/)
-10
View File
@@ -1,10 +0,0 @@
---
redirect_from:
- "/docs/templatedemos/"
- "/docs/templatedemos.html"
title: Using Page Templates
---
{% include support-content-moved.md %}
[Using Page Templates](/docs/home/contribute/page-templates/)
-7
View File
@@ -1,7 +0,0 @@
---
title: Reviewing Documentation Issues
---
{% include support-content-moved.md %}
[Reviewing Documentation Issues](/docs/home/contribute/review-issues/)
@@ -1,7 +0,0 @@
---
title: Staging Your Documentation Changes
---
{% include support-content-moved.md %}
[Staging Your Documentation Changes](/docs/home/contribute/stage-documentation-changes/)
-7
View File
@@ -1,7 +0,0 @@
---
title: Documentation Style Guide
---
{% include support-content-moved.md %}
[Documentation Style Guide](/docs/home/contribute/style-guide/)
-7
View File
@@ -1,7 +0,0 @@
---
title: Writing a New Topic
---
{% include support-content-moved.md %}
[Writing a New Topic](/docs/home/contribute/write-new-topic/)
+5 -5
View File
@@ -39,9 +39,9 @@ is called a *fork*.
a new branch to use for your contribution.
1. In your new branch, make your changes and commit them. If you want to
[write a new topic](/docs/contribute/write-new-topic/),
[write a new topic](/docs/home/contribute/write-new-topic/),
choose the
[page type](/docs/contribute/page-templates/)
[page type](/docs/home/contribute/page-templates/)
that is the best fit for your content.
## Submitting a pull request to the master branch (Current Release)
@@ -90,9 +90,9 @@ next upcoming release. It's automatically updated as new PRs get merged.
{% endcapture %}
{% capture whatsnext %}
* Learn about [writing a new topic](/docs/contribute/write-new-topic).
* Learn about [using page templates](/docs/contribute/page-templates/).
* Learn about [staging your changes](/docs/contribute/stage-documentation-changes).
* Learn about [writing a new topic](/docs/home/contribute/write-new-topic).
* Learn about [using page templates](/docs/home/contribute/page-templates/).
* Learn about [staging your changes](/docs/home/contribute/stage-documentation-changes).
{% endcapture %}
{% include templates/task.md %}
+3 -3
View File
@@ -65,9 +65,9 @@ Depending on where the dead link is reported, different actions are required to
{% capture whatsnext %}
* Learn about [writing a new topic](/docs/contribute/write-new-topic).
* Learn about [using page templates](/docs/contribute/page-templates/).
* Learn about [staging your changes](/docs/contribute/stage-documentation-changes).
* Learn about [writing a new topic](/docs/home/contribute/write-new-topic).
* Learn about [using page templates](/docs/home/contribute/page-templates/).
* Learn about [staging your changes](/docs/home/contribute/stage-documentation-changes).
{% endcapture %}
{% include templates/concept.md %}
@@ -9,7 +9,7 @@ to the Kubernetes documentation.
{% capture prerequisites %}
Create a fork of the Kubernetes documentation repository as described in
[Creating a Documentation Pull Request](/docs/contribute/create-pull-request/).
[Creating a Documentation Pull Request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% capture steps %}
@@ -101,9 +101,9 @@ web server:
{% endcapture %}
{% capture whatsnext %}
* Learn about [writing a new topic](/docs/contribute/write-new-topic/).
* Learn about [using page templates](/docs/contribute/page-templates/).
* Learn about [creating a pull request](/docs/contribute/create-pull-request/).
* Learn about [writing a new topic](/docs/home/contribute/write-new-topic/).
* Learn about [using page templates](/docs/home/contribute/page-templates/).
* Learn about [creating a pull request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% include templates/task.md %}
+6 -6
View File
@@ -9,8 +9,8 @@ propose changes to this document in a pull request.
For additional information on creating new content for the Kubernetes
docs, follow the instructions on
[using page templates](/docs/contribute/page-templates/) and
[creating a documentation pull request](/docs/contribute/create-pull-request/).
[using page templates](/docs/home/contribute/page-templates/) and
[creating a documentation pull request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% capture body %}
@@ -227,10 +227,10 @@ considered new in a few months.
{% capture whatsnext %}
* Learn about [writing a new topic](/docs/contribute/write-new-topic/).
* Learn about [using page templates](/docs/contribute/page-templates/).
* Learn about [staging your changes](/docs/contribute/stage-documentation-changes/)
* Learn about [creating a pull request](/docs/contribute/create-pull-request/).
* Learn about [writing a new topic](/docs/home/contribute/write-new-topic/).
* Learn about [using page templates](/docs/home/contribute/page-templates/).
* Learn about [staging your changes](/docs/home/contribute/stage-documentation-changes/)
* Learn about [creating a pull request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% include templates/concept.md %}
+5 -5
View File
@@ -8,7 +8,7 @@ This page shows how to create a new topic for the Kubernetes docs.
{% capture prerequisites %}
Create a fork of the Kubernetes documentation repository as described in
[Creating a Documentation Pull Request](/docs/contribute/create-pull-request/).
[Creating a Documentation Pull Request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% capture steps %}
@@ -38,7 +38,7 @@ is the best fit for your content:
</table>
Each page type has a
[template](/docs/contribute/page-templates/)
[template](/docs/home/contribute/page-templates/)
that you can use as you write your topic.
Using templates helps ensure consistency among topics of a given type.
@@ -135,9 +135,9 @@ image format is SVG.
{% endcapture %}
{% capture whatsnext %}
* Learn about [using page templates](/docs/contribute/page-templates/).
* Learn about [staging your changes](/docs/contribute/stage-documentation-changes).
* Learn about [creating a pull request](/docs/contribute/create-pull-request/).
* Learn about [using page templates](/docs/home/contribute/page-templates/).
* Learn about [staging your changes](/docs/home/contribute/stage-documentation-changes).
* Learn about [creating a pull request](/docs/home/contribute/create-pull-request/).
{% endcapture %}
{% include templates/task.md %}
+1 -1
View File
@@ -74,5 +74,5 @@ single thing, typically by giving a short sequence of steps.
### What's next
If you would like to write a task page, see
[Creating a Documentation Pull Request](/docs/contribute/create-pull-request/).
[Creating a Documentation Pull Request](/docs/home/contribute/create-pull-request/).
+1 -1
View File
@@ -42,5 +42,5 @@ each of which has a sequence of steps.
### What's next
If you would like to write a tutorial, see
[Using Page Templates](/docs/contribute/page-templates/)
[Using Page Templates](/docs/home/contribute/page-templates/)
for information about the tutorial page type and the tutorial template.