Commit Graph

191 Commits

Author SHA1 Message Date
Nuno Silva fc05cd24b0
Update footer Z-index (#6944)
Footer content was not clickable. This small change is enough to fix that.

Fix #6355
2020-03-23 07:26:14 -07:00
Martin Taillefer 4ee8fc927a
Fix a couple bugs. (#6311)
- Set the right style for the auto-inserted header links. Without this,
they didn't render correctly with the Edge browser.

- Fix broken Hugo error message, leading to broken builds if
encountered.
2020-01-08 07:24:04 -08:00
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
Martin Taillefer a94d35f840
Stop collecting written feedback from users. (#6015)
- I recently added support to collect written feedback about their
use of the site. The resulting text was being pushed to Google Analytics
as events. Looking for responses today, I came to realize that Google Analytics
only consumes numerical metrics, no text. I couldn't find a replacement spot
where to dump the user's comments, so this feature needs to be turned off for now.

Conceivably, a collection endpoint could be added to eng.istio.io if we really want
this data.
2019-12-06 15:51:04 -08:00
Martin Taillefer 36c30cf45b
Fix rendering issues with banners and stickers. (#5995)
- Pick a better color for links in banners and sticks in the light theme.

- Don't underline banners when they're used as links.

- Properly vertically center single-line stickers
2019-12-05 14:03:06 -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
mtail a888849a2e Remove stray debug print. 2019-12-04 12:30:12 -08:00
Martin Taillefer 1dba095f79
Add support for events. (#5953)
Events are used for special announcements. There are stickers and banners that can be
displayed to the user. These can be used to announce an imminent release with a
sticker and countdown clock, or can be used to invite users to a future
conference, or can be used to announce that a new release is available for download.

See the authoring guide for instructions on how to use these announcements.
2019-12-04 12:12:52 -08:00
mtail 701a9b3541 Change end-of-line character to \n. 2019-12-03 05:44:19 -08:00
Martin Taillefer 81050e0881
Fix bug preventing theme switching from working properly. (#5960) 2019-12-03 05:35:35 -08:00
Martin Taillefer 6165cb9821
Replace cookies with local storage. (#5949)
- We don't need cookies for istio.io, the few settings we do have should be
managed with browser-local storage instead. This is a better privacy posture,
and avoids sending needless data to the server for every request.
2019-12-02 13:02:51 -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 d20a308703
Site improvements. (#5932)
- The section names in the header (Docs, Blog, etc) used to not be clickable
if you were on any page in the section. Now, they are clickable so that you can
use them to go back to the top of the section.

- Remove unsightly jitter of the section names in the header whenever the
"new content" dots where drawn. The header text is now rock solid as it normally is.

- Have the "new content" pills and dots fade it. There's necessarily a delay before
they get displayed, so instead of just popping them in which looks a big ugly, they
now gently fade in, as if the delay was intentional :-)

- Fix misuse of the JavaScript object model which would lead to script crashes in
certain cases.
2019-11-29 09:03:37 -08:00
imgbot[bot] c3f9bbe723 [ImgBot] Optimize images (#5895)
/src/icons/log.svg -- 0.63kb -> 0.61kb (3.39%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-27 10:42:44 -08:00
Martin Taillefer dbed6f0eba
Add a web site change log page. (#5861) 2019-11-27 10:31:46 -08:00
Martin Taillefer 32e3b03a40
Remove superfluous scrollbar. (#5864)
I forgot this on when doing a previous bug fix.
2019-11-26 07:21:39 -08:00
Martin Taillefer 008db4721b
Fix problems expanding entries in the sidebar, especially on Firefox. (#5831) 2019-11-25 15:06:37 -08:00
Martin Taillefer 4c076b297d
Upgrade tool versions. (#5860) 2019-11-25 14:32:22 -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 262ecce992
Site improvements. (#5836)
- The Yes/No feedback buttons now produce analytics events that include the
page language so that we can key off of that in the reports.

- Improve the layout of directory pages (_index.md) by removing excessive
blank space around each entry, which makes better use of the display area.

- Hide the Yea/No feedback buttons when printing.

- Fix the superscript link endnotes used when printing. These were
being rendered as full-size text instead of superscripts. This has
been broken for a long time it seems.
2019-11-25 11:34:54 -08:00
Martin Taillefer 63452cf0b0 Fix occasional bad size of panel in the side nav. (#5821) 2019-11-22 06:36:23 -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 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 1c6822534d
Fix bad color combo on FAQ landing page in dark mode. (#5753) 2019-11-16 07:48:39 -08:00
Martin Taillefer 2c5775d77d
Fixes to the release note action buttons. (#5701)
- For the main release page, have the DOWNLOAD selection take you to the getting started install page.
In other cases, it throws you to GitHub's release page.

- Fix color highlighting for the action areas. Some text was becoming invisible on
hover and the buttons generally didn't follow our color scheme & transitions. Now
they have like buttons do in terms of colors.
2019-11-15 07:34:34 -08:00
Martin Taillefer 3d58942d0f Site improvements. (#5719)
- Display the version number in the site header. The version number was only displayed
in tiny font in the footer, now it's quite a bit more obvious.

- Fix layout of the footer to avoid the icons wrapping on two lines when the browser was
specific widths.

- Clicking on a folder in the left navigation area no longer expands the
folder. It only brings up the page associated with the folder in the main
page area. This was always my intent, I never got around to it til now.
2019-11-15 06:57:46 -08:00
imgbot[bot] 37e0988d8f [ImgBot] Optimize images (#5684)
/src/icons/best-practices.svg -- 2.46kb -> 2.28kb (7.53%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-14 09:51:57 -08:00
Rigs Caballero 22d066be37 Added the Best Practices section with general principles. (#5137)
* Added the Best Practices section with general principles.

This is the beginning of the new Best Practices section.
Our goal is to provide a section for all the best practices and recommendations
for Istio deployments. The best practices are based on the identified and
recommended deployment models.

Signed-off-by: rcaballeromx <grca@google.com>

* Change headings for clarity.

Adds clarity to some passages based on feedback.
Removes a list of recommendations that was causing some confusion.
Adds a glossary entry for failure domains and how they relate to a
platform's availability zones.

Signed-off-by: rcaballeromx <grca@google.com>

* Move Best Practices to Ops Guide

Signed-off-by: rcaballeromx <grca@google.com>

* Moved Deployment Best Practices to a new "Prepare Your Deployment" section.

Moved all deployment preparation content into a new section under "Setup".
For now the content includes the following sections:

- Deployment models
- Deployment best practices
- Pod requirements

Merged the two existing pages containing pod requirements into one single page.

Signed-off-by: rcaballeromx <grca@google.com>

* Replace example with better guidance around namespace tenancy.

Signed-off-by: Rigs Caballero <grca@google.com>

* Add links and language pointing to the Prepare section

Signed-off-by: Rigs Caballero <grca@google.com>

* Fix minor typos and broken links.

Signed-off-by: Rigs Caballero <grca@google.com>

* Move from Setup to Operations

Signed-off-by: Rigs Caballero <grca@google.com>

* Fix broken links

Signed-off-by: Rigs Caballero <grca@google.com>

* Fix rebasing issues.

Signed-off-by: Rigs Caballero <grca@google.com>

* Fix multicluster install link.

Signed-off-by: Rigs Caballero <grca@google.com>
2019-11-14 11:58:29 -05:00
mtail 47cbcfef6f Slight layout improvement in FAQ landing page. 2019-11-12 09:56:32 -08:00
Martin Taillefer ff16e5f477
Release note improvements. (#5547)
- Improved look of the call to action buttons

- Removed redundant attributions on all news items, those were
leftovers from when the relesse notes were in the blog section.

- Used consistent subtitles and descriptions for all news items.
2019-11-09 12:52:33 -08:00
Martin Taillefer f8033f92ae Address rendering glitch on the istioctl reference page. (#5319) 2019-11-04 06:10:03 -08: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
Martin Taillefer d42dfe94ba
Introduce top-level News section. (#5060) 2019-09-27 07:09:58 -07:00
Ram Vennam 2948079d8d dark-mode-css-bug (#5023) 2019-09-20 09:48:55 -07:00
Martin Taillefer 0b12069971 Fix the preformatted block download function on Firefox. (#4999) 2019-09-13 23:09:04 -07:00
Ram Vennam ccc9ca6142 Improve Tabs CSS (#4980)
* tabs css #3992

* lint error

* lint error

* code review comments
2019-09-13 08:26:55 -07:00
Martin Taillefer dfb41ae672
Add support for text block links that point to other repos. (#4952) 2019-09-10 11:57:07 -07:00
Martin Taillefer 2344acea47 Fixed vertical positioning of glossary entries. (#4907)
- When hardlinking to a specific glossary entry, the page would
get positioned incorrectly, hiding the actual entry.
2019-09-04 05:51:22 -07:00
Martin Taillefer 53e04b461a
Update Slack-related info to match our current policies. (#4530) 2019-06-24 09:28:20 -07:00
Romain Lenglet 0181a4e05b Update CNI docs (#4398) 2019-06-18 13:52:58 -07:00
Martin Taillefer 92b11e66cd Update reference docs (#4389)
Also run the SVG optimizer.
2019-06-13 17:46:51 +00:00
mtail 793fe3ae92 Update reference docs.
And delete stale OWNERS files
2019-05-30 11:28:41 -07:00
mtail c2db9d5263 Revert "Experiment with showing the sesrch bar all the time on large-enough screens."
This reverts commit e04e9bc0
2019-05-17 16:05:08 -07:00
mtail e04e9bc0f1 Experiment with showing the sesrch bar all the time on large-enough screens. 2019-05-14 22:24:02 -07:00
Martin Taillefer c86583e1f4
Change 'plain text' to plaintext. (#4103) 2019-05-07 09:26:58 -07:00
Martin Taillefer 0423e9188a
Theme improvements (#4097)
- If no color theme has been selected, the site now follows the user's system's
color scheme. This only works in Safari right now, but support in Chrome and Firefox
is on its way.

- Fix occasional white flash that would happen when loading pages while using the dark
theme.
2019-05-04 07:03:06 -07:00
Martin Taillefer 652e05159a
Upgrade to Hugo 0.55.5 (#4095) 2019-05-03 21:47:45 -07:00
Martin Taillefer 94ada19a4b
Site improvements (#4050)
- Fix highlighting of TOC entries in the Chinese version of the site.
I wasn't doing the right escaping to deal with UTF-8 chars.
2019-04-25 22:46:33 -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