Commit Graph

64 Commits (main)

Author SHA1 Message Date
Kubernetes Prow Robot 211b4861b0
Merge pull request #47484 from sftim/20240514_restyle_glossary
Restyle glossary page
2024-08-29 11:00:29 +01:00
Kubernetes Prow Robot fd98767e14
Merge pull request #47411 from sftim/20240808_docsy_friendly_deprecation_warnings
Revise deprecation warnings to be more Docsy friendly
2024-08-29 09:10:30 +01:00
Matteo Bianchi b153426c85
Fixed flag deprecations and updated Hugo version to latest (#47612)
* Fixed flag deprecations and updated Hugo version to latest

* Removed deprecated flag from css.html

* Includes fix for Hindi and Russian

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>

* Update netlify.toml

Applied node update (from my other PR)

Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>

---------

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>
Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2024-08-23 16:37:52 +01:00
Tim Bannister 8214a5f0ef Restyle glossary page
Match the theme more closely, and use SCSS to define the styling.
Also change the permalink hover behavior to be pure CSS.
2024-08-14 14:16:47 +01:00
Tim Bannister 55f93e6878 Update layouts for Katacoda removal 2024-08-09 13:15:00 +01:00
Tim Bannister 932f32412c Revise deprecation warnings
Ready the deprecation warning mechanism for when we want to align with
upstream Docsy.
2024-08-08 22:43:27 +01:00
Dipesh Rawat 051f98bbc6
Refine glossary for vanilla docsy 2024-08-08 00:53:37 +01:00
Chris Abraham 9d2317aa15 Replace Bing with PageFind search for users in China 2024-07-03 15:36:58 +01:00
Dipesh Rawat 60ca7a305a
Add mechanism to generate API reference links 2024-03-14 14:14:08 +00:00
Andrii Holovin cc315735b3
Update glossary.html 2024-02-16 10:50:17 +02:00
Priyanshu Chaudhary b805720e03
Fix docs mobile layout (#42943)
* fix docs mobile layout

* Update js to disable splitter on mobile

* fix mobile and desktop layout
2023-09-08 11:10:15 -07:00
Kubernetes Prow Robot 29eab1a903
Merge pull request #41695 from tengqm/split-doc-window
Split the doc view
2023-09-06 09:08:52 -07:00
Dipesh Rawat da673bf10a
Refine layout to add menu of links under releases 2023-09-02 01:55:42 +01:00
Kubernetes Prow Robot f227e22843
Merge pull request #41370 from dipesh-rawat/conditional-layout-release-info
Add Hugo layout to hide release information on outdated k8s.io versions
2023-08-16 23:26:20 -07:00
Qiming Teng 589d67a7fa Split the doc view
This PR adds a splitter so that the navigation panel can be resized.
2023-08-02 09:54:41 +08:00
morix1500 4fa23bc604 Provide a per-page outdated notification for localized content 2023-07-04 19:43:37 +09:00
Dipesh Rawat 5c29d1dd6b
Add layout to hide outdated releases 2023-05-29 17:57:24 +01:00
Mauren Berti 2f39d55857
Changes from code review. 2022-11-19 09:55:43 -05:00
Mauren Berti 74b03f943a
Localization for glossary tag headers. 2022-11-18 21:35:57 -05:00
Tim Bannister 4b8ec4dc73
Add page info to autogenerated pages
Tell the reader when they're viewing an autogenerated page, in case
they want to report an issue - it should help make reports about
autogenerated content stand out.

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-09-27 23:47:10 +01:00
Rishit Dagli fc8c3536d1 Remove katacoda warning 2022-06-13 16:36:48 +00:00
Tim Bannister a7c5ec8eda
Extend Katacoda removal warning
Also cover HTML-based interactive tutorials that do not launch Katacoda
from a button. This commit only updates the English localization.
2022-05-29 14:17:54 +01:00
Tim Bannister e173bf4940
Add warning about Katacoda shutdown 2022-05-29 14:07:46 +01:00
Tim Bannister 1e436f4587 Revise page header styles
- more compact headers when announcements are showing
- when no announcement showing, top level docs sections
  (eg Concepts, Tasks, Reference) have a heading in the top nav
- when announcement is showing, rely on the breadcrumb trail plus
  page introduction text for each top level section
- switch from plain black docs header to match other sections
2021-10-13 22:47:29 +01:00
Tim Bannister 8a736308a9 Revise third-party content warning 2021-10-02 16:40:09 +01:00
Qiming Teng 1fac17f532 Remove extra horizontal line and spacing 2021-07-06 14:51:44 +08:00
Karen Bradshaw 71303db06b use docsy page edit/issue setup
setting feedback buttons, primary color setting

update i18n with issue string

remove local edit page string
2020-09-03 16:35:56 -04:00
Kubernetes Prow Robot 81a3f5420a
Merge pull request #23520 from sftim/20200828_revise_available_docs_versions_list
Revise “Supported Versions of the Kubernetes Documentation”
2020-09-01 12:37:50 -07:00
Karen Bradshaw 160364d548 move search.md
add search bar to search page

fix bing anchors
2020-08-28 15:37:46 -04: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
Kubernetes Prow Robot f169e99fee
Merge pull request #22043 from sftim/20200624_update_documentation_section_page_headers
Remove hero header from documentation section
2020-08-18 09:15:31 -07:00
Tim Bannister c7ee5d798c Remove hero header from documentation section 2020-08-18 11:13:06 +01:00
Tim Bannister 7e23f0f875 Tidy & fix deprecation warnings
Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
2020-08-16 18:34:09 +01:00
Karen Bradshaw e2dadcf668 adjust title, description order 2020-06-28 06:50:39 -04:00
Tim Bannister e2805d47b5 Move documentation page lead text after the heading
This helps because the lead text follows the page heading on
the section index that links to a page. Consistency helps readability.
2020-06-24 22:01:14 +01: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
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
Maciej Filocha 50f10c2a1a Fix glossary_aka template 2020-04-28 11:30:06 +02:00
Jie Shen a34bbe4365
Cleanup user journeys related configs and scripts (#18814) 2020-01-30 17:46:19 -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
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
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
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
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
Zach Corleissen 0b87f30699 Setup to set up (#12367)
Adding a trivial change

Undoing trivial change to trigger deploy
2019-01-24 13:49:01 -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
Luc Perkins 4a6a022e61 Update Git info CSS (#10496) 2018-11-24 08:03:52 -08:00
Kayce Basques 59c4712807 add feedback widget to bottom of docs (#11037) 2018-11-20 05:44:49 -08:00