Commit Graph

86 Commits (4c14f7f840f708849a0653573d8895dcab2e0bd4)

Author SHA1 Message Date
Tim Bannister 3fcc2c812f Make release-data time format localizable 2021-12-14 17:39:21 +00:00
Tim Bannister 270bc93258 Fix HTML for release-data shortcode 2021-12-14 17:38:59 +00:00
Tim Bannister 4dc09070ee Improve recent release list
- fix unwanted trailing separator
- better styling for the items
- more semantic markup (also enables improved CSS)
2021-11-27 18:42:11 +00:00
Tim Bannister 4a57e58ab4 Use Docsy alert classes
Update the Kubernetes overrides from the Docsy theme to diverge less,
specifically in the areas of callouts (alerts) and pageinfo blocks.
2021-10-13 01:10:58 +01:00
Tim Bannister 8a736308a9 Revise third-party content warning 2021-10-02 16:40:09 +01:00
silenceshell 160d68bd43 kubeadm-upgrade should upgrade to current branch version other than the latest version 2021-09-19 11:00:41 +08:00
Philippe Martin 787e703fa0 Add `api-reference` shortcode 2021-09-11 10:59:46 +02:00
Tim Bannister e3b6ab9579 Improve Katacoda button
Separate out the HTML <div> for Katacoda from the in-page button to
trigger it.
2021-08-03 14:31:38 +01:00
Tim Bannister 037456870f Remove capture shortcode
The capture shortcode is no longer used: the switch was made on
2020-06-15, in commit 0625ced466.

Remove it. After this change, it won't be possible to use this legacy
shortcode (builds would fail).
2021-06-21 09:11:57 +01:00
Kubernetes Prow Robot ba20879546
Merge pull request #28463 from sftim/20210617_update_docs_for_primary_branch_rename
Update docs for primary branch rename to "main"
2021-06-18 18:04:50 -07:00
Tim Bannister da31234d5d Update docs for primary branch rename to "main" 2021-06-19 01:50:25 +01:00
Tim Bannister e38d549721 Add shortcode for hyperlinking to examples 2021-06-19 01:47:51 +01:00
Jim Angel 7edf890373 Adding a release page under "Release Information" 2021-05-11 17:18:30 -05:00
Jordi Noguera 6d86df2b49
Fix deprecated landscape URLs (#26251)
* Fix deprecated landscape URLs

* Revert changes to language files
2021-02-28 11:26:39 -08:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Kubernetes Prow Robot 2c2cdeb5d8
Merge pull request #24908 from neolit123/1.20-upgrade-docs
kubeadm: update the upgrade documentation for 1.20
2020-11-20 06:58:51 -08:00
M. Habib Rosyad 4ba449d527
Switch New York Times case study to use youtube shortcode 2020-11-20 14:32:12 +07:00
Lubomir I. Ivanov d046f6d5a4 layouts/shortcodes/skew.html: add latestVersionAddMinor
For site.Params.latest equals v1.20,

The following shortcode:
  skew latestVersionAddMinor N "-"

would return:
  1-(20+N)

negative N are supported.
2020-11-19 00:39:50 +02:00
Qiming Teng 51ab191ec0 Use card mode for cncf-landscape shortcode
The repeated icons are causing confusing.
2020-11-18 10:12:01 +08:00
Karen Bradshaw a8f07b6a1b modify width of iframe 2020-11-03 16:24:20 -05:00
Kubernetes Prow Robot a31ed022c1
Merge pull request #24014 from Arhell/upd-training
add cncf-landscape shortcode for training page
2020-11-03 12:38:04 -08:00
Arhell 59cdc2aaec add cncf-landscape shortcode for training page 2020-10-30 02:07:55 +02:00
M. Habib Rosyad 4d9ee76ace Improve maintainability of Case Studies styling
- Add quote and lead shortcode
- Add case study metadata in front matter (to generate page)
- Allow case study page to inherit similar styles from a centralised CSS file.
2020-10-19 10:10:45 +07:00
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