Commit Graph

149 Commits

Author SHA1 Message Date
David Karlsson 56679aec98 cli: alternative alias rendering
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-23 15:11:05 +01:00
David Karlsson 36d3f62159 feat: add tooltip partial
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-23 15:03:27 +01:00
David Karlsson adcb1edfa7 chore: style and script refactor
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-23 15:03:27 +01:00
David Karlsson f3b44a4476 cli: change reference docs url paths
Moves the reference documentation to a new subpath, from /engine/ to /reference/
2024-02-21 10:25:53 +01:00
David Karlsson 3703049154
Merge pull request #19344 from dvdksn/improve-landing-page-banner-graphics
site: improve home banner's bg image/color blend
2024-02-15 20:03:32 +01:00
David Karlsson 3d9d8bd59c
Merge pull request #19411 from dvdksn/cli-hoist-stub-content
cli: hoist content in CLI stubs to top
2024-02-15 19:25:59 +01:00
Stephanie Aurelio 00d64404ac
freshness updates (#19404) 2024-02-15 08:35:02 -08:00
David Karlsson 846bf77f93 cli: hoist content in CLI stubs to top
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-15 12:36:56 +01:00
Stephanie Aurelio 75b6fa2dda
Improve access to org onboarding guide (#19354)
* add links to overview pages, fix redirect, update onboarding intro

* highlight enforce sso step

* remove old redirect from metadata
2024-02-13 13:59:48 -08:00
Chaimaa ZEGOUMOU 7e81df10a3 fix: minor UI adjustement for Docker Desktop release notes
- remove extra pipe before Linux installers
- add missing pipe before Mac with intel chip installer
2024-02-08 18:19:43 +01:00
David Karlsson 75dc05388d cli: add links for cli flags
... and remove the column for shorthands.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-08 16:00:01 +01:00
David Karlsson 5e716537cb site: improve home banner's bg image/color blend
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-08 11:00:38 +01:00
David Karlsson ee3c9c6448 site: add lazy loading for images
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-07 17:10:16 +01:00
David Karlsson ca143e00d0
Merge pull request #19304 from dvdksn/self-host-fonts
site: self-host fonts
2024-02-07 10:47:15 +01:00
Stephanie Aurelio d032a17bb5
remove support link (#19297) 2024-02-05 09:38:10 -08:00
David Karlsson 9f856d4c18
Merge pull request #19299 from dvdksn/lighthouse-improvements
site: accessibility improvements
2024-02-05 13:11:53 +01:00
David Karlsson 0f9278b189 site: self-host fonts
Serve web fonts with our own CDN rather than Google's CDN.

This improves the download speed for fonts (dns lookups, reusing tcp
connection with http/2, cache efficiency)

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-04 22:36:05 +01:00
David Karlsson c1cd9f7f84 a11y: add aria label to theme switch button
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-03 17:05:36 +01:00
David Karlsson 14f905327b a11y: remove explicit tabindex on buttons
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-03 17:03:48 +01:00
David Karlsson 723006b12b a11y: add link titles in header, footer
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-03 17:03:18 +01:00
David Karlsson 6cd311ad9d a11y: add alt texts to images on home page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-03 16:55:26 +01:00
Stephanie Aurelio 18f1e23c76
Update UI steps to match Admin Console (#19291)
* update ui text references

* update steps for clarity

* update image alignment

* clean up

* remove outdated screenshot
2024-02-02 14:45:57 -08:00
David Karlsson f6191387b6 chore: remove mermaid.js
We're not using mermaid for diagrams anymore so we can prune the
dependency.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 09:46:24 +01:00
David Karlsson d6627bcbce fix: use flexbox to simplify templates and fix overflow on mobile
The grid col templates weren't working correctly, switched to flexbox to
make it easier to understand and work better on smaller screens.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-28 23:22:17 +01:00
David Karlsson c4f4b43b20 fix: make breadcrumbs fully truncate on mobile
The last element of the breadcrumb (page title) wasn't truncating.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-28 23:20:00 +01:00
David Karlsson 733c95b5a7 fix: don't render menu on home page
The home page context is quite different from regular pages and
sections, so rendering the menu doesn't seem necessary. All the relevant
navigation is available in the main ui.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-28 23:18:33 +01:00
David Karlsson 595dfde3b3 site: redesign landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-26 11:20:39 +01:00
David Karlsson aa98f3f975
Merge pull request #19214 from dvdksn/fix-horizontal-overflow
fix horizontal overflow
2024-01-25 21:28:32 +01:00
David Karlsson 393c2027e6 css: improve rendering of breadcrumbs on small screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 21:12:59 +01:00
David Karlsson ce9e6317fc css: prevent horizontal overflow on md/sm/xs screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 21:12:07 +01:00
David Karlsson e39e1d7864
Merge pull request #19207 from dvdksn/font-display-fallback
font: use font-display:fallback
2024-01-25 17:34:07 +01:00
Allie Sadler f1cdb98a83
ENGDOCS-1931 (#19081)
* ENGDOCS-1931

* format fixes

* PM review

* SME review and update screenshot

* more review edits

* more review edits
2024-01-25 16:11:28 +00:00
David Karlsson 1ed2721b40 font: use font-display:fallback
Provides a more stable experience than `optional`, as it doesn't let the
browser decide whether or not to apply the font.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 14:48:43 +01:00
David Karlsson 047a48d0ab fix: sidebar background in light mode
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 14:22:09 +01:00
David Karlsson 47487acd24 fix: render callout icons
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 14:08:48 +01:00
David Karlsson 0ff3eb3aab hugo: migrate font icons to svg
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 12:28:38 +01:00
David Karlsson 558fbdfabc hugo: use inline svgs for sidebar icons
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 12:28:38 +01:00
David Karlsson 1f42d72ed3 hugo: support for inline svg icons
This commit adds support for icon optimization using inline svgs,
improving site performance.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 12:28:38 +01:00
David Karlsson b6cb911afc fonts: use font-display:optional insead of swap
Having `font-display: swap` caused FOUT, swapping to `optional` improves
the experience with graceful degradation.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 08:35:41 +01:00
David Karlsson ff459f0dcd css: improve styles to reduce layout shifts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 08:35:33 +01:00
David Karlsson 299ffee524 hugo: improve sidebar rendering and behavior
Removes the alpine.js components for the sidebar, and uses vanilla
eventlisteners instead. Also moved off javascript for handling the
expanse/collapse display, in favor of using css only.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-24 16:34:00 +01:00
David Karlsson 0791ea5e56
Merge pull request #19198 from dvdksn/build-cloud-new-badge
build cloud new badge
2024-01-24 16:29:24 +01:00
David Karlsson 15485594b4 hugo: do not render hidden cli options
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-24 15:51:18 +01:00
David Karlsson 6f2df42f35 hugo: fix vertical alignment for html strings
Strings containing subelements would be misaligned compared to the plain
text. Added centering w/ flexbox just to get it to look right in case
the rendered strings contained html.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-24 15:28:51 +01:00
Allie Sadler dcfe8baa0b
ENGDOCS-1948 (#19121)
* ENGDOCS-1948

* edits

* review edits
2024-01-23 15:53:43 +00:00
David Karlsson e4df074a75 site: dbc landing page banner
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-22 23:49:39 +01:00
David Karlsson ade4ebd4a6
Merge pull request #19045 from dvdksn/cli-canonical-reference-urls
Canonical CLI / moby 25
2024-01-19 16:30:19 +01:00
David Karlsson f0260dbf20 hugo: display command aliases
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-19 16:13:36 +01:00
David Karlsson f2ab28125a
Merge pull request #19127 from dvdksn/site-fixups
site fixups
2024-01-19 15:44:34 +01:00
David Karlsson b1b8263be7 styles: update site logo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-19 09:59:41 +01:00