Commit Graph

39 Commits (release-1.19)

Author SHA1 Message Date
Celeste Horgan cf76fafcff Use k8s more widely
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-11-12 10:43:46 -08:00
Tim Bannister 7bac2479ad Revise list of available documentation versions
For older releases, the previous rendering wasn't quite right.
Implement a custom layout for the supported versions list

This commit does NOT remove the shortcode named {{< versions-other >}}
because it is still used in some localizations.
2020-08-28 14:58:10 +01:00
TAKAHASHI Shuuji c6a96128c4
Replace special quote characters with normal ones. 2020-08-11 21:05:22 +09:00
divya bhushan cd37817af8 Add Kubernetes download button 2020-06-16 20:27:20 +02:00
Kubernetes Prow Robot 1e24002ffd
Merge pull request #21096 from prasadkatti/fix_header
Rename 'Download Kubernetes' card to 'Release Notes' on home page
2020-06-10 12:08:51 -07:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Tim Bannister 2eb6ab1ad3 Add a link checker
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-05-26 16:06:46 -07:00
Prasad Katti 464a7667aa Rename 'Download Kubernetes' card to 'Release Notes' on home page 2020-05-20 18:41:33 -07:00
Ihor Sychevskyi 97849f96e3
fix home docs page button on mobile & tablet (#19646) 2020-03-22 14:06:44 -07:00
Tim Bannister 9e5b981f80
Add description (#19538) 2020-03-15 23:08:35 -07:00
divya-mohan0209 e2c9be736a
Signposting added in /docs/home to redirect users to /training (#19592)
* Update _index.md

Signpost readers from /docs/home/ to /training/ #19554

* Added the link to reroute users from /docs/home to /training

* Signposting for users added

* Updated _index.md
2020-03-15 20:48:35 -07:00
June Yi 8e5d7e4829 Make k8s.io/docs/home to support i18n (#12570)
* Make k8s.io/docs/home to support i18n

* Apply kbhawkey's review comment
2019-02-21 08:24:20 -08:00
Andrew Chen b3ed053c82 Refactor home page (#10795)
* Fix docs home subnav link name

* change linkTitle to Home

* accept fix from master

* refactor docs home template

* bump

* test

* switch layout to basic

* swap in cards

* test card css

* add launch-cards and launch-card classes

* swap in content

* use different layout name to not affect user journeys

* revert file naming

* revert docsportal.html

* remove main, add kubeadm link

* documentation -> docs

* change kubeadm link
2019-01-23 18:36:23 -08:00
Kayce Basques 59c4712807 add feedback widget to bottom of docs (#11037) 2018-11-20 05:44:49 -08:00
Andrew Chen 6cd8128475 Fix secondary nav to use Home (#10800) 2018-11-01 05:44:44 -07:00
Bjørn Erik Pedersen 1b5ff98a44 Make the home page into reusable and translatable blocks (#10071)
* Make navigation and UI strings i18n friendly

This commit

* Extracts most UI strings into i18n bundles so they can be translated
* Makes a proper Hugo menu out of the hardcoded menu that is shown on smaller screens
* Changes the language selector logic to navigate to the current page in the other language if possible (e.g. the translation). If not possible, it takes you to the home page for that language.

For testing, this commit also adds Norwegian as a new language. This is turned off.

* Make the home page into reusable and translatable blocks

This commit adds a set of block type shortcodes that is then used to build the home page.

* These shortcodes gets common image resources from a new headless bundle. These resources can be inherited or overridden by translations.
* The hardcoded case studies section on the home page is replaced with a query and a loop.
* The hardcoded feature list on the home page is replaed qith a query and a loop.
2018-09-14 14:47:24 -07:00
Andrew Chen 1bebbfcbff Fix position of Home in subnav (#9937) 2018-08-20 13:56:25 -07:00
Andrew Chen 84abf8eacf Change Documentation and Home links in nav (#9914) 2018-08-20 08:33:42 -07:00
Andrew Chen 5db4b83a66 Refactor Setup and Imported sections (#9916)
* Fix link order in Setup section

* fix merge conflict

* Co-authored-by: Jennifer Rondeau <jennifer.rondeau@gmail>

* flip front matter order

* Remove Imported section and add Community section

* revert flip

* change section weights

* revert case study change
2018-08-20 08:31:27 -07:00
Misty Linville 5ae0d0dd8d Reorganize docs contrib guide (#9510)
* Reorganize docs contrib guide

* Address first round of feedback from Brad, Jared

* Standardize on 'SIG Docs'

* Address more feedback

* Rewrites to participating.md

* Tweak navigation titles

* Document PR Wrangler

* Document SIG Docs chairperson

* Fix codeblock that shows how to use <codenew>

It was being interpreted as a Hugo shortcode.
2018-08-06 16:15:57 -07:00
Luc Perkins 1778e77165 Localization instructions (#9192)
* Begin re-working localization instructions

* Fix dangling sentence

* Re-arrange sections plus new content

* Fix TOC issue with misplaced capture directive

* Create new shortcodes for versions and language repos

* Add more translation instructions

* Remove translation docs added as an example

* Finish draft of localization doc

* Remove extraneous note
2018-07-27 17:13:56 -07:00
Luc Perkins 1060c00b2a Use Hugo for Sass processing (#9404)
* Move all Sass into a common /assets directory

* Remove node-sass make command

* Change head partial to accommodate full Sass rules

* Bump Hugo version in Netlify config

* Use separate partial for CSS imports

* Bump Hugo version

* Remove PostCSS from the pipeline

* Un-bump version

* Update Hugo version to 0.44

* Update Hugo version in Makefile

* Update production Hugo version

* Fix misspelled variable name

* Add ./resources folder to Git

* Update Hugo version in Netlify config to 0.45.1

* Use un-cached css.html partial

* Re-work extra CSS logic for .Params.css
2018-07-26 02:53:57 -07:00
Qiming 5472265d6f Fix contribution guide about adding code samples (#9574)
We have consolidated all YAML examples into `content/en/examples`
directory. This PR updates the contribution guide so that people know
where to put their sample YAML files when adding/changing topics.
2018-07-23 11:07:19 -07:00
Andrew Chen 9d3c15c28b Add L10n repo branch structure info (#9206) 2018-07-18 19:21:42 -07:00
Luc Perkins bb818a9b41 Make macOS standard usage (#9422) 2018-07-18 15:12:16 -07:00
Mary Camp f140cbc6f2 Update create-pull-request.md (#9488)
Remove link to stage-documentation-change. 
(@Misty says: The old page doesn't exist anymore and is now redirected to the current page.)
2018-07-18 15:06:12 -07:00
Andrew Chen 470f1e577e fix github links due to /content/en move (#9157) 2018-06-20 12:53:09 -07:00
Takuya N 3ed3ae82de Update Kuberbetes Blog URLs (#8612)
- blog.kubernetes.io => kubernetes.io/blog/
- Kubernetes blog => Kuberentes Blog
- Remove *.html
2018-06-15 10:19:29 -07:00
Ryan McGinnis 7c2214eba9 Container > containers (#9040)
It is confusing to capitalize "container" because it isn't really a primitive or API object. Furthermore, this guideline doesn't appear to be closely followed.
2018-06-13 12:27:28 -07:00
makocchi 8b6a747260 fix code fencing (#9038) 2018-06-12 16:13:29 -07:00
Andreas Jaeger 200dd071a4 Fix tocs and template in docs/home/contribute (#8998)
These pages did not use any template and the displayed toc started
with two bullet points.

Fixes:
* Use the concept template everywhere and add capture markers.
* Rework content-organization.md to move the references to a "whatsnext"
  section.
* Fix in localization.md a misparsed list.
2018-06-08 11:32:54 -07:00
RichieEscarez d33aee9095 Typo: you -> your (#8983)
Fixed typo from "you" to "your"
2018-06-07 14:53:23 -07:00
Jorge O. Castro 37557f8ca6 Make path more explicit for blog images (#8820) 2018-06-06 14:45:22 -07:00
Steve Perry 647babeb16 Update instructions for local preview and Netlify preview. (#8692)
* Update instructions for local preview.

* Add details.

* Added version to Hugo installation step.
2018-05-24 13:33:32 -07:00
Rajakavitha1 abcab6562d Update style-guide.md (#8604)
A minor edit to the text for minimalism. Opening a new PR based on the comments in : https://github.com/kubernetes/website/pull/7991 and https://github.com/kubernetes/website/pull/8105
2018-05-22 22:36:31 -07:00
Andreas Jaeger 3f403d5dc3 Hugo: Fix participating page (#8565)
The page was wrongly formatted:
* Two lists were shown as paragraphs, add empty lines so that they are
  parsed as lists.
* The list of members, reviewers was not intended properly, so that the
  single items are intended but not their description. Indent
  everything.
* Fix URL to owners.md file, the old one gives a 404.
2018-05-18 09:41:51 -07:00
Andreas Jaeger f10cca03f6 Fix typo in style-guide (#8501)
Add missing "/" to close the tag properly, the example is wrong
otherwise.
2018-05-11 12:05:26 -07:00
Misty Stanley-Jones c2e423b862 Fix link opening in new window (#8368)
The way we previously did it in Jekyll doesn't work
with Black Friday. There are a few workarounds, but
the easiest way to fix it is to just change those
links to HTML email.
2018-05-06 13:47:50 -07:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00