Commit Graph

140 Commits

Author SHA1 Message Date
Martin Taillefer bc46b537f0
Fix mobile navigation issues. (#1118)
When on mobile, the left sidebar is hidden by default. To make navigation easier, we allow the user to browse
the site entirely through the various index sections which provide links to all articles. This wasn't working
for the About and Blog links at the top of the page since they send you to a direct page instead of to the
relevant navigation page. So...

- Made the About link point to the about section's index page.

- Each blog page now contains a link to the next and previous blog post.
2018-03-29 11:56:31 -07:00
Martin Taillefer 33bdfdc942
Fix a few bugs and add a feature. (#1111)
- Link injection for document headers has been broken for a while due to my
misunderstanding of the "for in" syntax in JavaScript. This now works as expected.

- Same problem also prevented the feature that causes every link to outside of istio.io
to be opened in a separate window. This now works as intended.

- Made the gear dropdown menu be right-aligned such that it doesn't go off-screen on
portrait mode tablets.

- Stop importing Popper.js since it's only needed for dropdown menus that aren't in the
nav bar. Ours is in a nav bar...

- Added link injection for <dt> terms, which makes it easy to create links to individual glossary entries.
2018-03-28 09:00:14 -07:00
Martin Taillefer e3616beb46
Fix bug that was messing up all the index pages in the site. (#1100)
Fix newly broken k8s link along the way...
2018-03-27 11:01:08 -07:00
Martin Taillefer bdaadeefd3
Improve sorting algorithm to use document title and not just document URL. (#1089)
This makes it so documents in the same directory get sorted by document title instead of
by the URL name (unless they have an order: directive, which takes precedence over alpha
order)
2018-03-23 07:12:32 -07:00
Martin Taillefer 172c7b4f38
A few more link fixes (#1081)
* Fix handling of legacy community links.

* Add missing .html extension on search page reference.
2018-03-19 12:46:59 -07:00
Martin Taillefer 11324613a8
Add missing .html suffix on some links. (#1080) 2018-03-19 12:20:27 -07:00
Martin Taillefer 36368b9bbf
Fix links. (#1073)
- Add a / to links pointing to directories

- Switch a bunch of links from http: to https:
2018-03-14 19:49:14 -07:00
Martin Taillefer d0bdd6cb84 Add support for dynamically inserting file content into the site. (#1069)
This is useful for pulling in content straight from GitHub on the fly,
rather than cut & pasting it into the site.
2018-03-12 10:32:34 -07:00
Martin Taillefer 50e33d872d
Eliminate flickering on page load. (#1068)
- Fix another issue with my arch-nemesis, the Copy button. My last fix for Copy button issues
resulted in screen flickering upon page loading. This is now fixed.

- Pin the size of the gear and magnifying glass icons in the header to avoid flicker as the
fonts for those renders a few ms too late and lead to flickering on page load.

- Cleaned up the site's JavaScript for clarity, and include minimized versions in the
site for improved perf.
2018-03-12 09:46:07 -07:00
Martin Taillefer 933b635553
Add a bunch of redirects for old pages (#1066)
The Google Crawl Engine reported a bunch of broken links pointing into istio.io.
This adds redirects so that these links work.

Add a hack such that the gear menu logic that lets you time travel through versions
of the site will insist that if a page existed in a given version, it must also exist
in subsequent versions. This will ensure we always create redirects when we move site
content, and thus avoid breaking links into the site. If a page is moved or removed,
this will lead to rake test errors when checking the content of archive.istio.io.
2018-03-09 09:37:11 -08:00
Martin Taillefer 8d8fd08399
Introduce support for building the site in "preliminary" mode. (#1052) 2018-03-05 11:05:26 -08:00
Martin Taillefer 6b2cb6c271
Simplify version handling. (#1033) 2018-02-25 10:47:06 -08:00
Martin Taillefer d330ae1f0c
A few improvements (#1017)
- We now automatically detect when a TOC has no entries in it and omit the spacing on the right side
for the TOC. This improves the formatting of a few pages on the site.

- Make an another attempt at preventing the dropdown arrow from wrapping under the cog on smaller screens.
This new solution seems to work across several browsers I've tried.

- Remove an extraneous header in one page.
2018-02-20 08:07:08 -08:00
Martin Taillefer e42f7ed9ba
New format for FAQ, allowing for deep links to answers and making it easier to browse. (#1013) 2018-02-19 05:31:16 -08:00
Martin Taillefer fd5d4a2cb2
A few fixes (#1007)
- Add support for showing the archive date in the footer.

- Fix invalid HTML in the header which improves the responsive layout. In particular, the down arrow
for the dropdown menu tends to stay on the same line as the cog more than before.

- Tone down the blue color of links so it's not so intense. There's still good contrast
between links and normal text.

- Remove broken og:image meta tag from each page. It used to point to a logo.png
file, which we deleted months ago. Turns out it's not intended for web site logos
anyway.

- Add og:url and og:site_name per best practices.

- Remove one more stray border on the community page. I thought I got rid of 'em last time,
but I missed one.
2018-02-18 12:13:35 -08:00
Martin Taillefer 2d8224628b Link improvements (#980)
- When you hover over an HTML header, we now pop up a link icon holding a link to the
header. Useful to support deep linking to a header.

- When you click on a link that points outside of istio.io, the target is now
opened in a separate tab.

- Improved the coloring of links in the light theme so they're more visible. I was almost not able to
see the difference between normal text and links, now the color delta is greater. Additionally, when
you hover on a link, we now draw an underline.

- Change the color of H1 headers to be black instead of being the same color
as links. They're not links, they shouldn't be that color.
2018-02-13 13:31:36 -05:00
Martin Taillefer 85e5f4c98f
Add "smart" version switching, where we try to switch you to the same general area of the web site across (#968)
versions.

Also, upgrade to FontAwesome 5.0
2018-02-12 07:04:53 -08:00
Martin Taillefer fcff7b5505
Add support for a dark color theme. (#966)
* Add support for a dark color themes.

- The version dropdown is now replaced with a gear dropdown. This dropdown lets you
pick the version of the site to look at, and lets you pick the light or dark color
themes for the site.

- Fixed a rendering glitch on the community page where a stray right and bottom border
was rendered.
2018-02-11 18:10:12 -08:00
Martin Taillefer 08f924f85b
Add support for archiving istio.io contents. (#833) 2018-02-06 21:02:08 -08:00
Vadim Eisenberg 535f68b81d Blog Post about HTTPS Egress Traffic in Istio (#881)
* added initial version of Egress HTTPS blog, including adding blog section for 2018

* replace dash with comma

* that has Istio installed -> with Istio installed

* route rule -> Route Rule

* app -> application

* restructured error propagation

* could have gone wrong -> might have gone wrong

* which -> that

* the same -> the previous

* moved "now" after "accessing"

* rephrased "the previous error..."

* rewrote the passage about dynamically defined egress rules, marked some terms in bold

* rephrased "written or configured differently"

* IP -> destination IP

* removed "to secure Egress Rules"

* "to add applying" -> "to enable applying"

* rephrased the passage about no tracing, telemetry, mixer checks

* checkss -> checks, tracing/telemetry -> tracing, telemetry

* logging -> tracing

* rephrased the conclusion section

* e.g -> for example

* added "currently" to "Istio cannot perform filtering"

* allow Istio perform -> allow Istio to perform

* "true" string -> _"true"_

* "Egress Rule" is, it enables -> "Egress Rules" are, they enable, just -> only

* rewrote the sentence about the malicious attack

* ... Mixer checks -> ... Mixer checks for the egress traffic

* updated the date to be 26-th of January

* App -> Application

* cluster -> Kubernetes cluster

* added graceful service degradation

* BookInfo -> Bookinfo

* BookInfo -> Bookinfo in a second place

* Book Details displayed without error -> Book Details displayed correctly

* The issues -> Issues

* no Mixer Checks -> No Mixer Checks in section's title

* on the egress traffic -> for the egress traffic

* on the egress traffic -> for the egress traffic, in the second place

* we achieve -> we have

* added Envoy proxy in parenthesis when talking about Istio sidecar proxy

* completed the https from the app diagram, inside/outside of Istio

* added a figure with HTTPS traffic, from inside/outside of Istio

* added a paragraph about the HTTPS traffic figure

* added a paragraph about the port 443

* added "differently," after configured

* replaced places of "from inside" and "from outside"

since "from outside" appears first on the diagram

* container spec -> the `container` spec

* fixed two links

* moved "to external services" after "traffic"

* the Istio Service Mesh -> an Istio Service Mesh

* traffic between the proxy -> traffic between the pod

* the Istio Service Mesh -> an Istio Service Mesh

* has/have to -> must

* the microservice code -> the code of the microservices

* inside/outside of -> inside/outside

* outside of -> outside (removed of)

* Egress Requests -> egress requests

* added derived from the URL's schema

* URL -> URI, added (https://)

* remove .DS_Store, submitted accidentially

* to outside the cluster -> to destinations outside the cluster

* made "block all the traffic to destinations outside the cluster"

* extended the example about the wildcard match of Egress Rules

www.googleapis.com and fcm.googleapis.com

* replaced "now" with "after deleting the Egress Rule"

* fixed calculating the latest blog, thanks to Martin Teillefer

* removed using istio initializer, since starting from 0.5.0 it requires Kubernetes 1.9

* added mentioning of the Istio version for this blog post

* updated the date to be 31 January 2018

* added mentioning that the example work with or without mTLS

* added a sub-section on a relation to Istio Mutual TLS

* Added: The TLS origination for the external services will work, whether the Istio mutual TLS is enabled or not.

* fixed a link to Egress Rules reference

* added a migration use cases for external services
2018-01-31 09:58:18 -05:00
Laurent Demailly 14ed1e8608
extend copyright to 2018 (#843)
* extend copyright to 2018

* Update LICENSE

* just 2018
2018-01-06 12:28:55 -08:00
Martin Taillefer aab7fa27a8
Major update of the web site's infrastructure. (#826)
Four major themes to this work:

* Performance. This new site is fast. It loads considerably faster, especially on mobile.
Every pixel is drawn exactly once. Clicking around doesn't result in things jiggling everywhere.

* Navigation. I wanted to make it easier to get around the site, especially on mobile. To that end, we now have:

  - Sticky navigation elements. The top nav bar, the left sidebar and the right TOC are now sticky and remain
on screen even as page content is scrolled.

  - Tabs in the Docs section have been removed and integrated as accordion items in the left sidebar.

* Layout. I moved a bit of content around to make it easier to find and give us some room to grow:

  - The Help page is now replaced with a full Help section. This provides a home for the FAQ, glossary,
bug reporting, and troubleshooting pages.

  - The About page is now replaced with a full About section. This provides a home for the release notes, roadmap, upcoming "in the news" section, etc.

* Design. I tried to improve consistency across the site and provide a slightly lighter feel by minimizing the impact of some design elements. Specifics:

  - Font sizes are now consistent across the site.

  - The site does a much better job at adjusting to different screen sizes which makes the mobile experience better.

  - Accessibility is improved by adding many attributes for screen readers, and by ensuring the site scales properly based on user-selected fonts.
2018-01-03 08:16:28 -08:00
Martin Taillefer e9d7e7654a
Prep work for some upcoming changes. (#822)
- Slightly update the section index files. This is to make some upcoming
future work easier. These changes have no practical effect on the current
site.

- Delete a few extraneous files I noticed.
2017-12-29 07:48:02 -08:00
Martin Taillefer a9f92fa274
Switch uses of <figure> to {% include figure.html %} (#818)
figure.html now contains a bit of magic to substantially improve
the load time and visual appearance of pages that contain imagery.
The magic pre-allocates space on the page of the exact size needed
for the image, even though the image isn't loaded yet. The result
is that the page can be layed out once, layout doesn't need to
happen again for each image that gets loaded.
2017-12-28 20:18:11 -08:00
Martin Taillefer 7a809a2bb5
Simplify how FAQ categories and blog posts are hsndled. (#805)
- The latest_blog_post variable is now computed instead of
needing to be set explicitly when a new post is added.

- FAQ categories are now specified in a much denser format directly
in the FAQ markdown rather than with a bunch of files.
2017-12-17 14:54:33 -08:00
Martin Taillefer add92253df
A batch of small site improvements.
- We no longer have a redirect from the top-nav Blog link to the
current latest blog post, which looks nicer.

- Added a link to our team drive to the community page.

- Upgrade a few icons from PNG to SVG

- Reintroduce content compression which I accidentally left turned off previously.

- Reintroduce the RSS icon on blog posts which disappeared in last week's great blog
page redesign.

- Update doc contribution guide to cover blog posts and setup pages.

- Add templates for setup topics and blog posts.

- Compress our SVG files for faster loading.
2017-12-17 11:38:29 -08:00
Martin Taillefer 08326a6422
Fix underlines not sticking on About, Help, and Community links in the top nav. (#788) 2017-12-11 17:15:06 -08:00
Martin Taillefer b7787ca1c1
Revamp blog page look & feel.
- The blog page now has a sidebar showing all blog posts.

- Blog entries now cleanly display the publication date, attribution, and subtitle

- Sidebar entries, both for blog posts and for docs now show tooltips when hovering the mouse over the entry.
2017-12-11 06:58:38 -08:00
Martin Taillefer cdce9159d9
Move things around so we get a sidebar on the doc welcome page. (#766)
This finally gives a home to oddball things like the FAQ, Glossary,
Release notes, and Contributing to the Docs stuff.

Took the opportunity to do a bit of tidying up in the directory structure
of the site by removing useless subdirectories.
2017-12-06 10:08:41 -08:00
Martin Taillefer 335a53e100
Revert Istio font. (#759) 2017-12-05 09:54:45 -08:00
Martin Taillefer 05ae202696
Updated artwork for home page + cleaned up logo + new logo label font (#757) 2017-12-04 19:22:02 -08:00
Martin Taillefer 9aa8f5b947
Site cleanup
- Remove unreferenced files

- Stop using sitemap_exclude in front matter since nothing is looking at this.

- Minify the javascript files for faster loading.

- Cleanup and add favicons

- Fill some of the app manifests for Android and Windows to integrate more nicely.

- Address a few Lighthouse auditing issues.
2017-11-26 13:37:14 -08:00
Martin Taillefer 2a181a22cd
Add a help page (#738)
- istio.io/help now brings up a help page which groups together all the things users can do when
they need help.

- Replaced the FAQ link in the top right of each page with a Help link instead

- Did a bit of cleanup in the page footer content & naming

- Whenever there isn't much page content, the page footer is now glued to the bottom of the visible browser page instead
of floating like a fool in the middle of the page/screen.

- Fix clickable region in new FAQ page. Instead of just being able to click on the words, you can now click
on the whole heading area to expand it.
2017-11-26 05:57:32 -08:00
Martin Taillefer 15b128b65b
Revamp the glossary page. (#734)
- Better aesthetics.

- Can now navigate by clicking on a letter selector.

- Each word can now be linked to directly (although discoverability
could be better)

- The glossary is now referenced from the header.

- You can now find the glossary at istio.io/glossary
2017-11-24 22:48:01 -08:00
Martin Taillefer 537138c2bd
Update a few links following governance doc migration to the community repo. (#715) 2017-11-15 12:02:28 -08:00
Shriram Rajagopalan 391388294c samples->guides (#501)
* samples->guides

* more renames

* egress rule placeholder
2017-09-22 16:12:20 -04:00
Shriram Rajagopalan bba05465c6 New samples (#474)
* New samples

* missing file

* fixes

* nit

* fix

* nits
2017-09-20 18:11:54 -04:00
Shriram Rajagopalan 74de3fb53b Setup tab (#465)
* consul installation

* fixes

* nit

* Setup tab

* address feedback, remove metrics from install

* moving docs

* fix links

* nits

* adding bloat

* fixes
2017-09-18 20:38:52 -04:00
mtail fd3269bd8e Add more cross-references between sections.
- Cross-link between bugs/community/faq/troubleshooting pages.

- Add pointers to the working groups to the community page & footer.
2017-07-22 08:26:07 -07:00
mtail c9e672d6cc Few cosmetic updates. 2017-07-22 05:55:59 -07:00
Martin Taillefer aeef9d0723 Stop referencing {dir}/index.html and only reference {dir}/ instead. 2017-07-21 04:37:32 -07:00
Laurent Demailly a98e4b522c Point to 0.1 archive of docs and site version fixes (#406)
* Point to 0.1 archive of docs and site version fixes

Point to 0.1 archive of docs and site version fixes:
site.data.istio.version was used where it should be hardcoded to 0.1
(like in “our first release was …”) and vice versa (like in the footer)

There isn’t really a navigation (as I don’t know how to do that) but at
least the docs/welcome page points to 0.1
2017-07-11 17:35:29 -07:00
mandarjog 61d0bce7df versioned docs: add build scripts to be driven thru jenkins (#368)
* add build scripts to be driven thru jenkins

* uniformly handle site.baseurl

* data-src should use full paths for now

* update build with version tag

* Add explanation re: CORS

* remove gitmodules
2017-06-12 09:23:11 -07:00
Laurent Demailly 63869031ae remove stackoverflow from footer (#371)
most questions on stackoverflow are support questions better suited for the mailing list or the issues

(people will still be able to reach so from community/)
2017-06-09 10:43:54 -07:00
Martin Taillefer bd3766fe18 Change GitHub links, per Shriram. 2017-05-24 08:58:55 -07:00
ryangrahamnc 9153574815 made header logo only disappear on landing page (#316) 2017-05-23 11:17:30 -07:00
Laurent Demailly 4a394f30dc Twiiter -> Twitter
typo fix
2017-05-22 13:26:57 -07:00
Martin Taillefer bb535461d4 Improve appearance of pages during load time. 2017-05-22 06:11:05 -07:00
Martin Taillefer 5dcee28bac Various clean up items. 2017-05-21 08:55:45 -07:00
Martin Taillefer d464c77b5b A few formatting fixes.
- The welcome screen now uses the same layout as all the non-docs pages so it looks more
'normal'

- The TOC's right margin has been shrunk to be consistent with the left margin.

- The community page now uses the color Twitter and GitHub images.

- Move a few things around to maintain order in the web site support stuff.
2017-05-21 00:27:20 -07:00