Commit Graph

71 Commits (13ca92d745d6d1d2b216fd008b58745473c1cbaa)

Author SHA1 Message Date
Karen Bradshaw e4bab03c1a change main tag in announcement 2020-06-15 16:24:19 -04:00
Aidan Ranney 0625ced466
Revise the Kubernetes website to use Docsy (#20874)
* Add Docsy, required packages and config

* Apply Docsy integration work to k8s website

This encompasses significant changes to the style system, layout files,
as well as changes to some of the static assets. To examine this work
and the iterations that were performed, the original repository can be
found at https://github.com/gearbox-built/kubernetes-hugo.git

* Address issues found in review

The styling and positioning of the header, footer, some shortcodes and
main container elements are improved. A new partial is added for
favicons. The sidebars, as well as inner table of contents, have been
altered for better positioning and rendering of content. Localization
has also been addressed.

* Enable announcements

The recent Black Lives Matter announcement surfaced issues which have
been addressed.
2020-06-15 12:09:57 -07:00
Karen Bradshaw 59dbf9d693 clean up capture templates 2020-06-09 19:33:15 -04:00
Celeste Horgan 9b9ce1f942
Reimplement announcements (#21586)
* Reimplement announcements

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Address deprecation-warning styling

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Use partial only

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Refine

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Turn on announcements for preview only

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Update config.toml

Co-authored-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-06-09 13:46:05 -07:00
Celeste Horgan 9caa83d75b Improve announcements implementation
Signed-off-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-06-04 14:20:47 -07:00
Kubernetes Prow Robot 83a4559c2c
Merge pull request #21231 from Lonor/master
Bind the link of the page history to the language
2020-05-28 14:37:15 -07:00
Lawrence 4a1b1c4271
Bind the link of the page history to the language 2020-05-27 14:20:36 +08:00
Tim Bannister 2eb6ab1ad3 Add a link checker
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-05-26 16:06:46 -07:00
Kubernetes Prow Robot 6c96bcbe84
Merge pull request #20893 from jimangel/fix-feature-state
fix for feature state shortcode
2020-05-11 14:28:22 -07:00
Jim Angel f3e733ecba fix for feature state shortcode 2020-05-11 14:57:03 -05:00
Jim Angel afccb08ced updating link for community cal 2020-05-11 13:59:04 -05:00
Jim Angel bea8e2b1be adding mermaidjs shortcode with example 2020-04-19 14:48:22 -05:00
Karen Bradshaw 45d3532de9 fix duplicate Slack name, header 2020-04-14 11:43:25 -04:00
Rémy Léone 9c864c965b Add a Progressive Web App manifest
Add a valid apple-touch-icon link in header
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2020-04-06 11:59:47 +02:00
Kubernetes Prow Robot 522d1ce587
Merge pull request #19343 from remyleone/logo_json_types
Add a logo JSON-LD meta information about Kubernetes
2020-04-04 13:39:45 -07:00
Ihor Sychevskyi 97849f96e3
fix home docs page button on mobile & tablet (#19646) 2020-03-22 14:06:44 -07:00
Kubernetes Prow Robot 67c0fb987e
Training page in the top nav (#19214)
* Create new page and add to top nav

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* The basics

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* A bit of inline css

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Fix CSS

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Fix link + Add to bottom row

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Address feedback in PR

* Address feedback from elsewhere

* Fix button alignment

* Add training partners

* Simplify css

* Apply suggestions from review

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

* Fix landscape + text block widths

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-03-04 11:01:48 -08:00
Rémy Léone 9142d89630 Add a logo information about Kubernetes 2020-02-27 15:54:19 +01:00
Rémy Léone 207c654042
Add a theme-color (#18976) 2020-02-14 16:33:27 -08:00
John Morrissey 1e6d352c93
maintain the current relative path when switching to other site versions (#18871) 2020-02-06 13:05:26 -08:00
Jie Shen a34bbe4365
Cleanup user journeys related configs and scripts (#18814) 2020-01-30 17:46:19 -08:00
Tim Bannister 7d424c304c Localize logo title (#18318)
The Kubernetes logo links to the top-of-site for the current
localization, so localize the title attribute.
2020-01-15 07:39:32 -08:00
Roy Hvaara 88d0f78251 Add YouTube social button in header and footer (#16838) 2019-12-04 15:22:31 -08:00
bells17 5306b4e784 Remove a space previous a tooltip text (#17194)
* Remove a space previous a tooltip text

* Improve format
2019-11-06 07:53:52 -08:00
Chaitanya 6a4238aa71 Accessibility updates - main landmark roles (#17106)
* Removed multiple main tags from home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Removed multiple occurances of main in case-studies page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Replaced css for main tag with .main-section class

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Added main landmark role for all the pages

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Force checks.

request-checks: true
2019-10-27 04:43:24 -07:00
Chaitanya 920d14f4fc Accessibility Updates (#16633)
* Fixed accessibility issues in home page

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Fixed accessibility issues for docs/home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /partners page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /community page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Update layouts/partials/header.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/partials/footer-scripts.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/partners/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/community/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Added missing quotes

* Added landmark roles for search bar and footer

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Changed images alt text

Changed alt text from 'kubernetes community' to 'Kubernetes Conference Gallery'

* Removed verb from iframe title

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Change alt text for GitHub image

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Few alt text changes

* Modified alt text
2019-10-05 22:23:09 -07:00
Roy Hvaara bd7dae1c87 Use HTTPS for links (#16668) 2019-10-02 23:14:08 -07:00
aimeeu d549942636 Add announcement shortcode and partial (#16210)
Add shortcode, partial, and css so we can display an accouncement
site-wide.
Create a shortcode for use in content/en/ _index.html so
announcement is displayed on website landing page.
Create a partial for use in layouts/docs/baseof.html so
announcement is displaye on every page in '<url>/docs/home'
directory.
Add two values to config.toml: announcement (boolean) for toggling
display of announcement; announcement_message, which is the actual
message.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-09 14:22:55 -07:00
mohamed chiheb ben jemaa 63eb064d96 update sweetAlert and fix scrolling after copy (#15542) 2019-08-21 17:20:32 -07:00
Thibaut Tauveron bfe83d284c fix unexpected line breaks for localized glossary tooltips #15390 (#15920) 2019-08-18 17:58:04 -07:00
Rael Garcia c138c9c158 Replace tabs by spaces in glossary-terms partials (#15408)
Using tabs in this partials seems to cause Hugo to parse the partial
as a code block instead of rendering the HTML code.

Solves #14792 rendering issues.
2019-07-14 03:41:03 -07:00
mhamdi semah 582cda6192 Blog post index for past years does not expand making older posts unreachable (#14875) 2019-06-24 20:10:35 -07:00
Luc Perkins 654db85168 Use Hugo extended for Sass/CSS (#13113) 2019-06-09 06:31:07 -07:00
Rémy Léone 871ba61574 Update bootstrap js because bootstrap 3.3.7 is vulnerable (#14775)
https://snyk.io/vuln/npm:bootstrap?lh=3.3.7&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit
2019-06-07 19:01:08 -07:00
Tim Bannister 1078044001 Fix HTML typo (#14527) 2019-05-26 21:35:48 -07:00
Rael Garcia 20842e037a Add localization support for layouts (#13832)
Add layouts/docs/glossary en i18n strings
Add layouts/docs/glossary es i18n strings
Use i18n strings in layouts/docs/glossary
Add layouts/blog/pager en i18n strings
Add layouts/blog/pager es i18n strings
Use i18n strings in layouts/blog/pager
Add layouts/blog/list en  i18n strings
Add layouts/blog/list es  i18n strings
Use i18n strings in layouts/case-studies/list
Add layouts/docs/search en i18n strings
Add layouts/docs/search es i18n strings
Use i18n strings in layouts/docs/search
Add layouts/partials/feedback en i18n strings
Add layouts/partials/feedback es i18n strings
Use i18n strings in layouts/partials/feedback
Set html lang using "{{ .Language }}"
2019-04-16 17:36:01 -07:00
Bjørn Erik Pedersen b51bdc88cc Make it compatible with Hugo 0.55 (#13680)
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
2019-04-08 18:19:05 -07:00
Damini Satya 532bb26b9d Fix#13372 - Issue template for bug, support, feature requests (#13373)
* Fix#13372 - Issue template for bug, support, feature requests

* Point to the bug template for every bug report from website
2019-04-02 08:02:38 -07:00
Kaitlyn Barnard 14bfed8631 Adding image to Twitter meta data (#13261) 2019-03-27 16:28:50 -07:00
Luc Perkins c6dd35ba51 Update to Hugo 0.53 and remove all .Site references (#12079)
* Remove all .Site variable references

* Update Hugo version in Travis CI config and Makefile
2019-02-05 08:33:23 -08:00
Qiming bef190960f Translate some remnant partials for localization (#12239) 2019-01-28 23:18:04 -08:00
Roy Lenferink 0ca5d446d9 Edit button on translated pages working as well now (#12230) 2019-01-15 12:48:55 -08:00
Karen Bradshaw fd82826476 Add template for tool reference docs (#11618)
* [WIP] Add template for tool reference docs

- provide a template for generating tool reference docs.
- use in reference-docs/gen-compdocs/generators to create
  consist looking markdown files for the tools.

* Fix lines

* remove test page
2019-01-07 07:40:53 -08:00
Luc Perkins 4a6a022e61 Update Git info CSS (#10496) 2018-11-24 08:03:52 -08:00
Andrew Chen 6cd8128475 Fix secondary nav to use Home (#10800) 2018-11-01 05:44:44 -07:00
Andrew Chen 58aa2d5c30 Fix edit page button at bottom of pages. (#10517) 2018-10-05 15:13:03 -07:00
Luc Perkins 48aa30df96 Add og:image meta tag to non-blog pages (#10213)
* Add og:image meta tag to non-blog pages

* Fix other minor OpenGraph issues
2018-10-03 20:57:18 -07:00
Luc Perkins 4c2b56625c Temporarily remove Hugo Pipes Sass conversion (#10373)
* Add new Sass generation system

* Remove resources folder

* Add develop Sass command and sourcemaps

* Add Hugo version shortcode for use in docs

* Add OWNERS file to ./sass folder
2018-10-01 13:38:01 -07:00
Bjørn Erik Pedersen 32014f94b3 Merge missing translations (#10355)
* Merge missing translations

* Disable Norwegian
2018-10-01 12:38:37 -07:00
James Adarich c71303c70a remove duplicate stack overflow icon (#10318) 2018-09-18 06:16:26 -07:00