- 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.
(cherry picked from commit 1dcd301)
There is no admissionregistration.k8s.io/v2beta2 API, so fix it.
Signed-off-by: Guihua Zhu <z.zhuguihua@gmail.com>
Signed-off-by: Guihua Zhu <zhuguihua@cmss.chinamobile.com>
(cherry picked from commit d05c7aa)
- Include JSON syntax coloring support in PrismJS. This prevents
JavaScript crashes when trying to format output that's marked as JSON.
This was happening on the tasks/traffic-management/mirroring.md page.
- Properly escape strings raw output strings before inserting them into the
document. This bug was causing strange things to happen if any of the content
contained stuff that looked like HTML, such as the word <none>.
* Some cleanup for mesh expansion.
1) Added an example ILB
2) Port 27017 is not needed.
* Fix typo.
* Address linsun's comments.
* Ignore Keepalived spell check.
(cherry picked from commit 054306e)
instead of 0.6
```bash
sed -e 's/https:\/\/archive.istio.io\/v0.6\/docs\/tasks\//https:\/\/archive.istio.io\/v0.7\/docs\/tasks\/traffic-management\//g' *.md
```
I didn't realize the Hugo's TOC support features only work for markdown files.
Since our reference pages are HTML, none of these were getting TOCs. I now roll
my own TOC functionality in that case, to bring up back TOCs for our reference
pages.
(cherry picked from commit 0af7fbd)
* add data plane update step
* small typo
* fix spelling
* delete not needed space
* another typo
* more lint fix
* Do an editing pass.
(cherry picked from commit f712e61)