istio.io/layouts/shortcodes
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
..
branch_name.html Introduce better linking support to github.com/istio/istio (#1443) 2018-06-06 08:21:18 -07:00
file_content.html Fix a few formatting problems with the rate limiting doc. 2018-05-31 07:42:35 -07:00
idea_icon.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
image.html Fix some out of date front-matter. 2018-06-01 10:58:38 -07:00
inline_image.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
istio_version.html Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00
search_engine_id.html Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00
site_suffix.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00
warning_icon.html Cleanup (#1363) 2018-05-26 08:28:14 -07:00