Commit Graph

333 Commits

Author SHA1 Message Date
David Karlsson f70a077b72 build: add cloud build
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-11 20:34:41 +01:00
David Karlsson c710541f28 a11y: add aria-hidden to external link icons
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-11 09:43:11 +01:00
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
David Karlsson 0eca2035e7 fix: add no-select to external link icon
Prevents users from having the icon ligature text included in
clipboard text when copying text from the docs site.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 10:36:49 +02:00
Stephanie Aurelio 8374eb56b3
update reference to UI name (#18301) 2023-09-27 08:27:58 -07:00
Stephanie Aurelio db84885c71
Change Azure AD references to Entra ID (#18257)
* update azure refs

* update faqs

* add hyphens

* fix typo
2023-09-26 12:46:33 -07:00
David Karlsson 1a327b120b fix: remove broken related content section
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-25 17:08:41 +02:00
Stephanie Aurelio d6f47fbac5
Revert "Add technical support videos to SSO and SCIM docs (#18245)" (#18248)
This reverts commit ac6a5dbeb8.
2023-09-20 17:28:40 -07:00
Stephanie Aurelio ac6a5dbeb8
Add technical support videos to SSO and SCIM docs (#18245)
* add azure ad videos to sso and scim docs

* add anchor links to surface the video resources

* update video intro
2023-09-20 14:41:11 -07:00
David Karlsson d8c4f4f353 fix: ignore empty default values for cli flags
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-15 16:19:10 +02:00
David Karlsson 47ede73397
Merge pull request #18168 from dvdksn/fix-clean-heading-markup
fix: remove anchor markup from heading innerhtml
2023-09-15 11:08:42 +02:00
Stephanie Aurelio 7fc553aeac
Add tip to group mapping docs and update Hub release notes (#18156)
* link to role mapping and add to release notes

* move callout to top of page

* add space

* add multi teams use case to callout
2023-09-13 11:53:14 -07:00
David Karlsson 75aee1d058 fix: remove anchor markup from heading innerhtml
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-12 18:04:03 +02:00
Craig Osterhout 713c7e314d
hub and admin: tier 1 refresh (#18118)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-09-07 08:32:02 -07:00
Allie Sadler f9193955ef
refresh diagrams (#18079)
* refresh diagrams

* spelling fix

* spelling fix

---------

Co-authored-by: Allie Sadler <alliesadler@f693mt7fh6.home>
2023-09-05 10:28:30 +01:00
David Karlsson ff6b76cdeb hugo: remove edit page link for upstream pages
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-04 08:37:52 +02:00
David Karlsson 45b0d8a60f hugo: clip overflowing card titles
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-01 17:40:02 +02:00
David Karlsson b5f365e0ec style: center images and adjust border radius 💅
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-31 16:44:15 +02:00
David Karlsson 8c318a0a18
Merge pull request #18060 from dvdksn/scout/ia-refactor
scout: information architecture refactor
2023-08-30 18:05:53 +02:00
David Karlsson 82897de953 hugo: add error message for incorrect badge color
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-30 17:22:47 +02:00
David Karlsson 3949a49cee hugo: add markdown support for card title
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-30 17:22:47 +02:00
Allie Sadler d2e18d043b
fix RPM link (#18064)
Co-authored-by: Allie Sadler <alliesadler@f693mt7fh6.home>
2023-08-30 14:08:39 +01:00
David Karlsson 65bb23b1eb hugo: hide img injected by prod scripts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-30 14:22:04 +02:00
Stephanie Aurelio b2afa911e2
Add SCIM role mapping [8/28] (#18032)
* remove limitations and add role mapping to scim docs

* update wording

* link to role mapping from manage users docs

* change list to table and update doc links

* implement feedback

* update hash link
2023-08-28 12:22:32 -07:00
David Karlsson 239a1ed445
Merge pull request #17965 from dvdksn/fix-right-aside-width
style: set a fixed width for the toc container
2023-08-23 20:24:02 +02:00
David Karlsson 57c9b961fe js: fix copy function for multiline code blocks
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-23 11:19:53 +02:00
David Karlsson 6d9593a928 release: fix go redirects
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 22:49:22 +02:00
Craig Osterhout 57a4c2bcf8
minor fixes (#17978)
* fix typos

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-08-22 11:01:55 -07:00
Stephanie Aurelio 3c6bb85c52
fix shortcodes and update callouts (#17976)
* fix shortcodes and update callouts

* update shortcode
2023-08-22 10:31:09 -07:00
David Karlsson 1f2062db67 fix: add logo background for api docs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 15:03:22 +02:00
David Karlsson 13fee773d7 style: set a fixed width for the toc container
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 15:01:17 +02:00
David Karlsson 1c6f0ee337
hugo: fix edge case causing duplicate h1 (#17959)
Some documents are missing a `title` front matter,
and instead use an H1 from the document body.
This change introduces a fix to render an external
h1 only if the front matter field is set.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 10:48:51 +01:00
David Karlsson 2284afe898 hugo: fix html escape for headings
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 11:27:27 +02:00
David Karlsson a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00