Commit Graph

190 Commits

Author SHA1 Message Date
mtail 5694543d2d Fix menu glitch 2019-06-19 06:45:36 -07:00
mtail d5013d3cd3 Fixes for the archive site. 2019-06-19 05:41:46 -07:00
mtail 099a91ebdd Simplified menu. 2019-06-19 05:00:25 -07:00
mtail df818f5f9b Finally pin down why an error emerged a while ago when building the site. 2019-06-14 20:50:34 -07:00
mtail 94122c6672 Forgot to update the redirect. 2019-05-12 20:02:37 -07:00
mtail 8289d588ed Cleanup redirects 2019-05-10 09:43:14 -07:00
Rigs Caballero e2be3ddf16 Move FAQ to be a top level section. (#4104)
Signed-off-by: rcaballeromx <grca@google.com>
2019-05-07 12:36:02 -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 469667b184
Site improvements (#4049)
- Add missing ARIA annotations on the See Also entry in the right-hand TOC

- Add missing ARIA annotations on the FAQ pages, and switch from a UL to an OL
list for the questions in order to get rid of the bullets.
2019-04-25 20:49:50 -07:00
mtail 24d972fd7a Next batch of archive-related updates. 2019-04-25 19:52:00 -07:00
Martin Taillefer 7e6a81bddc
Site improvements (#4048)
- Remove unnecessary ratio= attributes used with the image shortcode

- Make it so the gloss shortcode doesn't depend on the location of the glossary
within the content tree.

- Make it so the image shortcode understands languages. It will now look in the current
language's content tree, and then callback to the English tree if not found.

- Leverage the above to simplify the Chinese content and remove many absolute references from the
Chinese content to the English content.
2019-04-25 17:20:14 -07:00
mtail 3526c5612c Another change for archive mode. 2019-04-25 14:24:43 -07:00
Martin Taillefer 5ca5a0bfc4
Tune the archive_landing mode. (#4045) 2019-04-25 13:47:30 -07:00
Martin Taillefer 93ee2d86f0
Site improvements (#4043)
- A few small additions that make it possible to build archive.istio.io
directly from here, instead of having a dedicated set of hacks in
the admin-sites repo.
2019-04-25 12:18:14 -07:00
Martin Taillefer 8d5c03b060
Add support to build archive.istio.io's landing page. (#4036) 2019-04-24 16:07:51 -07:00
Martin Taillefer 6487e2f399
Simplify release tracking. (#4018) 2019-04-22 20:32:10 -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
Martin Taillefer 22f520809f
Use server-side redirects instead of alias files for better experience. (#3799) 2019-03-20 09:38:18 -07:00
mtail 3f6e52e399 Site improvements
- Darken the text color of the selected tab in a tab set.

- Remove extra bottom border line in collapsed sidebar panels.

- Cleaned up accessibility annotations for the sidebar.
2019-03-20 07:28:46 -07:00
mtail 78b8cb3e29 Fix a couple bugs when the site is switched to release mode. 2019-03-19 06:21:00 -07:00
Martin Taillefer 2258d0b03b
Improve text blocks. (#3727)
- Add tests for the various text block features.

- Combine text_file and text_dynamic into text_import

- Add support for snippet extraction for text downloaded from a URL

- Add support for formatting output blocks in a different style for
content downloaded from a URL

- Report some errors when unable to fetch content from a URL.

- Fixed a few small bugs along the way.
2019-03-18 06:31:26 -07:00
Martin Taillefer 69830194de
Finish accessibility support in tab sets. (#3720) 2019-03-16 06:55:45 -07:00
Martin Taillefer 2a5108806b
Site improvements. (#3706)
- Added a test suite to test out the different compositions of
site features.

- Substantially improve the composability of site features
(callouts, tabs, text blocks, boilerplates, lists). You can
now more confidentally mix & match these in any combination
and have a pretty good chance it'll render correctly.
2019-03-15 09:53:58 -07:00
mtail 5c1c9ae630 Revert "Site improvements (#3696)"
This reverts commit e1ce0c36
2019-03-14 19:59:48 -07:00
Martin Taillefer e1ce0c3633 Site improvements (#3696)
- Add a test suite for various compositions of site features.

- Substantially improve composition of various site features to eliminate bad
interactions. It's not perfect yet, but it's much better. The one thing still
broken is "a text block inside a warning in a list in a tab". There's still
something funny going on there, but I have some ideas for later.

- Added a new linter check to detect misuse of https://preliminary.istio.io in docs,
and fixed one offending instance.
2019-03-14 17:20:38 -07:00
Martin Taillefer e76ecb4154
1.1 Release notes (#3558)
Note done yet, but need to update the place holder...
2019-03-13 22:30:31 -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
Martin Taillefer 0a07eed302
Fix a few bugs in the boilerplate shortcode. (#3652) 2019-03-12 09:56:52 -07:00
Martin Taillefer 1e075ef7cd
Fix broken links (#3636)
- We haven't been checking external links for months now due to a script error
when someone added an option that didn't work as expected. I'm fixing a bunch
of resulting broken links. I can't turn on the link checker yet since there are
some bad links in reference docs which I have to address first.

- Add a bunch of links to yaml files in our code examples using the @@ syntax.
2019-03-11 22:05:18 -07:00
mtail 90eba8afec Fix search URL. 2019-03-11 14:56:08 -07:00
Martin Taillefer fc058032b1
Fix broken callouts. (#3612) 2019-03-10 11:53:09 -07:00
Martin Taillefer b67e5126b4
Fix tab problem. (#3614) 2019-03-10 10:55:57 -07:00
Martin Taillefer 74e7ef56b1
Finish keyboard navigation for header & menu. (#3607) 2019-03-10 07:57:42 -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
Martin Taillefer 4d20265c5c
Bunch of site improvements. (#3601)
- Work on keyboard navigation support. It's not totally done yet,
but its a lot better than it's ever been.

- Fix incorrect font use for code blocks. They were coming out way
smaller than intended.

- Improve the HTML in a variety of ways to make it better for
screen readers.
2019-03-09 07:31:29 -08:00
mtail 6c91598a01 Fix handling of next {{< text >}} inside of an indented {{< tip >}}. 2019-03-08 15:29:17 -08:00
Dan Ciruli 88113f45cb Reorganized Community page, added calendar, clarified Slack (#3560)
* Reorganized Community page, added calendar, clarified Slack

* Spelling fix.

* Reordered icons

* Fixed linter errors

* Fixed linter errors

* Fixed linter errors
2019-03-07 15:34:35 -08:00
mtail c4ea43e386 Tweak the menu display.
Use animation to bring the menu up, and support the ESC
key to hide it.
2019-03-06 18:18:26 -08:00
Martin Taillefer 360fcb1713
Add support for an advisory string. (#3518) 2019-03-05 14:50:19 -08:00
Martin Taillefer d093f22d0c
Bunch of structural improvements. (#3488)
- Make better use of html semantic elements to help
search & screen readers.

- Add or improve ARIA annotations for accessibility

- Improve print-time formatting.
2019-03-04 07:26:48 -08:00
Martin Taillefer e9e69d0c71
A few formatting fixes. (#3473)
- Reshuffle the floating icons to put the most common thing on top

- In the sidebar, if a card has only top-level items (no subsections)
then move the text to the left to soak up the unused room normally
reserved for the chevron. This improves the look for blog-related cards

- Put a wee bit more spacing between the links in the header on mobile
to make 'em easier to hit with fat fingers.
2019-03-03 08:37:26 -08:00
Martin Taillefer 7bf371365e
Optimize all our SVG files. (#3468) 2019-03-03 08:14:50 -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 18ce618eda
Simplify sidebar logic. (#3463) 2019-03-02 14:45:30 -08:00
mtail 73f94a3601 Fixed URL typo. 2019-03-01 15:04:19 -08:00
Martin Taillefer 33193040a1
Open up Slack to the world. (#3457) 2019-03-01 15:02:21 -08:00
Martin Taillefer dd0ecdf9ab
Site improvements (#3430)
- Add linter support to detect internal links to aliases. Those are now flagged as
bad links so the source needs to be updated to point to the real destination,
avoiding the user a redirect.

- Fixed occurences of links to aliases.

- Now only load popper.js on pages that use popups in order to improve
load times.
2019-02-28 13:58:54 -08:00