Commit Graph

63 Commits (5819f16c8a391bfe4a448d7b199f3bb8495ba90b)

Author SHA1 Message Date
Karen Bradshaw be9e8e9ad8 update tooltip styling to bootstrap 2020-10-05 12:05:02 -04:00
Karen Bradshaw e84e0c0b75 update tab component, remove jquery-ui 2020-09-30 12:03:20 -04:00
Karen Bradshaw 245f989b2a fix copy clipboard 2020-09-18 13:12:46 -04:00
Kubernetes Prow Robot c7dbfdd317
Merge pull request #23210 from sftim/20200816_add_cncf_landscape_shortcode
Add cncf-landscape shortcode
2020-09-15 10:52:08 -07:00
Kubernetes Prow Robot 5b08dbc38d
Merge pull request #23107 from celestehorgan/add-3rdparty-warning
Add 3rd party content warning
2020-09-02 12:53:06 -07: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
Celeste Horgan 47dd26bf09 Add 3rd party content warning
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Co-authored-by: Tim Bannister <tim+github@scalefactory.com>
2020-09-01 10:39:06 -07:00
Tim Bannister 2e55488319 Deprecate {{< versions-other >}} shortcode
Instead of this, use the docs layout named "supported-versions".
2020-08-28 14:58:17 +01:00
Tim Bannister 4febf7471d Improve styling for callouts
Update styles for callouts (warning, caution, note); also avoid applying
callout-specific styles to general block quotes.
2020-08-27 00:04:26 +01:00
Kubernetes Prow Robot f6ffc7c881
Merge pull request #23028 from sftim/20200808_fix_glossary_definition_shortcode
Fix glossary definition shortcode
2020-08-26 14:57:04 -07:00
Tim Bannister fb127402c6 Add cncf-landscape shortcode
and adjust /partners/ to use it.
2020-08-18 13:34:43 +01:00
Tim Bannister c105f1a03a Fix glossary definition shortcode
Fix a bug rendering short glossary definitions. Also, add an example
of a short glossary definition to the style guide.
2020-08-11 22:41:42 +01:00
Karen Bradshaw 88856e6c01 modify layout of codenew shortcode 2020-08-11 09:58:12 -04:00
Kubernetes Prow Robot 98fbbed9e2
Merge pull request #22673 from shuuji3/en/fix-glossary-definition-shortcodes-bug
Fix a bug of shortcode 'glossary_definition' which selects a wrong term
2020-07-26 20:48:16 -07:00
TAKAHASHI Shuuji 97b22f9fbe Fix a bug of shortcode 'glossary_definition' which selects a wrong term. 2020-07-24 01:43:34 +09:00
Celeste Horgan 7cd2327f87 Remove shortcodes in favor of layout partials
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-07-23 09:31:51 -07:00
Tim Bannister 847f57ecf5 Fix whitespace trimming for note callout shortcode
Use the same whitespace trimming that the other callout shortcodes
(warning, caution) use, and avoid excessive newline removal.
2020-07-13 19:17:07 +01:00
Kubernetes Prow Robot 4c19ec60a1
Merge pull request #22175 from sftim/20200629_remove_capture_shortcodes
Remove capture shortcodes & warn on future use.
2020-07-04 05:30:48 -07:00
Tim Bannister 325ba8754a Warn on use of capture shortcode
If anyone uses the capture shortcode, emit a warning. The website
no longer uses capture shortcodes.
2020-07-04 11:11:29 +01:00
Tim Bannister d5c74c069c (Temporarily) disable upcoming events for live site
Live website builds are failing; disable this part of the shortcode to
allow builds to resume.
2020-06-30 19:17:18 +01:00
Karen Bradshaw 1502e0281d config for removing capture stmts 2020-06-09 19:33:15 -04: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
Irvi Firqotul Aini 3530e6d6d0 Using regex to allow rendering notes with an indent, for example:
{{< note >}}
If the last element of the path is a substring of the
last element in request path, it is not a match (for example:
`/foo/bar` matches`/foo/bar/baz`, but does not match `/foo/barbaz`).
{{< /note >}}

