Commit Graph

351 Commits

Author SHA1 Message Date
Sarah Sanders 61fa434aea
fix: hugo includes rendering bug (#21943)
## Description
- There is a bug in Hugo that is not parsing includes that begin with a
shortcode correctly
- The fix here replaces the admin-early-access.md include with our
summary bar solution
- Summary bar shortcode updated to support text in the `availability`
field, this will allow us more flexibility with customizing this field
while still supporting the iconography
- NOTE: We will not be able to add the summary bar inside
{{tab}}/{{tabs}} layouts because it messes up the rendering

## Related issues or tickets

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-01-31 11:18:22 -08:00
Sarah Sanders 9f56d945a7
chore: summary bar cleanup (#21887)
## Description
- Updated "Contribute" guide to reference summary bars, added
instructions for using them
- Removed `introduced` partial, this is now replaced by the summary bar
`requires` value
- Updated all files using `introduced` partial to use summary bar,
updated YAML file w/ feature name and info

## Related issues or tickets
[ENGDOCS-2392](https://docker.atlassian.net/browse/ENGDOCS-2392)

## Reviews
- [ ] Technical review
- [ ] Editorial review

[ENGDOCS-2392]:
https://docker.atlassian.net/browse/ENGDOCS-2392?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-01-30 07:54:26 -08:00
David Karlsson afabe0bbf0 site: dont hide close button in kapa widget
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-01-30 13:25:07 +01:00
Sarah Sanders d083617e9d
fix: update include.html for heading error (#21906)
## Description
- Problem: Some include shortcodes produce missing H3 ToC headings (ex:
https://docker.slack.com/archives/C039ZM6GH4Z/p1737545677728649)
- Fix: Update to include.html uses Hugo readFile function to fix parsing
errors and updated all include shortcodes using Find and Replace to use
correct syntax: `{{% "include-file" %}}`

## Related issues or tickets
-
[ENGDOCS-2398](https://docker.atlassian.net/browse/ENGDOCS-2398?atlOrigin=eyJpIjoiZGE3OTBmY2ExOTliNDVjY2JlOTc4Y2ViY2MwNDI3NDEiLCJwIjoiaiJ9)

## Reviews
- [ ] Technical review

[ENGDOCS-2398]:
https://docker.atlassian.net/browse/ENGDOCS-2398?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-01-29 07:31:40 -08:00
David Karlsson ac388dc992
Merge pull request #21853 from dvdksn/tidy-hugo-tpl-2
chore: tidy templates, add comments
2025-01-27 09:23:29 +01:00
Sebastiaan van Stijn e3b1eb968d
layouts: cli.html: fix incorrect closing tag
The opening tag was a "td", but the closing tag a "th". Looks
like browsers fix this up, but let's change it to be correct.

updates 56679aec98

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-01-22 11:55:40 +01:00
Sarah Sanders 3de8201822
implement summary bars for feature attributes (#21667)
## Description
- Create `summary-bar.html` shortcode
- Inline styling

## Related issues or tickets
- [ENGDOCS-2334](https://docker.atlassian.net/browse/ENGDOCS-2334)

## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

[ENGDOCS-2333]:
https://docker.atlassian.net/browse/ENGDOCS-2333?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Preview:
https://deploy-preview-21667--docsdocker.netlify.app/security/for-admins/hardened-desktop/settings-management/configure-admin-console/

[ENGDOCS-2334]:
https://docker.atlassian.net/browse/ENGDOCS-2334?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-01-21 09:19:16 -08:00
David Karlsson 1a9dc69bd0 chore: tidy templates, add comments
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-01-20 10:30:58 +01:00
David Karlsson b9b18957e1 chore: update contribute link to website section
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-01-14 15:07:49 +01:00
David Karlsson effa260c24 hugo: only render subcommand link if cli data exists
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-01-09 15:34:44 +01:00
David Karlsson e41c490f39 site: add landing page callout to Ask Gordon
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-12-20 16:16:09 +01:00
Sarah Sanders 0e51f0169a
Merge pull request #21648 from sarahsanders-docker/company-admin-freshness
admin: docs freshness
2024-12-18 09:55:30 -08:00
David Karlsson e7246a2fdf hugo: fix 'reverse' option for re-ordering sidebar entries
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-12-18 13:06:50 +01:00
Craig Osterhout 1c75da7964
hub: add catalog callout on homepage (#21613)
<!--Delete sections as needed -->

## Description

Increase visibility of Gen AI catalog.

- Moved get started card on homepage up by the nav cards to align with
nav
- Added gen ai in place of the old get started card

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Editorial review
- [ ] Product review


![image](https://github.com/user-attachments/assets/bc758326-3ce0-4e0a-aa38-257051d35b21)

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-12-17 10:16:00 -08:00
Sarah Sanders f60f50af7b Docs freshness: rest of Admin section 2024-12-16 15:43:19 -08:00
Sarah Sanders 4aaed903a0
docs freshness: choose profile UI flow (#21611)
## Description
- The "Choose profile" UI flow is now live in Admin Console, updated all
docs UI flows
- Just FYI, this is in staging behind feature flag for: DBC and Billing

## Related issues or tickets
[ENGDOCS-2356](https://docker.atlassian.net/browse/ENGDOCS-2356)

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

[ENGDOCS-2356]:
https://docker.atlassian.net/browse/ENGDOCS-2356?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2024-12-12 07:39:22 -08:00
David Karlsson 1989620ae1 feat: add support for sidebar grouping
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-26 13:49:50 +01:00
David Karlsson c9dc7f99c6 hugo: replace Shortcode.Scratch with Shortcode.Store
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-19 14:18:16 +01:00
Allie Sadler 0571834c70
enforce-sign-in-updates (#21393)
<!--Delete sections as needed -->

## Description

Merges content updates from [this
PR](https://github.com/docker/docs/pull/21073) and [this
PR](https://github.com/docker/docs/pull/20885/files) to avoid conflicts
on release day.

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2024-11-18 16:20:13 +00:00
Sarah Sanders 3709b9bab5
Merge branch 'main' into ENGDOCS-2281 2024-11-13 09:38:26 -08:00
Allie Sadler cef62c197d
ENGDOCS-2306 (#21398)
<!--Delete sections as needed -->

## Description

Freshness on IAM, HDD index page and Air-gapped containers page. 

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2024-11-12 08:05:58 +00:00
Sarah Sanders 363d194cac
Merge branch 'main' into ENGDOCS-2281 2024-11-11 14:59:50 -08:00
Sarah Sanders 8b81c215db Found more outdated callouts, fixed whitespacing 2024-11-08 10:32:44 -08:00
Sarah Sanders 5ffcf87c16
Merge pull request #21347 from sarahsanders-docker/ENGDOCS-2299
Update manage org docs for user invitation flow
2024-11-08 09:16:38 -08:00
Sarah Sanders a1f398e9de
Update admin-users.html 2024-11-08 07:57:01 -08:00
David Karlsson 57ee7e8062
Merge pull request #21360 from dvdksn/fix-guides-filter-unselect
hugo: show all guides when filters are unselected
2024-11-08 10:34:16 +01:00
David Karlsson 54e84be145 hugo(refactor): use Page.Store instead of Page.Scratch
Page.Scratch was soft-deprecated in v0.138.0
https://github.com/gohugoio/hugo/releases/tag/v0.138.0

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-07 15:59:16 +01:00
David Karlsson 967c2cbd06 hugo: show all guides when filters are unselected
This fixes a bug where if you would first select some filters on the
/guides landing page, and then unselect them again, the "All guides"
section would still be filtered; not all guides were displayed when
filter selection was cleared.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-07 12:09:47 +01:00
David Karlsson 50262b08f7 hugo: don't escape HTML in redirects.json
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-06 09:49:00 +01:00
David Karlsson 0f5193a86f
Revert "releaser: get redirects from files instead of env vars" 2024-11-06 09:32:12 +01:00
Sarah Sanders 0e4d61ef79 Update manage org docs for user invitation flow 2024-11-05 11:20:46 -08:00
David Karlsson 0a3f9780ce releaser: get redirects and lambda fn from files instead of env vars
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-05 12:20:22 +01:00
Sarah Sanders 3015d2c4da
Merge pull request #21274 from sarahsanders-docker/ENGDOCS-2270
Update Manage SSO guide
2024-11-04 14:11:19 -08:00
David Karlsson ac73249bf9 site: remove target=_blank
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-31 15:46:19 +01:00
Sarah Sanders 68effdcf45 Remove shortcode file 2024-10-30 09:35:24 -07:00
David Karlsson 4fdce97ab4
Merge pull request #21244 from dvdksn/guides-filters-tags
guides: rework filter logic, presentation
2024-10-30 13:27:00 +01:00
Sarah Sanders 22138707c7 Update Manage SSO guide 2024-10-29 14:58:57 -07:00
David Karlsson 2e0d0fd50d
Merge pull request #21260 from dvdksn/fix-site-header-sm-screens
site: improve header display on small devices
2024-10-29 10:08:50 +01:00
David Karlsson 56e58ae5bf site: rework guides filters and tags taxonomy
- Rework the filtering system for guides to drop the use of the
  "products", "subjects", and "levels" taxonomies in favor of "tags" and
  "languages"
- This change means that the existing taxonomy functionality integrates
  better with the guides filtering, and there are fewer parameters to
  keep in mind when adding metadata to a guide
  - Only two taxonomies instead of three
  - Only one of those taxonomies are guides-specific (languages)
  - The other taxonomy (tags) works for all content
- Updates how tags and tag pages are rendered in general

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 16:10:20 +01:00
David Karlsson 93f816efbb site: use condensed header logo on small screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 16:04:40 +01:00
David Karlsson a0bb017467 site: move theme switch to footer
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 15:55:48 +01:00
Sarah Sanders 7a980eb666 Update JIT, SCIM, and group mapping guides 2024-10-24 15:52:48 -07:00
David Karlsson 6d320898d5
Merge pull request #21097 from dvdksn/tbl-styles
hugo: update table styles
2024-10-24 15:10:43 +02:00
3juhwan f79f2c38fa Update main page index.html: Added period 2024-10-24 10:53:18 +09:00
David Karlsson c026103cef guides: update listing layout on landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-18 16:41:13 +02:00
David Karlsson ce36a8cf02 guides: improve styles for filter options on guides landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-11 14:57:03 +02:00
David Karlsson 0f80eeae07 site: automatically scroll down the sidebar to reveal the current page
Some pages are nested quite deep in the sidebar, which means they aren't
automatically visible on pageload unless the sidebar is scrolled. This
commit adds a scrolldown function to the sidebar to check if the element
representing the current page is in view. If it isn't, the sidebar is
scrolled down to a position where the current page comes into view.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 12:28:21 +02:00
David Karlsson ecc54f2b3b hugo: align cli table styles with defaults, add horizontal overflow
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 10:46:23 +02:00
David Karlsson ffd3ccd072 hugo: use render hook for markdown tables
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 10:46:11 +02:00
Craig Osterhout 3bb24b6420
admin: remove company mgmt from hub (#21035)
* admin: remove company mgmt from hub

Signed-off-by: Craig <craig.osterhout@docker.com>
2024-10-07 11:59:29 -07:00