Commit Graph

62 Commits

Author SHA1 Message Date
Zach Corleissen ee7c275b50 Remove 1.6
K8s docs availability is <current>+4
2018-07-11 12:56:12 -07:00
Harshvardhan Karn 168e165540 Update _config.yml 2018-07-03 19:35:12 +05:30
Harshvardhan Karn 6e2bb09ca7 Update _config.yml 2018-07-03 19:34:45 +05:30
Harshvardhan Karn 4b2ea721aa Update _config.yaml
- add v1.11 support
2018-07-03 13:55:40 +05:30
Harshvardhan Karn c9ba487cde remove v1.5.7 selector support
- remove v1.5 selector since it is no longer supported
- updating config file
2018-07-03 09:56:33 +05:30
harshvkarn 6520fb2d80 fix version navigation in release v1.7
- In `release v1.7`, navigating selector to version `v1.10` disappears
- modified `_config.yml` in branch `release-1.7`

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-03 03:09:15 +05:30
Zach Corleissen 944e862e87 Update release-1.7 for version changes in 1.9 (#6520)
* Update version numbers to include 1.9

🛑 DO NOT MERGE 🛑

Update config files to use 1.9 as version number.

* Update _config.yml
2017-12-15 17:40:31 -06:00
Steve Perry ad0af1bff0 Update _config.yml
Updater URL for 1.7 docs.
2017-10-10 12:28:06 -07:00
Steve Perry ab2e62c49a Add 1.8 to version picker for 1.7 docs. (#5830) 2017-10-09 21:27:21 -07:00
steveperry-53 cdae961ad4 Add deprecation banner to 1.7 docs. 2017-09-29 09:53:36 -07:00
steveperry-53 297f7f74c7 Merge branch 'master' into release-1.7 2017-08-11 09:55:40 -07:00
William Martin Stewart 34693b50c9 Add deprecated docs warning mechanism (#4731)
* Deprecated docs warning

* Unknown tag 'endcomment'

* only add css when necessary

* try lighter bgcolor

* tweak copy

* change development url to point at vnext-staging

* try callout

* rollback

* change var names

* update var used

* fix var typo

* turn off deprecation message
2017-08-10 23:07:00 -07:00
William Martin Stewart fa691dafe7 Version Selector (#4386)
* Show current version of docs in nav

* Branch in edit link

* WIP version selector

* An actual working but not pretty version dropdown

* update URLs for versions

v1.7: https://kubernetes.io/docs/home/
v1.6: https://v1-6.docs.kubernetes.io/docs/home/
v1.5: https://v1-5.docs.kubernetes.io/docs/home/
v1.4: https://v1-4.docs.kubernetes.io/docs/home/

* fix v1.4 and v1.5 paths

* Tidier drop downs

* Make font visible always

* Make background match main nav always

* change to major.minor version number

* show only major.minor version in drop down list

* switch from githubbranch to docsbranch

* update githubbranch

* update githubbranch values

* Border radius for bottom of dropdown

* Tabs are hard
2017-08-10 16:41:10 -07:00
Andrew Chen 2900d9f8f4 update githubbranch and fullversion 2017-08-07 16:35:52 -07:00
Andrew Chen 06cc09e000 update branch version variables 2017-08-07 16:32:24 -07:00
Andrew Chen 414f61b2ea include _headers (#4636) 2017-08-04 15:59:07 -07:00
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 a1ed636b58 Update version numbers to 1.7 2017-06-27 16:34:04 -07:00
Steve Perry 37976e6c74 Site URL for canonical URLs. (#3927) 2017-05-27 13:05:17 -07:00
Andrew Chen 0809e7a049 change fullversion var for v1.6.3 release 2017-05-11 11:13:59 -07:00
Andrew Chen 105942fdb4 Refactor tabs implementation (#3268)
* Refactor tabs implementation

* tidy head.html

* test jquery-ui tabs

* Initial tabs code refactor

* test liquid parsing

* test liquid stack

* move into tabs.html

* test jekyll tabs

* construct array

* test cleaner way

* add example content

* test split hack

* fix md

* add site.emptyArray

* set good defaults

* fix CSS

* cleanup li

* fix a href

* fix content tabs

* add space to default

* remove a href underline

* rename docs/tab-test.md to docs/tab-example.md

* fix skip toc check

* add assignees

* add comment to reference example

* add documentation to example

* escape md

* move demo to top, pretty it up

* add word

* tweak wording
2017-05-04 13:52:59 -07:00
Andrew Chen 3d3f0ba1e8 Update fullversion page variable 2017-04-28 16:15:05 -07:00
Steve Perry e92bd5833c Remove Guides from top nav. (#3508) 2017-04-24 16:22:02 -07:00
Steve Perry d28bff7284 Move Support topics. (#3363)
* Move Support topics.

* Fix toc entry.
2017-04-12 18:42:34 -07:00
Andrew Chen b7fc1a9bfb Fix PR #3274 (#3276)
* Fix PR #3274

* remove unecessary template

* remove page title
2017-04-07 15:38:50 -07:00
Steve Perry f02c10b679 Make a Setup section. (#3227) 2017-04-07 13:46:56 -07:00
Andrew Chen 6ed0c34d2a Remove swagger-ui link, fix page.version variable (#3185)
* Remove swagger-ui link, fix page.version variable

* remove swagger-ui redirect

* use 2 decimal version for cluster-large.md

* fix swagger-ui message

* replace URL w/ final destination

* address feedback

* add link to swagger.json at https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/swagger.json

* remove redundant sentence
2017-04-03 01:13:10 -07:00
Andrew Chen 05f949d7a2 Change version variable to v1.6 (#3060)
* Change version variable to v1.6

* change to v1.6.0 to match branch tagging in kubernetes/kubernetes (https://github.com/kubernetes/kubernetes/tree/v1.6.0/docs/)
2017-03-29 13:18:53 -07:00
Ben Balter 5bab707a82 Merge branch 'master' into inline-titles 2016-12-19 18:46:34 -05:00
Ben Balter d8d99a171e use in-page titles to generate sidebar nav 2016-12-19 15:08:54 -05:00
Janet Kuo 664459c407 Bump default {{page.version}} to v1.5.1 2016-12-15 13:05:54 -08:00
Ben Balter 731f5bac1a Use Jekyll SEO Tag to generate the search engine HEAD meta.
This commit moves the site to use the official Jekyll SEO Tag
plugin (https://github.com/jekyll/jekyll-seo-tag) to generate the
search-engine meta in the HEAD of each page. The title and canonical
URL output should be largely the same as before, but with additional
metadata, such as JSON-LD (for richer indexing), Twitter card
metadat, etc.

Like the other plugins, this should largely work out-of-the-box,
with no additional day-to-day configuration, but is customizable
where desired.
2016-12-13 14:16:54 -05:00
Ben Balter 69a6958209 Remove "baseurl" from _config.yml
Remove baseurl from the config for three reasons:

1. It's not used anyplace within the site

2. The site’s base URL is only to be used when the resulting site
lives at a subpath of the domain. Otherwise, the subpath should be
nil, not /.

3. When the Pages Gem is loaded as part of the :jekyll_plugins
group, baseurl and url are set automatically.
2016-12-13 14:04:51 -05:00
Ben Balter cb9c9dccfd Add title and description to _config.yml
Although the title already has a "name" entry, this commit replicates
the name as "title", and adds a "description" entry, both of which
are shared across common, official Jekyll plugins like jekyll-feed
and jekyll-sitemap.

This allows the feed and sitemap to properly output the title and
description in various places.
2016-12-13 14:03:11 -05:00
Ben Balter 8f1f8d47bb Use Jekyll Sitemap to generate the sitemap.
Jekyll Sitemap (https://github.com/jekyll/jekyll-sitemap) is an
official Jekyll plugin, which should serve as a drop-in replacement
for the existing sitemap.xml. The resulting sitemap should be largely
similar to the existing sitemap, but with a shared, battle-tested
template that accounts for all sorts of edge cases, handles collections
and static files, etc.
2016-12-13 13:58:48 -05:00
Ben Balter f08e807226 Use Jekyll Feed to generate the Atom feed.
Jekyll Feed (https://github.com/jekyll/jekyll-feed) is an official
Jekyll plugin which should replicate the existing feed nearly
identically, but with a shared, battle-tested template that
accounts for all sorts of edge cases like relative links in feed
entries.

It should be a drop in replacement and "just work" without any
additional configuration.
2016-12-13 13:56:49 -05:00
steveperry-53 81cb7792c1 Merge branch 'master' of https://github.com/steveperry-53/steveperry-53.github.io
Conflicts:
	README.md
	_config.yml
2016-10-15 13:31:14 -07:00
steveperry-53 93d5887c4b Write new material about how to contribute to the Kubernetes docs. 2016-10-15 13:17:23 -07:00
Steve Perry 2c14d7fcb0 Redirection experiment 2. (#1411) 2016-10-07 14:13:42 -07:00
Raúl Naveiras aa9dfba7db Used master branch to link files from the repo
Implements #1269
2016-09-28 12:57:35 +01:00
johndmulhausen ebc6804110 Update _config.yml 2016-03-22 18:38:32 -07:00
johndmulhausen 84c75e2b6a Update _config.yml 2016-03-22 18:37:38 -07:00
johndmulhausen 1c632e3201 Update _config.yml 2016-03-17 15:30:28 -07:00
John Mulhausen f16668b45f 1.2 additions for user-guide/ 2016-03-07 12:09:02 +00:00
John Mulhausen ee01d0661a Nips and tucks to Kubernetes 1.2 imports, config change default to 1.2 2016-03-06 18:28:56 +00:00
John Mulhausen 4c9e72c518 Moving docs from /vX to /docs; we will use branches for old versions. 2016-02-29 15:17:22 -08:00
johndmulhausen 81fe151e43 Update _config.yml 2016-02-24 15:44:42 -08:00
John Mulhausen eaaaa781a7 Single-source/multi-version docs structure 2016-02-24 13:47:57 -08:00
John Mulhausen 908582bf72 Fix for GH variable 2016-02-19 15:41:53 -08:00
John Mulhausen 850c16e2c2 Variabalizing t the GitHub release branch so outbound links are version-specific across pages 2016-02-19 15:41:04 -08:00