Commit Graph

17 Commits

Author SHA1 Message Date
Peter Jausovec 6e15bbfd9d
docs: show the page title above the TOC for generated pages. (#15451)
* docs: show the page title above the TOC for generated pages.

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* lint: remove leading 0

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* docs: show Parameters as the first element in TOC for gen-pages

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

---------

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
2024-07-23 17:48:32 -04:00
Bartosz Wojcicki 94ec71bb87
Polidea update - FAQs (#9485)
* Serve the existing FAQs dynamically using previous template

* Fix lint errors
2021-04-09 07:45:45 -07:00
Martin Taillefer dbed6f0eba
Add a web site change log page. (#5861) 2019-11-27 10:31:46 -08:00
Martin Taillefer c2d1a234c3 Experiment with improved istioctl TOC layout. (#5274) 2019-10-28 19:19:34 -07:00
Martin Taillefer 469667b184
Site improvements (#4049)
- Add missing ARIA annotations on the See Also entry in the right-hand TOC

- Add missing ARIA annotations on the FAQ pages, and switch from a UL to an OL
list for the questions in order to get rid of the bullets.
2019-04-25 20:49:50 -07:00
Martin Taillefer 74e7ef56b1
Finish keyboard navigation for header & menu. (#3607) 2019-03-10 07:57:42 -07:00
mtail 373916fcfa Improve accessibility
- Increase the constrast for links, per LightHouse analysis.

- Add support for disabling syntax coloring in example text blocks. This
can be controlled from the menu.
2019-03-09 11:56:32 -08:00
Martin Taillefer d093f22d0c
Bunch of structural improvements. (#3488)
- Make better use of html semantic elements to help
search & screen readers.

- Add or improve ARIA annotations for accessibility

- Improve print-time formatting.
2019-03-04 07:26:48 -08:00
mtail ec2a9aa05c Fix a few translation strings. 2019-03-02 17:45:53 -08:00
Martin Taillefer 5f2af0fd69
Add support for skip_toc and skip_seealso front-matter values. (#1989) 2018-07-26 11:02:59 -07:00
Martin Taillefer 3d511f5a70
Various site fixes. (#1701)
- Prevent See Also sections from showing up on index pages.

- Clean up and simplify some JavaScript & CSS.

- Set a height for the idea and warning icons in order to prevent
screen flicker when loading pages with these icons.
2018-07-08 17:12:12 -07:00
Martin Taillefer 07ed229051
Simplify linking to GitHub content. (#1669)
- Add <github_file> <github_blob> and <github_tree> to make it simpler to link to the right
place on GitHub.

- Use these new sequences throughout the docs.

- Also, fix bad HTML generated for the TOC in certain cirsumstances.

- Fix extra blank line inserted at the bottom of indented code blocks.
2018-07-04 04:16:49 -07:00
mtail c72a8257b8 TOC improvements.
- Make "See also" show up in the TOC.

- When inlining the TOC at the top of a page, surround it with a pair of <hr> tags to get a line on the screen

- Fix rendering bug with TOC when specific characters showed up in section titles.

- Fix extra indent in the TOC in certain cases.

- Rename "See Also" to "See also" to follow our naming guidelines.
2018-06-19 06:39:37 -07:00
mtail 9e9bcb2d5d Make the infrastructure TOC stuff robust against incorrect HTML. 2018-06-11 14:59:05 -07:00
mtail 210cc87d6c Fix unindenting in manually generated TOCs. 2018-06-11 13:51:57 -07:00
mtail 1ea444d9b3 Fix off-by-one error in new TOC logic, which was leading to bogus HTML. 2018-06-04 08:10:42 -07:00
Martin Taillefer 0af7fbd6c5
Add TOC to reference pages. (#1419)
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.
2018-06-02 21:56:21 -07:00