Commit Graph

138 Commits (e21f0563f3d00c47b86c6e43619aaeeeb1c4cf25)

Author SHA1 Message Date
Kubernetes Prow Robot 098501ebfd
Merge pull request #30082 from sftim/20211013_revise_header_style
Revise page header styles
2021-11-12 20:00:46 -08: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 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
S Nitesh Singh a6ed49bca9 remove 'Tools Included' from sidebar of translated page 2021-09-23 10:59:48 +05:30
Kubernetes Prow Robot cf9753423a
Merge pull request #29554 from chrismetz09/metz-mermaid-upgrade
upgrade to mermaid 8.11.2
2021-09-07 09:45:16 -07:00
Ben Hall 280e67a4e1 Move to Minikube 1.20 image of Katacoda for Hello Minikube Tutorial
Signed-off-by: Ben Hall <ben@benhall.me.uk>
2021-09-04 07:55:17 +01:00
chrismetz09 cbff3ec4ea upgrade to mermaid 8.11.2 2021-08-26 10:53:18 -07:00
Kubernetes Prow Robot d621a66ca5
Merge pull request #29006 from niteshseram/fix/sidebar
fixing the huge whitespace in sidebar
2021-08-12 06:27:47 -07: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
S Nitesh Singh b1fa203e3a fixing the huge white space in sidebar 2021-07-19 11:13:18 +05:30
Qiming Teng 7b22f1a134 Fix navbar extra title line 2021-06-25 16:50:53 +08:00
seokho-son e26ff03d29 Fix sidefar indentation by updating layout 2021-06-21 10:15:36 +09:00
Tim Bannister da31234d5d Update docs for primary branch rename to "main" 2021-06-19 01:50:25 +01:00
chrismetz09 51ccd736f5 fixed render problem for mermaid picts on ingress page 2021-06-14 21:13:05 -07:00
Kubernetes Prow Robot c44acaba89
Merge pull request #27689 from shuuji3/shuuji3/add-search-to-blog-pages-20895
Add the search box and the toggle section navigation
2021-05-16 05:49:59 -07:00
Jim Angel 7edf890373 Adding a release page under "Release Information" 2021-05-11 17:18:30 -05:00
Bridget Kromhout 68298d1871
Fixes sidebar link for blog posts
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
2021-04-28 14:25:45 -05:00
TAKAHASHI Shuuji af860986bd Add the search box and the toggle section navigation (for mobile) 2021-04-28 12:20:24 +00:00
Tim Bannister d6589e0ce3 Omit “Edit this page” links for generated content
Copy the page meta links template from the Docsy theme, and adapt it to only
suggest editing pages that aren't autogenerated.
2021-04-08 22:04:32 +01:00
Qiming Teng b3214813a4 Cache scripts locally
The current layout partial is using scripts from a site not accessible
from behind the dam great firewall. This is a fix to cache the scripts
as we do before so that tabs, top menu works for everyone.
2021-01-31 21:58:42 +08:00
Tim Bannister c02410db24 Move announcement styles into Sass 2021-01-07 08:44:16 +00:00
Tim Bannister 20d8b28e1b Implement announcements as data-driven content
This change allows announcements to have an expiry date and / or a
“do not show until” date.
Separating this out also leaves room for future changes to enforce
a set of approvers.

Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
2021-01-07 08:44:16 +00:00
Kubernetes Prow Robot 216f9569bb
Merge pull request #23708 from habibrosyad/gh-23660
Improve maintainability of Case Studies styling
2020-10-20 15:04:19 -07:00
Kubernetes Prow Robot cb6885545f
Merge pull request #24229 from sftim/20200929_load_sweetalert_async
Revise copy-and-paste helper for codenew shortcode
2020-10-19 04:48:14 -07: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
Tim Bannister 735410f17b Only load copy-and-paste helper on pages that use it
This change helps improve load times for key non-documentation pages
such as https://kubernetes.io/
2020-09-30 23:42:00 +01:00
Karen Bradshaw a3fbdacef2 remove header partial 2020-09-30 13:40:32 -04:00
Karen Bradshaw e84e0c0b75 update tab component, remove jquery-ui 2020-09-30 12:03:20 -04: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
Celeste Horgan 6ec2f71e58 Remove base_fonts.css
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-09-02 16:41:06 -07:00
Kubernetes Prow Robot aa855d5988
Merge pull request #23029 from sftim/20200808_improve_callout_styling
Improve styling for callouts
2020-08-31 11:06:21 -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 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 390a4d8d9f
Merge pull request #22536 from brianpursley/website-22497
Preserve relative path when switching from latest version of the documentation to an older version
2020-08-26 14:49:02 -07: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
Kubernetes Prow Robot 6783d77353
Merge pull request #23032 from sftim/20200808_show_deprecation_warning
Tidy & fix deprecation warnings
2020-08-18 09:13:31 -07:00
Tim Bannister 63cbc7c910 Fix buggy match for top of documentation
The match was against the page title, which isn't as stable as the
filename of the page. Switch to matching by filename.
2020-08-18 11:13:08 +01: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 0898f1ccfc clean up analytics in footer 2020-08-12 19:00:55 -04:00
Rémy Léone 7258a8dfb6 Add a search JSON-LD meta description
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2020-08-10 09:34:56 +02:00
Brian Pursley 7bc5ee0710 Preserve relative path when switching between versions of the documentation 2020-08-09 10:41:36 -04:00
Kubernetes Prow Robot 91494d2e3c
Merge pull request #22579 from tengqm/disable-analytics-in-non-production
Disable analytics for non-production environment
2020-08-01 16:43:40 -07:00
Kubernetes Prow Robot 7713f1c16f
Merge pull request #22440 from sftim/20200709_link_to_alternative_translations
Add machine-readable hyperlinks to alternative translations
2020-07-30 14:41:06 -07:00
Tim Bannister 90b85c7a5e Automatically detect MermaidJS shortcode
Rather than requiring metadata set in a page's front matter,
automatically detect when detect when a page relies on MermaidJS.
2020-07-27 17:37:47 +01:00
Qiming Teng bf11d5a744 Disable analytics for non-production environment
The analytics code/link is not always working. It takes about 33 seconds
to fail when building local sites for testing, and that is terrible.

This PR disables the analytics in non-production environment, so local
build starts up in seconds!
2020-07-18 21:27:57 +08:00
Qiming Teng 026989d5c5 Fix language selector issue
The language selector is not working. We are getting ERR_CONNECTION_CLOSED
when fetching jquery-3.3.1.min.js from code.jquery.com. The failure of
jquery is breaking other scripts such as jquery-ui-1.12.1.min.js,
script.js, bootstrap.min.js etc.

This PR changes the head partial to use cached version of
jquery-3.3.1.min.js in hope we fix the language selector issue and
possibly other relate problems.
2020-07-18 20:12:31 +08:00
Kubernetes Prow Robot 1943aaafd6
Merge pull request #22311 from sabazubair/remove-anchor.js
Remove /static/js/anchor-4.1.1-min.js
2020-07-15 18:58:35 -07:00