Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
79bb4eda
Commit
79bb4eda
authored
Jun 05, 2015
by
Quinton Hoole
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9305 from brendandburns/example
Add some text about the docs being sync'd to HEAD
parents
b40ecc4f
e051497b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
mark-new-version.sh
build/mark-new-version.sh
+14
-0
README.md
docs/README.md
+7
-0
README.md
examples/README.md
+13
-0
No files found.
build/mark-new-version.sh
View file @
79bb4eda
...
...
@@ -91,6 +91,20 @@ fi
VERSION_FILE
=
"
${
KUBE_ROOT
}
/pkg/version/base.go"
RELEASE_DIR
=
release-
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
echo
"+++ Cloning documentation and examples into
${
RELEASE_DIR
}
/..."
mkdir
${
RELEASE_DIR
}
cp
-r
docs
${
RELEASE_DIR
}
/docs
cp
-r
examples
${
RELEASE_DIR
}
/examples
# Update the docs to match this version.
perl
-pi
-e
"s/HEAD/
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
/"
${
RELEASE_DIR
}
/docs/README.md
perl
-pi
-e
"s/HEAD/
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
/"
${
RELEASE_DIR
}
/examples/README.md
${
KUBE_ROOT
}
/hack/run-gendocs.sh
git add
${
RELEASE_DIR
}
git commit
-m
"Cloning docs for
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
"
GIT_MINOR
=
"
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
"
echo
"+++ Updating to
${
NEW_VERSION
}
"
"
$SED
"
-r
-i
-e
"s/gitMajor
\s
+string =
\"
[^
\"
]*
\"
/gitMajor string =
\"
${
VERSION_MAJOR
}
\"
/"
"
${
VERSION_FILE
}
"
...
...
docs/README.md
View file @
79bb4eda
# Kubernetes Documentation
**Note**
This documentation is current for HEAD.
Documentation for previous releases is available in their respective branches:
*
[
v0.18.1
](
https://github.com/GoogleCloudPlatform/kubernetes/tree/release-0.18/docs
)
*
[
v0.17.1
](
https://github.com/GoogleCloudPlatform/kubernetes/tree/release-0.17/docs
)
*
The
[
User's guide
](
user-guide.md
)
is for anyone who wants to run programs and services on an exisiting Kubernetes cluster.
*
The
[
Cluster Admin's guide
](
cluster-admin-guide.md
)
is for anyone setting up a Kubernetes cluster or administering it.
...
...
examples/README.md
0 → 100644
View file @
79bb4eda
# Examples
This directory contains a number of different examples of how to run applications with Kubernetes.
**Note**
This documentation is current for HEAD.
Examples for previous releases is available in their respective branches:
*
[
v0.18.1
](
https://github.com/GoogleCloudPlatform/kubernetes/tree/release-0.18/examples
)
*
[
v0.17.1
](
https://github.com/GoogleCloudPlatform/kubernetes/tree/release-0.17/examples
)
[

]()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment