Commit Graph

51 Commits

Author SHA1 Message Date
Jhon Mike 2fc8d01192 Started translation to portuguese brazil (#6230)
* create content pt-br

* create and translate i18n/pt-br.toml

* add pt-br language in config.toml

* update urls with pt-br

* add folder content pt-br on linter

* fix url images

* remove test directory

* remove script blocks index.html

* fix linter errors

* update pt-br with en master

* Update content/pt-br/_index.html
2020-01-07 21:25:08 -05:00
ilylia 613edad5de zh-translation: sync docs/ops and some other posts from en to zh (#5990)
* zh-translation: sync docs/ops and some other posts from en to zh

* fix internal link

* fix internal link
2019-12-05 21:20:48 -08:00
Martin Taillefer 03399edcc1
Now collect additional info when a user says a page is not helpful. (#5980)
* Now collect additional info when a user says a page is not helpful.

* Update i18n/en.toml

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
2019-12-05 11:42:41 -08:00
Martin Taillefer a222793255
Site improvements. (#5939)
- Move some info to front-matter in the different security bulletins
such that it can be used when building the security bulleting index page.

- Update the security bulletin index page to show affected relesses and
impact score.

- Make it so table headers are vertically centered, which looks a lot nicer
when there are a combination of single-line and multi-line headers in the
same table.

- Add a few checks to correctly hide draft mode documents from sight
in more cases.

- Remove a stale document that's been in draft mode since first being
created in 2017.

- Clean up a bit of text in some release notes.
2019-12-02 09:37:57 -08:00
Martin Taillefer dbed6f0eba
Add a web site change log page. (#5861) 2019-11-27 10:31:46 -08:00
Martin Taillefer e545c0592d
Simplify introducing a new translation. (#5858)
- Instead of needing to cut & paste code, a new translation
just requires adding the language code to an array.
2019-11-25 12:40:04 -08:00
Martin Taillefer 1c00c8d3bf
Add support for user feedback on how useful the content is. (#5812) 2019-11-21 09:28:03 -08:00
Martin Taillefer e3c8077416
Introduce a shortcode to produce the disclosure detail table in security bulletins. (#5800) 2019-11-20 08:06:15 -08:00
Martin Taillefer 6cdafbeb3d Add support for dots & pills for both news and blog posts. (#5768)
- If a returning user comes to the site, if there are unread
blog posts or news articles less than 15 quadrllion nanosecond
old will be treated as being unread. When there are unred articles,
the News or Blog link in the title bar will get a green dot indicating
articles are available. When clicking on News, then you'll get the
news categories with a pill showing how many articles are unread for
each category.

First-time visitors to the site will not get any dots or pills for
existing articles. These will only appear in subsequent visits for
new articles.

Due to the default behavior for new users, if you just look at the
preview, you will not see any pills or dots. To see what this actually
looks like, load up the preview, then go to the Chrome Developer Tools,
click on the Application tab, then on Local Storage, and then find the
visitedPages entry. Right click on the entry, select Edit Value,
and set the value to {}. Then refresh the page and you
should see some dots show up next to the Blog and News links in
the header.
2019-11-19 11:44:46 -08:00
Martin Taillefer b5ddc1fa56
Big cleanup of security bulletins. (#5761)
- Security bulletins now have a cleaner style, with a common table
at the top capturing common info.

- Generate a custom table when showing the list of bulletins.
2019-11-18 07:19:36 -08:00
Jimmy Song bcaea11f4c zh-translation: initialize the translation content (#5305)
* zh-translation: initialize the translation content

- Restart the Chinese translation precess, refer to https://github.com/istio/istio.io/issues/5250
- Translation progress is tracked on https://github.com/servicemesher/istio-official-translation
2019-11-02 06:47:26 -07:00
Martin Taillefer 2edd60c0e4
Fix broken link in Chinese translations. (#5312) 2019-10-31 20:29:18 -07:00
Frank Budinsky 3aa2f16d0f Remove warning from referenced blogs (#5168) 2019-10-16 15:02:14 -07:00
Martin Taillefer 612d10c921
Automatically a warning to older blog posts about them being potentially out of date. (#5134) 2019-10-15 10:02:20 -07:00
Martin Taillefer f7dd8c6613
Consolidate release-specific material into the news section. (#5138) 2019-10-15 09:27:11 -07:00
Martin Taillefer 9944d952ff
Add support for config analysis messages. (#5096)
- This provides the place where we can pour config analysis message
descriptions.
2019-10-08 10:30:41 -07:00
自言姿语 5ba7e7205a Translate i18n for zh (#4817) 2019-09-18 09:32:02 -07:00
mtail 099a91ebdd Simplified menu. 2019-06-19 05:00:25 -07:00
Martin Taillefer d458423cf4 Site improvements. (#4015)
- Substantially simplify logic that deals with releases & release notes.

- Make it easier to add a new release to the site. THere are fewer things to
change as the site infra can figure more stuff out on its own.

- Make it so release notes can be added in one language without require them
to be added in the other language.

- Replace the ugly "a new version is available" callout on older release note
pages with a popup that only shows up when you click on the download button.
2019-04-22 09:12:18 -07:00
Martin Taillefer 533a3efc0e
Merge from release-1.1 branch (#4012) 2019-04-20 08:16:09 -07:00
mtail 8b88ac9694 Typo 2019-03-26 06:13:30 -07:00
mtail 6f68c39e32 Fix Chinese announcement button 2019-03-19 17:11:42 -07:00
Martin Taillefer 1cc06a6e9c
Site improvements (#3677)
- Added call-to-action buttons in the 1.1 announcements. We can use the same
buttons in future release announcements.

- Fixed broken large warning icon on the 404 error page.

- Fix oerder of blog posts in the side bar.

- Add support to not expand @@ notations in text blocks and use
it for a text blocks that's currently triggering a build failure

- Fixed broken rendering of some text blocks when syntax coloring
is turned off via the menu.
2019-03-13 21:53:55 -07:00
mtail 373916fcfa Improve accessibility
- Increase the constrast for links, per LightHouse analysis.

- Add support for disabling syntax coloring in example text blocks. This
can be controlled from the menu.
2019-03-09 11:56:32 -08:00
Jimmy Song bea48a2845 Add Chinese content advisory (#3541)
zh: Add Chinese content advisory
2019-03-07 05:33:11 -08:00
Martin Taillefer 360fcb1713
Add support for an advisory string. (#3518) 2019-03-05 14:50:19 -08:00
Vincent 2f69b2191e fixed #3501 (#3505) 2019-03-05 06:31:32 -08:00
mtail ec2a9aa05c Fix a few translation strings. 2019-03-02 17:45:53 -08:00
Martin Taillefer 5a9f78e843
Add a fast language switcher button in preliminary mode. (#3464)
Also, when switching languages, the site now stays at the same page if possible.
This should help with translation work.
2019-03-02 17:39:32 -08:00
Martin Taillefer 33193040a1
Open up Slack to the world. (#3457) 2019-03-01 15:02:21 -08:00
mtail 8103d1f6e1 Disable the Edit This Page functionality for generated files. 2019-02-23 12:54:27 -08:00
Martin Taillefer 2dac7e0ff3
Site infra cleanup. (#3281)
- Refactor script code into smaller more manageable files.

- Use consistent naming style in script code.

- Stop using Bootstrap's dropdowns and popovers in favor of custom implementation.
There are only a few uses of Bootstrap to purge before I can ditch
the dependency on the Bootstrap & JQuery libraries, which will speed
up page loads.

- Find a few more static strings that should come from the xlation
dictionary instead.
2019-02-18 07:35:37 -08:00
Martin Taillefer 141a2182c2
A bunch of infrastructure cleanup. (#3221)
- Switch from the Bootstrap grid system to the CSS grid. Much cleaner and faster.

- Add "See also" and "Links" to the list of translation strings

- Prevent the breadcrumb line from being included in the link endnotes when printing a page.

- Cleanup/rename several of the CSS and layout files for clarity.

- Switch the community page from using clumsy tables to a much cleaner approach
with shortcodes.

- Don't show buttons in the link endnotes when printing a page.

- Don't render the link endnotes section at all if the page has no links to include
2019-02-10 07:21:19 -08:00
Jimmy Song 303ae56378 zh: switch to discuss.istio.io (#3079)
* zh: switch to discuss.istio.io

Refer to https://github.com/istio/istio.io/pull/3071

* Replace 跟踪 with 追踪

* Fix yaml format
2019-01-13 13:05:48 -08:00
Martin Taillefer d7c4eb33f5
Switch to discuss.istio.io (#3071) 2019-01-10 07:11:00 -08:00
Jonh Wendell 5a505ebd3a Add a 'How to join Slack' FAQ entry (#2855) 2018-11-09 11:12:28 -05:00
Jimmy Song 73a2ef4bc9 zh: Translate some strings in i18n (#2749) 2018-10-11 08:57:56 -07:00
Venil Noronha 1bb636e057 Fix typo (#2754)
Signed-off-by: Venil Noronha <veniln@vmware.com>
2018-10-10 09:12:38 -07:00
Martin Taillefer 9540cd2d19
Site improvements. (#2742)
- Auto-generate tables of template->adapters and adapter->templates

- Make the "Edit this page on GitHub" menu option track the branch correctly instead of always pointing to master.

- Update the reference docs.
2018-10-05 11:15:26 -07:00
Martin Taillefer aec96f3233
Add support for logos in partner components (#2724)
* Add support for logos for partner components.

* Update reference docs.
2018-10-02 12:04:15 -07:00
Martin Taillefer 208760597b
Add support for partner components. (#2704)
Partner components (adapters not controlled by the Istio org) are now
called out as such on their page. Component authors have a chance to put
all sorts of info about their component to make it easy for customers
to find and use their component.
2018-09-28 15:40:10 -07:00
Jimmy Song c0578f68bd Fix issue #2688 (#2696) 2018-09-27 10:10:48 -07:00
Martin Taillefer 7d150577ed
Add support for the last_update front-matter field. (#2690) 2018-09-25 15:24:14 -07:00
Martin Taillefer 0a4264417f
Site improvements (#2633)
- Use a new approach to managing icons. This has two primary benefits:

  - It makes it possible to color the icons such that they look good in the
    dark theme. Previously, the icons were rendered in black on dark grey when
    using the dark theme.

  - The average payload size for our web pages is reduced and we better use the
    browser cache.

- The new icon approach makes it possible to remove our dependency on the fontawesome
  package, which further slims down our payload requirement

- Refresh our iconography for a slightly lighter look.

- Remove the extra thick left-hand border of text blocks to lighten the
look.

- Added a "NN minutes to read" indication on top of each page. This is
only displayed if the count is > 1 minute.

- Added a calendar icon next to the blog post date.

- Exposed a bunch of strings that were buried in CSS/JS to translation.

- Add the 'keywords:' front-matter fields to the Hugo archetypes.
2018-09-17 08:52:23 -07:00
Martin Taillefer 9f187ee64f Improve the release note link shortcode. (#2597)
- When displaying a "Changes" button, we now display a diff from the previous patch to the current
patch, instead of a diff from the base release to the current patch.

- Properly localize the release note buttons so these can be translated.
2018-09-12 10:47:45 -07:00
Martin Taillefer cb58e4539e
Site improvements (#2555)
- Move some strings from the footer to the translation table so they can be translated.

- Use a custom search engine for the preliminary site, so the preliminary site can actually be searched.

- Improve a few shortcodes to improve how they work when nested in tabs.

- Move a few constants out of the layouts and into args.yml for cleanliness.
2018-09-07 09:38:40 -07:00
Jimmy Song 79c25ec6d7 Fix typo and update some sentences translation (#2509)
* Fix typo and update some sentences translation

- Refer to #2335 and #2377 which have no update for a long time

* fix typo
2018-09-06 12:51:10 -07:00
mtail 93a6627952 Fix typos. 2018-07-04 05:51:53 -07:00
Jimmy Song 082110e286 add zh i18n yaml file (#1555) 2018-06-19 09:34:37 -07:00
mtail 69d41816e0 Improve the gear menu.
Simplify the menu. We don't/can't list all old releases, it takes too much
room and overflows the screen on mobile. We now have a more useful set,
2018-06-16 17:38:50 -07:00