Commit Graph

13 Commits

Author SHA1 Message Date
Martin Taillefer 9f3e980147
Add support for an auto-generated See Also section on every page. (#1364)
- We now automatically generate a See Also section on pages when possible.
The links are determined by a reverse index based on the keywords
assigned to each page in its front-matter.

- Do a pass to assign keywords to all our pages to populate the See Also
links.

- Leverage the keywords in the front-matter to generate a keyword metadata entry for each
generated page.
2018-06-11 15:07:32 -07:00
mtail 7cc88d6306 Localize the header & footer. 2018-06-11 08:31:34 -07:00
mtail fb4fa9f307 Get some basic stuff setup to enable translation without crashing Hugo... 2018-06-09 21:07:08 -07:00
Martin Taillefer 1dcd301bd6
Introduce better linking support to github.com/istio/istio (#1443)
- Within a code block, you can now surround a relative file path with @@. This will
cause the path to be rendered as a link to raw.githubusercontent.com/istio/istio/<path>.
This lets the user click on the link to see the content of the file, which is mighty
handy.

- Updated all code blocks to take advantage of the above.

- Introduce support for {{< branch_name >}} which returns the source code branch
name associated with the current doc site.

- Use {{< branch_name >}} in all our references to content in istio/istio on GitHub. This thus
pins our references to the correct version of the content in GitHub. This prevents errors from
gradually appearing in our doc set as content in GitHub starts to diverge from the expectation
in the site content.
2018-06-06 08:21:18 -07:00
Hong Zhiguo ca65403732 fix wrong key of DestnationRule from name to host (#1445) 2018-06-05 09:34:56 -04:00
mtail fccf3688df Remove trailing space.
(cherry picked from commit e022dbc)
2018-06-02 07:58:40 -07:00
mtail d8619cb42f Fix bad formatting.
(cherry picked from commit 0c00b72)
2018-06-02 07:58:37 -07:00
mtail da42e92238 Turn image URls into absolute references so they work consistently with page URLS with or without a trailing / 2018-05-31 10:32:50 -07:00
mtail 6da31e24ac Experiment with page bundles to fix image location issues. 2018-05-31 09:21:08 -07:00
Martin Taillefer b7d8a08998
Workaround Hugo formatting bug with indented code blocks that have lines that start with - (#1372) 2018-05-28 09:14:31 -07:00
Martin Taillefer d0f8fddfbf
Cleanup (#1363)
- Remove some leftover toc:false front matter from a few pages. The site now generally
figures out automatically that a TOC is not necessary.

- Enable a Hugo feature that queries Git for a last modified date on files. As a result,
instead of having the site build date in the footer, we now have a "this page was last modified"
date.

- Move the landing page's content out of the layouts directory and into the content directory
where it belongs.

- Use Hugo shortcodes for our embedded icon imagery. And make those icons scale with the
font size rather than being fixed sizes.

- Enable support for emojis in our content. Just use 
and you'll get a sailboat for example.
2018-05-26 08:28:14 -07:00
mtail 951a8ed9f4 Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00
mtail 401989fba6 Shuffle content around for the Hugo migration. 2018-05-25 19:27:39 -07:00