Commit Graph

81 Commits

Author SHA1 Message Date
Craig Osterhout b16d30c519
get-started: add landing page w/ walkthroughs (#18808)
* add get-started landing page

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-12-04 08:59:34 -08:00
David Karlsson 210ac7bb11 fix: add scroll margin for h1s
h1 elements with IDs need a scroll margin to account for the header and
margin height. These anchors are linked automatically by Algolia.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-23 12:27:31 +01:00
David Karlsson 3ac25b7a2c search: refactor page entries in toc
Wraps the entry title in a span element so that we can have a single
querySelector to get the textContent of the title of a top-level toc
item of a page:

document.querySelector("#sectiontree li:has([aria-current]) :is(a, button) span")

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-22 20:43:36 +01:00
David Karlsson fd264a9df3 search: add docsearch container class and h1 ids
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-22 20:42:52 +01:00
David Karlsson 04e4ef2d78 chore: reinstate scout banner
The survey linked in the previous banner has ended

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-21 17:04:22 +01:00
Craig Osterhout 4924093d89
fix typo (#18729)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-11-20 14:03:00 -08:00
Craig Osterhout 8bb75fa5fa
tier 1 updates for freshness (#18686)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-11-16 07:40:56 -08:00
Stephanie Aurelio b395c3e531
Update and refresh company docs (#18656)
* update company faqs structure diagram and implement support feedback

* update faq and callout

* implement feedback and fix conditional
2023-11-15 13:33:49 -08:00
Allie Sadler d5a60afba1
ENGDOCS-1738b (#18653)
* ENGDOCS-1738b

* fix link
2023-11-13 12:25:48 +00:00
David Karlsson d2dffd4e28
Merge pull request #18649 from dvdksn/heading-ids
feat: improve heading markup and scroll behavior
2023-11-13 07:33:56 +01:00
David Karlsson db85f53af1 feat: improve heading markup and scroll behavior
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-12 20:35:34 +01:00
Craig Osterhout a6c5b99fc0 update homepage banner
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-11-10 16:16:14 -08:00
Usha Mandya 7d670672d4 Update the banner title
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2023-11-10 20:46:23 +00:00
Craig Osterhout dea6ac4ea5
update homepage banner (#18636)
* update homepage banner

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2023-11-10 12:26:40 -08:00
David Karlsson a0dca716e9
Revert "search: add a stronger main content identifier" 2023-11-10 15:37:39 +01:00
David Karlsson 3e9563ffc7 search: add breadcrumbs identifier
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-10 14:28:54 +01:00
David Karlsson 72a1be8ec1 search: add a stronger main content identifier
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-10 13:34:25 +01:00
David Karlsson d01789c386 hugo: add support for specifying grid columns
Converts the grid shortcode to use named arguments, and adds support for
a second "cols" argument for specifying grid size (3 by default).

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-09 15:39:51 +01:00
David Karlsson 40546dbbdf ux: add "image" card layout
This change to the cards partial adds support for an alternate layout.

The layout to use is decided based on the input parameter used to
generate the card:

- If an `image` is given, the new "tall image" layout is used
- If an `icon` is given, the default layout is used

Image and icon are mutually exclusive.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-09 15:36:57 +01:00
Allie Sadler 0f2fe1de22
ENGDOCS-1771 (#18613)
* ENGDOCS-1771

* fix build

* fix build

* fix build

* fix build

* fix build

* fix build

* fix build

* fix build

* fix build

* fix links

* links

* add cards

* final link fix

* review edits
2023-11-09 09:23:24 +00:00
David Karlsson 9c6f0d5bc0
Merge pull request #18545 from dvdksn/code-blocks-lineno
style: numbered lines for code blocks
2023-10-31 11:45:17 +01:00
Stephanie Aurelio ded98053ee
Update SSO configuration domain steps (#18554)
* remove repeated step and update callout styling

* consistent capitalization
2023-10-30 15:02:25 -07:00
David Karlsson f64276790d feat: numbered lines for code blocks
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-30 20:48:59 +01:00
Allie Sadler 270c2ef7b6
ENGDOCS-1717 (#18446)
* ENGDOCS-1717

* fix build

* fix build

* fix build

* fix build

* tweak steps

* tweak steps

* review edits

* second review round

* small tweaks

* add known issue

* final edits

* final review

* final review
2023-10-26 16:17:35 +01:00
David Karlsson fd980de7fe hugo: define front matter metadata through data
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-19 17:50:34 +02:00
shuoer86 56f40dc07d
fix typos (#18423) 2023-10-19 11:19:29 +01:00
Allie Sadler ba216cd2ae
ENGDOCS-1558 (#18419)
* initial structure

* move security announcements page

* PAT and 2FA content move

* fix broken links and adjust landing page cards with moved topics

* fix links

* move enforce sign in content and update landing page

* move enforce sign in content and update landing page

* fix build

* fix image

* move domain audit content

* add domain audit to grid

* move RAM and IAM

* landing page

* more landing page development

* fix links

* fix links

* fix toc

* move scout

* move scout
2023-10-18 16:01:14 +01:00
David Karlsson f8f858bfcf
Merge pull request #18425 from dvdksn/code-var-syntax
feat: code var syntax
2023-10-16 20:28:58 +02:00
David Karlsson 3d5e796588 seo: rm unnecessary robots.txt disallows
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-16 17:02:27 +02:00
David Karlsson f7bbe06d27 feat: special rendering for codeblock variables
This change adds special rendering for variables in codeblocks.
Variables (placeholder values in examples subject to change)
can be denoted using the following syntax:

    <VARIABLE_NAME>

Using this format will render the variable in a special color, and
without the angle brackets, akin to:

    \033[95mVARIABLE_NAME\033[39m

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-13 20:17:16 +02:00
Craig Osterhout d08111e570
hub-admin: update export members (#18414)
* update export members

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-10-12 14:38:37 -07:00
Stephanie Aurelio be0dbbc0ed
add sso video and link (#18294) 2023-10-11 11:57:21 -07:00
David Karlsson 341d09dccd style: improve the contrast for top navigation bar
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-09 10:39:36 +02:00
Craig Osterhout dc4e411731
sso: remove default 'company' team for sso (#18370)
* remove default company team for sso jit

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-10-06 10:47:53 -07:00
David Karlsson 3e9e983890 scout: improve banner layout on small screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-04 13:40:47 +02:00
David Karlsson 648feac52d scout: link to release notes in banner
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-04 13:40:47 +02:00
David Karlsson 26ee37b52a feat: add image border as query param
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-02 13:08:40 +02:00
David Karlsson 9b0d35dfcd scout: pop banner with border
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-02 13:07:14 +02:00
David Karlsson 898cd76e17 scout: move banner inside landing page hero
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-02 13:07:14 +02:00
David Karlsson 4e39f08029 scout: hoist landing page banner
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-02 13:07:14 +02:00
David Karlsson 8a4aa2ab2c scout: landing page GA banner 2023-10-02 13:07:14 +02:00
David Karlsson 2eb97d7fe7 fix: use links with leading slash as-is
Links that started with a slash were being prepended the URL hostname
and rendered as absolute links before. This caused our link checker to
miss broken links that contained a leading slash.

This change fixes this issue by rendering links with a leading slash as-is,
without modification.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-29 21:06:55 +02:00
Stephanie Aurelio d7e8a0cfd1
Add role, team, and org attributes to SSO attributes table (#18295)
* add attributes to table

* add optional tag
2023-09-28 15:18:39 -07:00
Lorena Rangel 1e49c1079a
Release notes for docker Desktop 4.24.0 (#18288)
* change order for apple sillicon and and intel Desktop builds

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>

* Docker Desktop 4.24.0 release notes

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>

* reviews

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>

---------

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2023-09-28 16:59:50 +01:00
David Karlsson 0016a40651
fix: really hide the pixel image from scripts (#18316)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 17:32:05 +02:00
David Karlsson d5420c616e
Merge pull request #18310 from dvdksn/style-dds-updates
styling updates
2023-09-28 11:11:01 +02:00
David Karlsson c6aa90c33a style: dds webapp top nav
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 11:01:33 +02:00
David Karlsson 6e3d110e5b style: dds Breadcrumbs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 10:56:12 +02:00
David Karlsson 0905e312e3 chore: remove unused templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 10:56:12 +02:00
David Karlsson 81643b7962 style: dds SidebavNavigation
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 10:56:11 +02:00