Commit Graph

33 Commits

Author SHA1 Message Date
astephanus 80237e2e68
Toc keyboard navigation (#4497)
* Adds keyboard navigation to table of content links

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds table of contents scroll and item focus management to the current page or the first toc item

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Add space key capture to the toc expand/collapse arrows

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds escape key support for expand/collapse of toc categories on the category label

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds missing aria-role and aria-current attributes to toc affordances

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Changes the function of the space bar to navigate to a toc parent category item instead of only expand its children

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds arrow up/down key support to toc navigation

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds missing accessibility attribute handling to the toc

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Corrects arrow key handling of keyboard navigation of the toc

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds padding to allow for the keyboard focus rectangle

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes explicit tabindex values for the toc navigation

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes auto focus of toc navigation items on page load; refactors navigation panel scroll into view logic to account for the sticky version selector

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes keyboard focus trap on search field for the tab key

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Unifies navigation item focus state for top level items and sub navigation items

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes the expand/collapse navigation buttons from being tab focusable

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Corrects navigation item spacing to permit visible focus rectangles

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Implements full arrow navigation for the toc items according to the w3c tree view navigation pattern

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Adds reference link to the w3c documentation about the tree view navigation to the arrow key toc navigation javascript

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Account for the difference between the navigation panel height, and the viewport height when auto scrolling the toc item of the current page

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Corrects keyboard navigation focus rectangles from being slightly obscured on the bottom

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Corrects aria and role attributes according to the navigation tree pattern as opposed to the disclosure pattern

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Corrects Jekyll include parameter assignment syntax error

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes aria-expanded setting from the templates since it is unrealiable to determine without iterating through the entire tree to determine if one of its children of children is the current page

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Moves setting of aria-expanded attributes to a runtime behavior, and corrects arrow left/right behavior on navigation tree items

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Ensures unique navigation menu element ids; conditionally sets aira-owns and aria-current attributes

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

* Removes JavaScript that is unused following refactoring tree view navigation; adds comments explaining choices

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>

---------

Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
2023-07-17 10:11:42 -07:00
Miki 271a98d669
Allow limiting the versions shown by default in the `version-selector` (#3773)
* Allow limiting the versions shown by default in the `version-selector`

Signed-off-by: Miki <miki@amazon.com>

* Add archived versions

* Update versions.json

* Add archived versions for version selector.tpl

* Switch back to old versions

---------

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
2023-05-04 16:36:13 -05:00
kolchfa-aws 1ff9a3ad16
Update segment replication backpressure (#3839)
* Update segment replication backpressure

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Implemented editorial comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Added benchmarks

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Implemented editorial comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-05-02 10:59:20 -04:00
kolchfa-aws deae166824
Add inline icons to formatting guide (#3785)
* Add inline icons to formatting guide

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Added space for formatting

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <nbower@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
2023-04-17 12:10:55 -04:00
kolchfa-aws 0c41f3688b
Make the left nav uniform color (#3127)
* Make the left nav uniform color

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Separate large and xlarge sizes

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-03-02 22:01:50 -05:00
kolchfa-aws ff99f21ceb
Move background size to css (#2962)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-20 11:08:20 -05:00
kolchfa-aws 48e1e654d6
Add comment field to feedback panel (#2941)
* Add text area for comments to feedback panel

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Added radio buttons, sending comments to GA, and refactored scss

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds remaining character counter

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Send one event

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Addressed code review and added new banner

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* More code review feedback

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-17 16:59:59 -05:00
kolchfa-aws 1722da6337
Adds documentation site banner (#2544)
* Adds documentation site banner

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Makes adjustments for phone screens

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds background image to banner

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds background to image

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Added centering

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Lower contrast image

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-10 13:22:55 -05:00
kolchfa-aws 850ce482b9
Adds video capability (#2354)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-08 18:44:26 -05:00
kolchfa-aws fff6502036
Center site layout (#2668)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-06 17:47:35 -05:00
kolchfa-aws d7e8cdedd1
Adds important callout (#2630)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-02-03 16:04:29 -05:00
kolchfa-aws 84da2cf812
Makes version selector sticky (#2492)
* Makes version selector sticky

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds min width to site nav to accommodate version selector

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Makes site nav 100% vh

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-01-26 11:15:34 -05:00
kolchfa-aws 3de1666f47
Adds second image style with no border (#2445)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-01-20 11:24:06 -05:00
kolchfa-aws 515b66b687
Adds border to images (#2415)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-01-17 12:27:52 -05:00
kolchfa-aws c25ff903a1
Adds Rust client documentation (#2342)
* Adds Rust client documentation

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Added copy buttons and refactored more clients

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Incorporated doc review comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Incorporated doc review feedback

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* One more fix - indexes

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Incorporated editorial comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-01-10 13:49:15 -05:00
kolchfa-aws 10e0c5de7c
Updates site UI changes (#2264)
* Updates site UI changes

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Addresses code review feedback, removes feedback

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds back feedback mechanism

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Makes back to top button non-transparent

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Small change in style

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds margin to copy button wrap

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2022-12-27 11:45:32 -05:00
kolchfa-aws 0402d132dd
Adds feedback mechanism and more site visual improvements (#2259)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2022-12-19 14:41:42 -05:00
kolchfa-aws 1e4dc30d5c
Removes feedback buttons (#2169)
* Removes feedback buttons

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Put link to edit in left nav

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2022-12-14 15:20:17 -05:00
kolchfa-aws 307790470c
Adds documentation site changes (sticky nav, copy button, back to top button) (#2043)
* Adds back to top button

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Makes sidebar sticky

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Gives more real estate to the main pane

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds copy button

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds copy button to code snippets

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds copy as curl

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Moved copy buttons to the bottom right of snippets

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Moved edit page footer to the bottom of the page

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Implemented scrolling to the active link in navbar on reload

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Adds feedback buttons

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2022-12-02 12:03:46 -05:00
Nate B 7ae5d1138c
Addressing the loss of Open Sans on the documentation website. (#1434)
Signed-off-by: Nathan Boot <nateboot@amazon.com>

Signed-off-by: Nathan Boot <nateboot@amazon.com>
2022-10-05 10:37:04 -05:00
Miki 981ec77db4
Fixes the nested nav's interaction with the custom search component (#1251)
Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Miki <miki@amazon.com>
2022-09-19 12:08:52 -07:00
Miki caa88cc9e0
Adopts the new top nav from the website (#984)
Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Miki <miki@amazon.com>
2022-08-29 13:07:08 -05:00
Miki 5a0812221f
Enhance breadcrumbs and URLs in search results
Signed-off-by: Miki <mehranb@amazon.com>
2021-12-03 12:57:28 -08:00
Miki e60bbafd91
Add custom search
Signed-off-by: Miki <mehranb@amazon.com>
2021-11-29 18:49:04 -08:00
aetter d4df82249a Narrower width, hide contributing on small sizes, increase code sample size 2021-10-07 12:36:10 -07:00
Miki fb0bb8f503 Add 1.1 release header
Signed-off-by: Miki <mehranb@amazon.com>
2021-10-05 16:02:45 -07:00
Miki 31003b1523 Add versioned documentation
Reduce font size and expand width

Signed-off-by: Miki <mehranb@amazon.com>
2021-10-05 10:48:07 -07:00
aetter db86114248 Styling for links in labels, update README for API labels 2021-07-28 12:30:34 -07:00
aetter 5f678cd814 Add "introduced" labels for APIs 2021-07-26 16:14:22 -07:00
Miki 96f2dbafdf Unify look and feel with project website
Signed-off-by: Miki <mehranb@amazon.com>
2021-07-12 14:14:40 -07:00
aetter d80ce75e1c Improve mobile layout, continue trying to fix slash links 2021-06-10 14:42:36 -07:00
aetter 691f323be7 Style changes, corrects directory for security plugin 2021-05-05 19:03:07 -07:00
aetter 4c7109366d Initial documentation cut 2021-05-05 10:09:47 -07:00