After changin to hugo 0.70 trim seems to be not working.
2020-05-14 00:16:06 +07:00
Karen Bradshaw 7a98007a29 update tabs shortcode 2020-05-11 18:12:43 -04:00
Jim Angel f3e733ecba fix for feature state shortcode 2020-05-11 14:57:03 -05:00
TAKAHASHI Shuuji 7f95a9e419 Fix a broken table in contribute/new-content/overview.md by modifying shortcodes. 2020-05-03 14:39:31 +09:00
Jim Angel bea8e2b1be adding mermaidjs shortcode with example 2020-04-19 14:48:22 -05:00
Jim Angel a3decc2c8f automating-version-skew 2020-04-16 07:42:21 -05:00
Jim Angel 00b106a744 fixing information about dev contrib 2020-04-13 12:19:03 -05:00
Kubernetes Prow Robot 066b9f3b8c
remove extra spaces from template (#19495) 2020-03-05 09:30:38 -08:00
Flo 91759dcd79
Fix cursor not being correct on copy icon (#18901) 2020-02-27 07:53:27 -08:00
Sascha Grunert 3ecfc9f47f
Fix wrong CHANGELOG locations (#19089)
We prefixed the CHANGELOG path in k/k with `CHANGELOG/`, which should
reflect every part of the website as well.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-02-25 05:42:49 -08:00
Karen Bradshaw 9fab3c3098
Add latest-semver shortcode (#19110) 2020-02-16 08:21:28 -08:00
Qiming Teng b550c6c051
Remove shortcode 'code' (#19035)
A long time ago, we added a new shortcode `codenew` as a replacement of
the `code` shortcode. The intention was to consolidate all example
manifests to a single subdirectory, i.e. `content/<lang>/examples`. Now
this transition is almost over. We have only two instances where the old
`code` shortcode is referenced.

This PR makes the `policy.rego` file inlined content so that all
referenes to `code` are killed. We can safely drop the `code` shortcode.
If desired, we can rename the `codenew` shortcode to `code` in a
(series of) separate PR(s).
2020-02-10 19:52:00 -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
Chris Abraham 6e2683269a Use SVGs instead of PNGs in the case studies page (#17095)
* favor svg over png for logos on case studies page

* added svgs for all case studies

* favor svg over png for logos on case studies page

* added svgs for all case studies

* duplicating the jd logo so both are svg

* switch to svgs in the case studies block on the homepage
2019-10-23 09:02:15 -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
Ben Hall 779b2be65c Update Interactive Terminal button. Add button directly to port 30000 for dashboard. Use new Start script to launch minikube. (#15689) 2019-08-06 11:03:55 -07:00
Jim Angel 05a84463b2 fixes offline dependencies (#15257)
fixing tweet tags by replacing with embedded html
2019-07-11 16:07:04 -07:00
Seokho 017a224473 Fix glossary tooltip mismatch (#14227) 2019-05-08 13:18:36 -07:00
Chris Abraham 4e35312a7f New Community page, as designed by @alexcontini (#13046)
* new community page

* update
2019-04-26 12:40:05 -07:00
Luc Perkins 645d3d8ded Create table shortcode that allows for table captions (#13117)
* Create table shortcode for captions

* Allow for tables without captions

* Add table documentation in shortcodes guide

* Docs cleanup
2019-04-09 22:20:12 -07:00
Karen Bradshaw 0c568fa9c9 fix note shortcode, lists (#13587)
* fix note shortcode, lists

- fix note shortcode for use in lists
- add example in style guide

* add more items to list

* update warning, caution, minor tweaks

* more updates
2019-04-09 18:44:12 -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
Jim Angel 39cb126d96 Update deprecationwarning.html (#13461)
ref: https://github.com/kubernetes/website/pull/13406#issuecomment-476806146
2019-03-26 13:19:17 -07:00
Dani Comnea 56021dc671 Reorganize Federation tasks so we have it group and under one topic (#12900)
* Reorganize Federation tasks so we have it group and under one topic

* Intended replacement
2019-03-12 13:38:39 -07:00
Karen Bradshaw 7b07d19360 fix short_description field in glossary files (#13045) 2019-03-09 00:33:29 -08:00
Dani Comnea 9054d61419 Fix the codenew shortcode where site.Params.githubWebRow is null (#12743) 2019-02-20 17:00:48 -08:00
Seokho bdd953f0d3 Substitute en.toml for pedefined english shortcodes (#12418)
Rev Substitute en.toml for pedefined english shortcodes

Remove prefix Substitute en.toml for pedefined english shortcodes

Rev minor Substitute en.toml for pedefined english shortcodes
2019-02-14 17:32:53 -08:00