Commit Graph

97 Commits

Author SHA1 Message Date
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
David Karlsson 28e564187c site: remove "reading time" indicator
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-15 17:29:17 +01:00
Allie Sadler 418a47c7bc
ENGDOCS-1938-tier2 (#19076) 2024-01-11 08:18:55 +00:00
David Karlsson 04a5ee0915 hugo: use icon utility class for external links
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-08 13:25:03 +01:00
Allie Sadler 9801cb4508
ENGDOCS-1935 (#19040) 2024-01-05 10:17:39 +00:00
Stephanie Aurelio f7e5d35705
Update Image Access Management category descriptions (#19021)
* update category descriptions

* updates for clarity
2024-01-03 11:55:32 -08:00
David Karlsson 834db3da41 css: refactor and improve styles
- Refactoring styles to prevent unwanted specificity issues by using
  tailwind directives
- Improve color consistency for code blocks and other components by
  replacing adhoc hex values with theme colors

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-03 14:54:57 +01:00
David Karlsson 6fb66cf034
Merge pull request #18995 from dvdksn/rm-h1-ids
fix: remove heading IDs for h1 elements
2024-01-02 13:44:11 +01:00
David Karlsson 77b0a087c5 fix: remove heading IDs for h1 elements
Closes #18983

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 20:55:13 +01:00
David Karlsson c03109f7eb style: gradient header bg
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 19:37:28 +01:00
Stephanie Aurelio 482bcb4ec0
Restructure administration docs IA (#18940)
* cli: use the new add-host separator

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>

* update organization admin sections

* update company sections and move faqs

* add create company steps and clean up overview

* update faq paths in tiles and add ea banner to admin tab

* fix spaces and update admin console references

* update banner message, clarify content, and streamline onboarding guide

---------

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-19 08:58:20 -08:00
David Karlsson 5167c68f7f
Merge pull request #18610 from dvdksn/hb-ga
hb ga
2023-12-15 21:44:44 +01:00
David Karlsson 444ffdca3a feat: shortcode for linking to section pages
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-14 21:58:02 +01:00
David Karlsson 72725b7708 hugo: handle multiline flag descriptions
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-13 21:14:31 +01:00
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