Commit Graph

93 Commits

Author SHA1 Message Date
mtail 08465ef74a Add a root-level favicon for use when clicking on images. 2019-03-01 09:17:12 -08:00
mtail bd2633c23f Enable CORS 2019-02-14 21:08:08 -08:00
Martin Taillefer e9112e7a65
More style cleanup. (#3230) 2019-02-11 21:07:03 -08:00
Martin Taillefer eefe51cdac Fix #1324 to the code block EOF logic. (#3229) 2019-02-11 13:23:23 -08:00
mtail 8a204d754e Fix behavior of <<EOF in the middle of a line in a text block. 2019-02-11 10:07:02 -08:00
mtail a84091c02c A few more layout fixes.
- Improve primary layout to deal with edge cases better.

- Make FAQ landing page use a masonry layout.
2019-02-11 09:44:26 -08:00
mtail e2aec3458e Improve the glossary popovers so they work better on mobile. 2019-02-10 20:36:25 -08:00
mtail 9ad3ad771c A few more fixes. 2019-02-10 19:12:13 -08:00
mtail efdae03b36 A few more fixes following the big cleanup. 2019-02-10 16:17:45 -08:00
mtail 6f7fa1445f A few layout tweaks following the big cleanup. 2019-02-10 07:52:43 -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
Martin Taillefer c32db038ed
Introduce support for glossary term highlighting. (#3211)
- You can now mark a word as being a glossary term. This will trigger special rendering inviting the
user to click on the item in order to get a popup window showing the glossary text for the term. This
is very nice when introducing a new term within a page.

- Updated our dependency  on Bootstrap and ClipboardJS to the latest versions.
2019-02-08 07:29:38 -08:00
Martin Taillefer 68bb3e5b4e
Fix hard-to-read color combination with table headers + code blocks. (#3207) 2019-02-07 10:05:25 -08:00
Martin Taillefer 2434af7761
Update reference docs. (#3204) 2019-02-06 20:39:46 -08:00
mtail 66b3dbee50 Quick CSS adjustments to the new warning/tip/idea callouts 2019-02-01 17:12:48 -08:00
Martin Taillefer dd782b3d12
Improve the looks of warnings, info blobs, and tips. (#3181) 2019-01-31 12:11:53 -08:00
Manish CHUGTU 27bc6ab0e3 Blog Content: Demystifying Istio's Sidecar Injection Model (#2984)
* Blog Content: Demystifying Istio's Sidecar Injection Model

* Update the Alt attribute to image
2019-01-31 11:17:36 -08:00
Martin Taillefer 842ebc088e
Remove stale references to Rocket Chat. (#3142)
Also, check in a cleaner version of the logo.
2019-01-25 11:35:05 -08:00
Martin Taillefer 4b22211317
Add breadcrumbs at the top of each content page. (#3093) 2019-01-16 09:46:52 -08:00
Martin Taillefer 4c17edcd56
Fix a few issues. (#3092)
- Fix formatting for the Subscribe link on blog pages. That got broken in some refactoring I did a while back.

- Remove a few *NOTE* and _NOTE_ instances and replace with the canonical icons

- Add a link to our community repo in the Getting Involved page.
2019-01-15 20:50:00 -08:00
Martin Taillefer 3e0b27838f
Fix incorrect favicon dimensions. (#3091) 2019-01-15 13:34:42 -08:00
Martin Taillefer d7c4eb33f5
Switch to discuss.istio.io (#3071) 2019-01-10 07:11:00 -08:00
Martin Taillefer 8fd070d4ca Fix CI failures. (#2989)
This includes updating to the latest reference docs from the 1.1 branches.
2018-12-17 15:05:38 -08:00
Martin Taillefer 777abf274a
Improve tab behavior. (#2923)
- Address rendering issue with text blocks nested in a tab that use
the magic @@ linking sequence.

- Made it so when selecting a tab in a particular tab set, other tabset
sharing the same cookie name on the current page will also switch to their
corresponding tab.
2018-11-27 07:25:15 -08:00
Andy Lai d478874e98 Remove static charts. (#2842)
Now that they are built along with daily releases and they can be found
in
https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/master-latest-daily/charts/ for master
or https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/release-1.1-latest-daily/charts/ for release-1.1.
2018-11-06 05:56:48 -08:00
Tim Swanson 2a82133d2d grab_charts.sh: Fix istio/cni repo location and helm repo add for istio/istio helm dependencies (#2827) 2018-11-01 07:16:20 -07:00
Martin Taillefer 32f569bdc7
Turn on Chinese support (#2817)
- Readds the language selection menu choices.

- Enable default language choice based on browser setting. This is used before the menu
forces a particular choice.
2018-10-30 07:21:14 -07:00
Martin Taillefer 9cbb0db783
Clearly indicate which version of k8s we support. (#2786) 2018-10-19 12:53:12 -07:00
Mark van Straten e146dbb97f Fix logo hover state rotation (#2781)
* Fix logo hover state rotation

The logo rotates upon hover but it was not centered correctly. This was caused
because no explicit height was defined for the logo container. By doing so
we now can have the transform use 50%,50% as the center point for smooth
rotations.

This change has been tested in Chrome Version 69.0.3497.100 (Official Build)

* Make the logo be actually circulair

The SVG radius did not account for the border of the circle
causing it to be chopped off at the edges. By subtracting
the border size from the radius (*2) we now have a perfect
looking circle.

This change has been tested in Chrome Version 69.0.3497.100 (Official Build)

* make build scss => css
2018-10-19 11:14:23 -07:00
Tim Swanson 158bfa1d05 Update grab_charts for istio-cni chart. (#2777)
* Update grab_charts for istio-cni chart.

* grab_charts: Fix helm package to upgrade
2018-10-17 09:44:04 -07:00
Martin Taillefer a2026aab5e
Clean up a bunch of loose ends (#2745) 2018-10-05 22:21:56 -07:00
mtail ecbdbd787f Fix logo rendering for partner components. 2018-10-05 11:59:25 -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
Martin Taillefer edfdf7d795
Site improvements. (#2663)
* Site improvements.

- For SVG images, authors no longer need to specify image ratios
(which is a constant source of errors)

- Move more icons into the new icons.svg file to further reduce
average page load times.

- Rationalize Istio logo file names.

- Improve underlining behavior for sidebar headers and the RSS feed
Subscribe link.

- Made the RSS feed subscribe link open in a new tab.

- Increase the constract ratio for some elements in dark mode
text blocks (namely, YAML field names)

- Reduce the "brightness" of the light bulb icon which helps it
not pop so much in dark mode.

- Optimize the fonts we load and the order we load them in so as to improve page load time and
reduce the initial render time.

* Sadly, embedding SVGs into the HTML results in duplicate element ids, which is invalid HTML :-(
2018-09-21 17:56:46 -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
Zadkiel d23fbe9488 Grab charts and create helm repository (#2616) 2018-09-15 07:45:20 -07:00
Martin Taillefer ab869ca88f
Fix compatibility issue with dynamic text and Firefox. (#2523) 2018-09-05 09:36:18 -07:00
mtail 69905f95da Fix rendering bug with the output section of some text blocks, 2018-09-02 08:53:42 -07:00
Martin Taillefer 815aaaa72e
Finish implementing tab support. (#2492)
- Support cookies. Tab setting are now remembered across page visits. Set it, and forget it.

- Fix problems with nested text blocks.
2018-09-01 08:59:39 -07:00
Martin Taillefer 99be6fd164
Add support for tabbed content. (#2484) 2018-08-31 08:13:21 -07:00
Martin Taillefer 2796aca4ac
Add download, diff, and docs links to release notes. (#2441) 2018-08-28 13:07:27 -07:00
Martin Taillefer 7c34e8aaa1
Add 'Customers' and 'Partners' pages (#2266) 2018-08-27 07:27:38 -07:00
Martin Taillefer 59fe531036
Formatting improvements for mobile. (#2397)
- Fix background color of text areas not being applied correctly for extra-wide blocks.

- Incressed padding around text areas in mobile to make selection easier.

- Removed the right-hand side indent of text areas and block quotas when in mobile.

- Reduced the left-hand side indent of block quotas on mobile.
2018-08-26 06:00:31 -07:00
mtail dc8076aba2 Fix overlapping sidenav button on mobile. 2018-08-25 07:17:07 -07:00
Martin Taillefer 5e29d61ff2
Bunch of site fixes & improvements. (#2306)
- Correct the use of OpenGraph annotations. I used the wrong attribute name, so the
annotations were never recognized.

- Added support for Twitter cards to our site, improving the experience of referencing
the site from Twitter posts.

- Added support for the twitter: front matter field for use in blog posts. Specifying this
front-matter entry will show the author's twitter address on the blog post, and will
add a Twitter card entry to the page noting the author's address.

- Renamed the page_icon front matter field to just icon to be consistent with other
entries.

- Made it so the subtitle front matter field can be used anywhere, not just on blog posts.

- Added a lint check to ensure subtitles don't end with a period.

- We now insert an "author" metadata entry whenever the attribution: front matter
field is used.
2018-08-19 11:51:03 -07:00
Martin Taillefer 894b0b6b5a
CSS fixes (#2229)
Improve long-standing hack that makes link anchors and a sticky nav header
work together. The improved hack deals correctly with varying font sizes,
removing the need for custom hackery for the FAQ and Glossary pages.

Fixes a slight rendering discrepency when printing pages.
2018-08-12 05:46:57 -07:00
Martin Taillefer 6ac9175b3a
Fix scroll offset when linking to a FAQ entry (#2208) 2018-08-10 13:58:03 -07:00
Martin Taillefer 5d6c5c1e5c
Refresh the glossary and attribute vocabulary based on current reality. (#2142) 2018-08-06 13:44:05 -07:00
mtail 06980e3b1f Fix accidental CSS change, leading to a missing border on TOCs. 2018-08-06 13:22:00 -07:00