Commit Graph

137 Commits

Author SHA1 Message Date
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 a6a5cb5ebe js: remove sidebar scrolldown effect
When accessing a page that's far down the left-hand sidebar, we have a
script that would scroll the sidebar position down so that the selected
item is visible. In some cases, this would cause some confusion and
jittery rendering on page load.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 08:35:41 +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 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 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 91a2200a11 fix: dockerfile tooltips should match only keywords
Before this change, the Dockerfile tooltip script marked all occurences
of keywords, as defined by the lexer, as Dockerfile instructions in a
`dockerfile` code block. This meant some tokens parsed from heredocs
would be included. The matched keyword token is now compared against a
hard-coded list of actual Dockerfile instructions before they're
annotated.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-12 12:14:18 +01:00
David Karlsson a13ad08101 css: add external-link utility class
Adds an .external-link utility class, to be used together with the
existing .link utility, for adding the correct styles to the open_in_new
icon without having to duplicate the markup each time.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-08 13:17:26 +01:00
David Karlsson d006adfc20 css: add icons utility
Adds an .icon utility class to set ligature text via via a data-icon
attribute on the element. This is a workaround to prevent crawlers from
picking up the font ligature innertext in html directly.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-08 13:15:58 +01: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 ed83bfba4b Revert "style: adjust callout colors to match dds alerts"
This reverts commit b77d185c27.
2024-01-02 14:09:46 +01:00
David Karlsson 5abe774df8 fix: code span colors in dark mode
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-02 13:51:35 +01:00
David Karlsson 0a007cf09d style: color override for code spans in callouts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 20:20:56 +01:00
David Karlsson ce6563475b style: update search button bg to match dds
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 20:11:03 +01:00
David Karlsson f1331c5c2c style: adjust callout spacing to match dds alerts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 19:56:50 +01:00
David Karlsson b77d185c27 style: adjust callout colors to match dds alerts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-28 19:48:11 +01:00
David Karlsson b7e3ae1c69 hugo: use white text for code identifiers
NameOther identifiers had a dark violet color in dark mode, making them
illegible in e.g. code blocks. Changed to plain white.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-21 16:03:36 +01:00
David Karlsson 2f779a076d hugo: unset font-style and font-weight for code
Italicized and bold text didn't really add any value to code blocks

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-21 15:49:44 +01:00
David Karlsson 0adbe36a0f feat: add invertible class for images
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-10 21:32:40 +01:00
David Karlsson fbab835920 css: improve table display
- Use full reading col width for tables on large screens
- Use `display: block; overflow-x: scroll;` on small screens

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-06 20:52:09 +01:00
David Karlsson fb87f9c93f
Merge pull request #18735 from dvdksn/code-hl-lines
feat: add support for hl_lines
2023-11-27 11:01:06 +01:00
David Karlsson 59e685da08 feat: add support for hl_lines
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-21 11:35:36 +01:00
David Karlsson cffc6251e3 style: fix margin for li with children
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-21 09:45:51 +01:00
David Karlsson fc39602f1d fix: li margin issue
List item margins were incorrectly set to 0.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-14 09:20:32 +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
Allie Sadler b4268ce362
fancy callout icons (#18586) 2023-11-06 11:17:04 +00:00
David Karlsson cfdf5bd86a feat: no-select generic prompts in codeblocks
Makes it easier to copy console commands by e.g. triple-click

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-30 20:52:57 +01: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
David Karlsson ec22fd57f5 feat: add dockerfile tooltips
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-13 14:31:34 +02:00
David Karlsson dab13dbaff style: font antialiasing
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-28 11:01:33 +02:00
Rishi Pradeep 88a0a97638
Update search.css (#18203)
Centered the CTRL K icons in the search bar.
2023-09-26 11:44:11 +01:00
David Karlsson e91c4cceb4 fix: rendering for callouts without title
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-07 17:43:10 +02:00
David Karlsson 4008bfd11b chore: format with prettier
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-07 17:42:15 +02:00
David Karlsson d603fb6571 ux: enable search for non-prod deploys
Search results include the hostname by default.
This change strips the hostname which makes it
possible to search when the site is deployed on
other domains, such as netlify and localhost.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-24 15:14:15 +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
Allie Sadler 33ac6f8697
new screenshot for extensions (#17905)
* new screenshot

* oops

* remove image

---------

Co-authored-by: Allie Sadler <alliesadler@f693mt7fh6.home>
2023-08-10 17:05:15 +01:00
Craig Osterhout 59bcc82aba
Improve undefined error in EULA. (#17187)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-05-02 08:48:44 -07:00
Craig Osterhout aaa79c2b6d
Merge pull request #17148 from craig-osterhout/fix-modal-error
Add modal check
2023-04-21 09:26:00 -07:00
craig-osterhout d7104e157b
update arch image 2023-04-19 16:41:55 -07:00
craig-osterhout eb774bd5fd
add check in modal.js 2023-04-19 08:29:30 -07:00
Allie Sadler fe17d7434c
release refreshen (#16993) 2023-03-28 16:05:24 +01:00
Craig Osterhout f4258c0c1e
Add learning center walkthroughs (#16893)
* add learning center walkthroughs
2023-03-26 20:43:19 -07:00
Allie Sadler 62b78dd9de
ENGDOCS-1274 (#16961)
* ENGDOCS-1274

* move pages about

* fix images

* fix images

* fix typo
2023-03-25 08:37:29 +00:00
CrazyMax c7d42efd55
do not append anchorLink for tiles
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-17 16:41:46 +01:00
Allie Sadler b59dad4f9a
ENGDOCS-1258 (#16857)
* ENGDOCS-1258

* toc updates

* fix build and edit pages

* edits

* fix build

* review edits

* edits from review

* tweaks
2023-03-14 08:58:53 +00:00
Chris Chinchilla 483fa29903
Merge pull request #16833 from docker/chrisward/repo-pub-images
Add details on uploading logos to repositories
2023-03-09 17:11:57 +01:00
Chris Chinchilla 957bcc4af5 Add details on uploading logos to repositories 2023-03-06 11:16:31 +01:00
Allie Sadler 4040625ffc
Engdocs 1244 (#16817)
* billing pages and landing page

* toc updates

* billing pages

* faqs

* tidy up

* typo
2023-03-06 09:36:45 +00:00
Craig Osterhout 75a2468ce3
Update Docker architecture diagram (#16809)
* update arch diagram
2023-03-01 07:02:35 -08:00
Chris Chinchilla 38d21e6009 Improve read me feedback details 2023-03-01 13:19:28 +01:00
Benjamin Grandfond 850fde24e2
Update extension publishing process (#16592)
* Add validate page in the toc as it was missing

* Update publishing process

Introduce self-published and docker reviewd notions

Apply suggestions from code review

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
Co-authored-by: Felipe Cruz Martinez <15997951+felipecruz91@users.noreply.github.com>

* Add cards for publishing option to make them more visible

* Add images on cards

* Add description on the cards

* Mention self-published extension in the end users docs page as well

* Use buttons rather than cards

* Apply suggestions from code review

* Update desktop/extensions-sdk/extensions/publish.md

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
Co-authored-by: Felipe Cruz Martinez <15997951+felipecruz91@users.noreply.github.com>
2023-02-27 16:15:43 +00:00
Chris Chinchilla b59cc13fae Replace broken image 2023-02-27 12:28:47 +01:00
Allie Sadler 58a506a8a9
modal fix (#16591) 2023-01-25 15:06:06 +00:00
Allie Sadler 1e4ecd6341
Update reference overview page (#16454)
* Update reference overview page

* add blocks

* add icons

* Update reference/index.md
2023-01-12 08:44:58 +00:00
Allie Sadler ad4c5dd659
image zoom modal (#15975)
* POC image modal

* standardize image size

* fixes

* fixes

* reverse an earlier commit and tweak further

* experiments

* more playing around

* simplify

* David's magic

* david fix

* test

* test 2

* Final fix

* now the final fix
2023-01-10 17:01:21 +00:00
Sebastiaan van Stijn 5b5b60beb3
Merge pull request #16133 from dvdksn/restructure-engine-docs
restructure engine docs
2022-12-01 17:16:56 +01:00
Allie Sadler b3d299f3ae
change screenshots to reflect new Design System (#16245) 2022-12-01 15:26:41 +00:00
David Karlsson 5135d40383 engine: restructure and consolidate
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-12-01 15:44:37 +01:00
Allie Sadler fef904be8d
Align with Design System (#16201)
* add DDS colors to docs and change main variables and style.scss sheet

* find and replace colors from color-palette-2 and deprecate palette 2

* find and replace colors from color-palette-3 and deprecate palette 3

* more alignment with colors

* change typography

* typography tweaks

* fix fonts

* dark mode and accessibility

* review changes

* icons

* icons

* icons

* accessibility fix on footer

* review comments
2022-11-30 15:57:19 +00:00
Allie Sadler 3f0cded22f
SDK landing page reorg (#16174)
* SDK landing page reorg

* fix link
2022-11-17 12:04:27 +00:00
David Karlsson 7b23e226e0
build: add landing page tiles (#16162)
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-11-15 14:48:48 +01:00
Allie Sadler aca1285b61
Eci patch 2 (#16152)
* correct outdated eci information

* move IAM into Hardened Desktop
2022-11-14 13:14:14 +00:00
Alexey Pyltsyn 41b42d94fe
Enable dark mode in browser UI (#16025) 2022-10-31 15:29:01 +01:00
Allie Sadler dceacd803a
a less jarring banner image (#15968) 2022-10-25 12:13:33 +01:00
Craig Osterhout 535a9c2c83
Merge pull request #15942 from craig-osterhout/remove-prompt
Remove $ prompt from code copy
2022-10-21 10:09:58 -07:00
craig-osterhout 6fa06e8174
remove $ prompt from code copy 2022-10-21 09:03:57 -07:00
Allie Sadler 8f2c9e5d5e
update home page banner (#15940) 2022-10-21 13:21:53 +01:00
Allie Sadler 173c903a9a
Hardened Desktop and Admin Controls (#15775)
* initial structure of ECI-DM
draft layout

* PR-FAQ additions

* further PR-FAQ additions

* edits, edits, edits

* edits and fix broken link

* added more known issues

* incorporate review feedback

* tweaks from feedback

* review comments for hardened desktop landing page

* review comments for the Admin Controls landing page

* review comments for the ECI FAQ page

* review comments for the AC Configure page

* screenshot add

* review round 2 changes

* more tweaks

* info from @ebriney

* minor tweaks

* consistency fixes and tweaks

* remove trailing comma and add more WSL notes

* customer zero feedback

* review suggestions from Rodny and Cesar, and proxy section fix

* review edits from Rodny and Docs team

* bug bash 1 fixes

* bug bash 1 fixes

* changes from bug bash 2

* Further comments from Cesar

* proxy change

* tweaks and installer flag addition

* typo fix

* typo fix

* Cesar's additions

* fix broken links

* final checks
2022-10-19 16:19:28 +01:00
David Karlsson 24158cc3c2
add code copy feature (#15910)
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-10-19 14:29:26 +02:00
David Karlsson 7dcbc6a390 downscale to 250px 2022-09-27 14:37:07 +02:00
David Karlsson 46f298791b compressed landing page icon for build 2022-09-27 14:31:29 +02:00
David Karlsson 465d167d00
Add build to list of products on landing page (#15754) 2022-09-27 13:41:40 +02:00
Allie Sadler cbbb9f1fac
Engdocs 931 944b (#15589)
* edit overview page

* add the whalemenu

* add better whale-menu icon from the Design system

* add info on the whalemenu

* fix images

* fix broken links

* update terms
2022-09-07 13:28:02 +01:00
David Karlsson 573da07d2f
removed icon background (#15587) 2022-09-07 10:01:43 +01:00
Allie Sadler bed6594a77
align images with design system (#15582) 2022-09-06 17:33:47 +01:00
CrazyMax cc0fc46783
jekyll(assets): move images to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:23 +02:00
CrazyMax ce02b9d60b
jekyll(assets): move favicons to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:23 +02:00
CrazyMax 16d149282d
jekyll(assets): move fonts to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:23 +02:00
CrazyMax 998bfbfd09
jekyll(assets): move css to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:22 +02:00
CrazyMax 56cfd1bac1
jekyll(assets): move redoc to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:11 +02:00
CrazyMax 82838fb61d
jekyll(assets): move jquery to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:11 +02:00
CrazyMax 2a0de5f737
jekyll(assets): move bootstrap to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:10 +02:00
CrazyMax 189d8abe48
jekyll(assets): move style scss to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:49:10 +02:00
CrazyMax 33785a9064
jekyll(assets): move api-reference css to assets folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-05 15:48:44 +02:00
CrazyMax b672b2894a
jekyll(assets): update font awesome to 6.1.2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-27 16:03:02 +02:00