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>
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>
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>
* 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