Commit Graph

33 Commits

Author SHA1 Message Date
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 23b47d9983
Prepare for new generated reference content. (#889)
- Stop using the prism functionality for syntax highlighting since
it doesn't handle embedded links in <pre> blocks, which prevents
cross-linking to type names properly. We now roll our own PRE block
handling.

- Stop drawing a box around inline code elements which substantially improves
the visuals, especially in tables.

- Improve appearance of tables to be a bit cleaner.
2018-01-29 06:44:07 -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 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 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 0ba1adcfbc
Revamp the FAQ page. (#733)
- The FAQ page now has categories to make the page more scalable.

- Removed the FAQ pages that were added a little while ago and integrate
their content into the main site FAQ page.

- Stop computing sitemap.xml since there's a Jekyll plugin that does that
for us.
2017-11-24 20:32:09 -08:00
Laurent Demailly 34a4e683d5
Setup the html check in circleci (#719)
* Setup the html check in circleci

as jenkins is broken I've setup the rake test in circle ci

it's super fast thanks to caching the bundle install results
2017-11-17 21:06:44 -08:00
Shriram Rajagopalan 391388294c samples->guides (#501)
* samples->guides

* more renames

* egress rule placeholder
2017-09-22 16:12:20 -04:00
Laurent Demailly cb784195dc Simplify and make reproducible the website setup (#491)
* Simplify and make reproducible the website setup

We still need to make an image so it doesn’t take forever but at least
this is reproducible and working

* Fix for liquid exception

Liquid Exceptions: No repo name found. Specify using PAGES_REPO_NWO
environment variables

* added info about faster subsequent starts by reusing the image

* typo
2017-09-21 18:35:25 -07:00
Martin Taillefer 103225cd41 Switch site to using normal font weight throughout for better readability.
Also, turn off one of the HTML compression options. It went a bit too far and caused
rendering to be altered in some pages.
2017-05-26 08:33:37 -07:00
Martin Taillefer af1425911e A couple site fixes.
- Enable compression options to shrink our HTML file sizes. I didn't realize the
compressor had options when I added it a few weeks ago. Tweaking the options
lets us get rid of more spaces, comments, and sundry other things.

- Fix font weight of all table content on the site. Whereas normal page content
has a weight of 300, table content was at 400 making it all look a little bolded.
Now it's all 300.
2017-05-26 07:00:03 -07:00
Laurent Demailly 784ec4fdd4 Fixing site errors, and ignore repos/*.{html,md} for generation (#300)
Fixes #298
Turns out most of the errors were from repos/
2017-05-22 11:28:13 -07:00
Martin Taillefer 8391534f27 Deal with yet another GitHub Pages issue. 2017-05-20 14:51:18 -07:00
Martin Taillefer 5350ba49fc A few format fixes.
- Made the PRE block Copy button be on a solid blue background to stand out more and
avoid looking bad when it overlaps text from the PRE block.

- Trim the margin around the right-hand TOC. It's now slimmer and even around all edges.

- Disable the Jekyll syntax highlighter since we're now using PrismJS for that instead.
2017-05-20 14:45:20 -07:00
Martin Taillefer 8a0c1c6402 Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
Martin Taillefer 0e52a7af34 Replace Jekyll's syntax highlighter with Prism. It handles YAML much better.
Prism also includes its own Copy to clipboard functionality, so remove our home
grown version.
2017-05-17 21:54:47 -07:00
Martin Taillefer bc3b899ccc Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
Martin Taillefer 065e7a5c71 Move site content into the src directory.
This clearly separates site content from other repo state.
2017-05-15 19:22:30 -07:00
Martin Taillefer cbdce1472b Enable syntax highlighting for PRE blocks. 2017-05-13 10:39:50 -07:00
Martin Taillefer 7732c4ff75 Get the blog functionality in reasonable shape. 2017-05-12 06:53:46 -07:00
Martin Taillefer 5ed6ca9104 Move glossary words to the same plan as FAQ entries. 2017-05-10 05:36:57 -07:00
Martin Taillefer bcbf2106de Rejigger how FAQ entries are specified to make things easier to manipulate.
This change will allow nice FAQ-specific UI to be built fairly easily.
2017-05-09 15:43:15 -07:00
Martin Taillefer 6d46b7cf1d A few minor corrections. 2017-04-28 22:57:53 -07:00
Martin Taillefer c6ad2fca22 New nav tree model.
The directory structure of the input web site now controls directory the layout of the
doc hierarchy. This simplifies authoring documents and enriches the UI we generate.

This also fixes the broken link problem with the GitHub staging sites. Most links work
now.

Our sitemap.xml now contains all that it should, and excludes stuff that it shouldn't contain.
2017-04-28 06:18:38 -07:00
Jason Young b45f1b4485 Auto-generate reference documentation for istioctl. (#67)
* wip - auto-generate istioctl reference

* address review comments
2017-04-27 10:31:58 -07:00
Martin Taillefer d952907819 Fix another broken link.
Also, add build date to page footer.
2017-04-22 21:49:43 -07:00
Dave f2ee37bc12 New doc nav (#47)
Automate doc nav bar generation.
2017-04-21 21:46:12 -07:00
Shriram Rajagopalan c1db629d57 remove base url 2017-03-30 18:04:13 -04:00
Shriram Rajagopalan 0a31c5ed6f fixing root config 2017-03-30 17:58:15 -04:00
Shriram Rajagopalan 90e06a7830 initial commit of webpage based on grpc.io 2017-03-30 17:48:18 -04:00
Shriram Rajagopalan 643da0822b Set theme jekyll-theme-cayman 2017-03-15 13:06:01 -04:00