From 355c43987ba8e7e6f189a987afebc7c0c177dd1d Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Sun, 5 Nov 2017 17:24:14 +0800 Subject: [PATCH] Update write-new-topic.md fix error url to anyone which can be access. --- docs/home/contribute/write-new-topic.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/home/contribute/write-new-topic.md b/docs/home/contribute/write-new-topic.md index 440efec467..95f57d2f3d 100644 --- a/docs/home/contribute/write-new-topic.md +++ b/docs/home/contribute/write-new-topic.md @@ -100,8 +100,8 @@ where: * `` is the language in which the file was written. This must be [a value supported by Rouge](https://github.com/jneen/rouge/wiki/list-of-supported-languages-and-lexers). -* `` is the path to the file you're including, relative to the current file, for example, `gce-volume.yaml`. -* `` is the path to the file relative to root, for example, `docs/tutorials/stateful-application/gce-volume.yaml`. +* `` is the path to the file you're including, relative to the current file, for example, `local-volume.yaml`. +* `` is the path to the file relative to root, for example, `docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/local-volumes.yaml`. Here's an example of using the `include` tag: @@ -118,11 +118,11 @@ In your topic, show this command: kubectl create -f https://k8s.io/ where `` is the path to the configuration file relative to root, -for example, `docs/tutorials/stateful-application/gce-volume.yaml`. +for example, `docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/local-volumes.yaml`. Here's an example of a command that creates an API object from a configuration file: - kubectl create -f https://k8s.io/docs/tutorials/stateful-application/gce-volume.yaml + kubectl create -f https://k8s.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/local-volumes.yaml For an example of a topic that uses this technique, see [Running a Single-Instance Stateful Application](/docs/tutorials/stateful-application/run-stateful-application/).