From db3acc94640dbbe22ef320bd2b31538abd0ad89e Mon Sep 17 00:00:00 2001 From: johndmulhausen Date: Tue, 23 Feb 2016 23:21:23 -0800 Subject: [PATCH] Basic search implementation --- _data/v1_1/guides.yml | 4 ++-- _data/v1_1/samples.yml | 2 ++ _layouts/docwithnav.html | 6 +++--- search.md | 19 +++++++++++++++++++ 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 search.md diff --git a/_data/v1_1/guides.yml b/_data/v1_1/guides.yml index 410efaba5a..8409e4e615 100644 --- a/_data/v1_1/guides.yml +++ b/_data/v1_1/guides.yml @@ -6,14 +6,14 @@ toc: - title: Quickstarts section: + - title: What is Kubernetes? + path: /v1.1/docs/whatisk8s/ - title: TODO - 5-minute Quickstart path: /v1.1/docs/hellonode/ - title: Kubernetes 101 path: /v1.1/docs/user-guide/walkthrough/ - title: Kubernetes 201 path: /v1.1/docs/user-guide/walkthrough/k8s201/ - - title: Running a MEAN stack on Google Cloud Platform with Kubernetes - path: /v1.1/docs/getting-started-guides/meanstack/ - title: Running Kubernetes section: diff --git a/_data/v1_1/samples.yml b/_data/v1_1/samples.yml index d70c119fa5..fb7240d0ef 100644 --- a/_data/v1_1/samples.yml +++ b/_data/v1_1/samples.yml @@ -30,6 +30,8 @@ toc: path: https://github.com/kubernetes/kubernetes/tree/release-1.1/examples/openshift-origin/ - title: Ceph path: https://github.com/kubernetes/kubernetes/tree/release-1.1/examples/rbd/ + - title: MEAN stack on Google Cloud Platform + path: /v1.1/docs/getting-started-guides/meanstack/ - title: Persistent Volume Samples section: diff --git a/_layouts/docwithnav.html b/_layouts/docwithnav.html index 2ae73abc28..df81dcad17 100755 --- a/_layouts/docwithnav.html +++ b/_layouts/docwithnav.html @@ -22,16 +22,16 @@ layout: headerfooter Version 1.1 Version 1.0 - + -
+
{% if page.hideTOC != true %}
{% assign tree = site.data[page.versionfilesafe][foundTOC].toc %}{% include tree.html %}
-
+ {% endif %}
{% if page.showedit == true %}Edit This Page{% endif %}

{{ page.title }}

{{ content }} diff --git a/search.md b/search.md new file mode 100644 index 0000000000..16610fd4d2 --- /dev/null +++ b/search.md @@ -0,0 +1,19 @@ +--- +layout: docwithnav +title: Search Results +hideTOC: true +--- + + \ No newline at end of file