Commit Graph

41 Commits

Author SHA1 Message Date
Martin Taillefer 8d8fd08399
Introduce support for building the site in "preliminary" mode. (#1052) 2018-03-05 11:05:26 -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
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 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 e20db6abf4
Update prism to latest rev. (#819)
- Regenerate prism code to get latest fixes.
- Add support for docker and perl files
- Fix several improperly formatted code blocks
2017-12-28 23:33:03 -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 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 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 3f4d22b776
Add a custom 404 page so we don't get the default GitHub one. (#732) 2017-11-23 09:51:41 -08: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
Martin Taillefer 8a0c1c6402 Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
Martin Taillefer 4d7f17a09c Spruce up our code blocks.
- Use different rendering style for code blocks.
- Define a default language so stuff always looks right.
- Add a bit more info to the writing-a-topic guide.
2017-05-18 07:08:36 -07:00
Martin Taillefer 98d642b164 Remove a few leftovers. 2017-05-17 22:05:01 -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 8912e072fc Get rid of the pencil and add instead an Edit this Page link in the footer. 2017-05-10 06:24:39 -07:00
Martin Taillefer aecae13d60 Continue improving styling. 2017-05-09 11:17:25 -07:00
Martin Taillefer 61af61b5d8 Fix a bunch of formatting on non-docs pages. 2017-05-09 09:59:15 -07:00
Dave d6f712fab8 New Homepage and top navigation (#128)
* WIP on homepage and new top menu structure. Need to rebase to upstream

* WIP on homepage and new top menu structure. Need to rebase to upstream

* force max height on homepage images
2017-05-08 17:23:12 -04:00
Martin Taillefer d4fe298cf8 Fix some formatting issues and get rid of some dead stuff. 2017-05-08 12:28:41 -07:00
Martin Taillefer bf58a12409 Update community page & footer. 2017-05-08 12:06:43 -07:00
Martin Taillefer 76fd47ac6c Fill in the bug page. 2017-05-08 11:04:18 -07:00
Martin Taillefer 292e7658d1 Add a troubleshooting page and a 'report a bug' page.
These pages are linked in and have the right collateral, they just
need actual useful content. Coming up next.
2017-05-06 07:57:52 -07:00
Martin Taillefer 1513251341 Make the new Copy button work on GitHub staging sites. 2017-05-04 11:42:52 -07:00
Martin Taillefer b80ce5abd0 Add a Copy button to our <pre> blocks. 2017-05-04 09:35:52 -07:00
Martin Taillefer 74a5c5854b Dave's changes to fix search-related formatting. 2017-05-01 21:48:27 -07:00
Martin Taillefer 984dc7f8fc Clean up a lot of CSS stuff we inherited... 2017-04-29 22:47:50 -07:00
Martin Taillefer 183e3b6b30 Add search functionality. 2017-04-29 11:07:05 -07:00
Martin Taillefer f75a74d3df Improve formatting for auto-generated index pages. 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
Martin Taillefer 291c0a80b5 Simplify FAQ and Glossary pages 2017-04-25 13:12:04 -07:00
Martin Taillefer 2219751a44 Auto-generate section index pages. (#61) 2017-04-25 11:10:43 -07:00
Martin Taillefer a6f70f0ab5 Add a glossary and contribution landing page. 2017-04-18 12:53:30 -07:00
Shriram Rajagopalan 90e06a7830 initial commit of webpage based on grpc.io 2017-03-30 17:48:18 -04:00