By enabling ignoreLocation and useExtendedSearch, we ensure
space-delimited keywords are not matched as a single phrase, and the
location of those individual matches does not matter
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
- Remove manual breakpoint definitions and use tailwind defaults
- Fix various overflow and other rendering issues
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
The X logo in the footer had an unnecessary class assigned to its svg
path, resulting in an incorrect fill color
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Serve web fonts with our own CDN rather than Google's CDN.
This improves the download speed for fonts (dns lookups, reusing tcp
connection with http/2, cache efficiency)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit adds support for icon optimization using inline svgs,
improving site performance.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
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>
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>
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>
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>
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>
- 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>