Commit Graph

262 Commits

Author SHA1 Message Date
Pengyuan Bian b0de7e6106
add proxy repo as vanity url (#7362) 2020-05-20 09:28:33 -07:00
Frank Budinsky c99d90f34c
Fix check for link: latest_release in events (#6974) 2020-03-25 13:28:35 -07:00
Frank Budinsky a45cf7527a
Display entry dates on blog index page (#6960)
* Display entry dates on blog index page

* tweak
2020-03-24 14:07:18 -07:00
Dan Ciruli 8b70b3aec6
[1.5] fixed link in blog post, fixed typo in relnote template (#6792)
* fixed link in blog post, fixed typo in relnote template

* fixed broken link in roadmap

* fixing the broken link in my broken link
2020-03-06 13:21:54 -08:00
Eric Van Norman fb50276d14
More base release 1.6 stuff - Get pipeline working again (#6769)
* More base release 1.6 stuff

* Add 1.6.x to spelling

* Fix some broken links with sidecar/tls-check being removed

* Fix links pointing to install/kubernetes/helm/...

* Incorporate #6783 - Fix bug requiring placeholder release notes

* Restore some links to archive

* Fix one remainging link to archive

* Someone still pointing to current release upgrade notes. Remove.
2020-03-06 12:02:20 -05:00
Nico Aragon 8833f7f155 v1.6 2020-03-05 16:42:12 -08:00
2BFL 55aaa89218
Chinese is optional now (#6398) 2020-02-06 08:15:19 -08:00
Jhon Mike b81e70eb0b fix github edit url with correct language (#6326) 2020-01-11 08:50:19 -08: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
Adam Miller 3aa34e29e3 Fix local build break (#6256) 2020-01-02 20:01:23 -08:00
ilylia 59108fe458 fix image path invalid on windows (#6021) 2019-12-09 07:07:01 -08: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 ae41b8fcdd
Site improvements. (#6003)
- Update common files.

- Switch to latest Hugo version.

- Thanks to the new Hugo, retire the text_hack shortcode.
The hack is no longer needed.
2019-12-06 06:59:22 -08:00
Martin Taillefer 9f353c69a6
Improve hugo perf a bit. (#6001)
- Improve efficiency of some lookups and loops.

- Stop generating spurious feed.xml files all over the
hierarchy.
2019-12-05 16:08:10 -08:00
Martin Taillefer 6b877c9641
Improve the "latest releaae" banner. (#5999)
The banner now points to the current release's announcement page, which is really
the 'dashboard' for a new release, and has all the right links for the user.
2019-12-05 15:06:58 -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 c863bea599
Content changes to prepare to switch to the new Hugo. (#5993)
These fix problems encountered when switching to the new Hugo which has
a completely different markdown engine. I went through diffs of the generated
HTML and made required adjustments.
2019-12-05 12:44:01 -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 138d604676
Leverage new deacription strings on the security bulletin page. (#5982)
Fixes #5902.
2019-12-05 11:40:56 -08:00
Martin Taillefer 779a6754b3
Delete a useless shortcode. (#5983) 2019-12-04 15:02:24 -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
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
Martin Taillefer 74266dbb6b
Fix bug in the change log code that could lead to lint errors. (#5924) 2019-11-28 16:32:48 -08:00
Martin Taillefer 1480cacce7
Don't link to language-specific content from preliminary.istio.io to istio.io. (#5900) 2019-11-27 12:56:51 -08:00
Martin Taillefer dbed6f0eba
Add a web site change log page. (#5861) 2019-11-27 10:31:46 -08:00
Martin Taillefer 6e44017067
Fix bug causing the breadcrumbs to be duplicated when building the site locally. (#5859) 2019-11-25 13:23:26 -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
chentanjun f24e8d41f5 add zh in /zh、update lintcheck ci、fix conflicts (#5823) 2019-11-24 21:47:38 -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 9a12bd4e2f Add tooltip when hovering over links in section index pages. (#5807)
You now get a tooltip with author name, publication date, and resding
time when you hover over a link to a page within a section index.
2019-11-20 08:18:47 -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
Martin Taillefer 6e6eb6d031
Reorganize the news section. (#5740) 2019-11-16 19:25:54 -08:00
Martin Taillefer f631e0ca26
Fix problems with the glossary page. (#5758)
- Remove some stray characters at the top of the page.

- Fix scrolling behavior such that the selected letter stays on the
screen. This broke due to a bug fix on the istioctl page which had
an unexpected side effect,

- Remove extraneous alias that could lead to infinite redirect loops.
2019-11-16 12:18:00 -08:00
mtail 491031436f Reenable the language switch button for the preliminary site. 2019-11-16 07:07:56 -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
Martin Taillefer 48c8a28968
Prepare for 1.5. (#5689) 2019-11-14 13:01:31 -08:00
Martin Taillefer 77a6535313
Add redirect for download scripts. (#5687) 2019-11-14 10:50:09 -08:00
Frank Budinsky f5ce9feb70
Consolidate getting started instructions (#5642)
* Consolidate getting started instructions

* review comments

* fix broken links

* add istioctl link

* Fix spelling

* more broken links

* one more
2019-11-12 23:04:33 -05:00
Martin Taillefer 41df638ddc
Fix another bug blocking the Chinese translation work. (#5316) 2019-11-01 12:21:52 -07:00
Martin Taillefer 2edd60c0e4
Fix broken link in Chinese translations. (#5312) 2019-10-31 20:29:18 -07:00
Frank Budinsky f220f655a7 Deprecate helm install (#5270)
* Deprecate helm install

* fix lint

* address review comments

* correction
2019-10-29 06:37:34 -07:00
Martin Taillefer c2d1a234c3 Experiment with improved istioctl TOC layout. (#5274) 2019-10-28 19:19:34 -07:00
Martin Taillefer e8f8b4feb8
Improve snippet logic. (#5205)
- Support snippets that specify the body syntax and output
syntax of the snippet.

- Snippets with bash syntax triggered an incorrect error message.

- No error message was produced for a misnamed snippet

- Convert a security task to use snippets to populate its
many preformatted blocks.
2019-10-20 16:27:51 -07:00
Martin Taillefer b1e6f32a89 Fix breadcrumb studdering. (#5182) 2019-10-17 14:48:54 -07:00