seL4-docs/assets
Gerwin Klein 8095d010fa copy button: narrower CSS selector
Code highlight blocks have the form

<div class="higlight"><pre><code>...

(wrapped in another div that specifies the language). The copy-button
insertion relies on the presence of the <div>. The previous CSS selector
was too loose for that, it allowed the <pre> to be a direct descendant
of any <div> at any position, so it could be

<div> <p>..</p> etc <pre><code>

which does happen when the syntax highlighter does not recognise the
language that is passed in from the code block (```lang).

This means only code blocks with recognised language will have a copy
button.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2025-07-21 09:09:53 +01:00
..
css Add copy button to code block with language set 2025-07-16 09:57:32 +10:00
js copy button: narrower CSS selector 2025-07-21 09:09:53 +01:00
404.html Add SPDX license identifiers 2020-11-30 09:25:37 +11:00
favicon.ico Move non-content into assets dir 2020-02-17 13:52:47 +11:00
favicon.ico.license Add SPDX license identifiers 2020-11-30 09:25:37 +11:00
logo-sel4-docs.svg tweak sel4 docs logo 2025-07-16 09:57:15 +10:00
logo-sel4-docs.svg.license try change logo with DOCS tagline 2025-07-16 09:57:13 +10:00
logo-text-white.svg Replace gradient logo by flat version 2020-09-11 16:08:14 +08:00
logo-text-white.svg.license Add SPDX license identifiers 2020-11-30 09:25:37 +11:00
sitemap.md sitemap: use relative_url for preview 2025-07-16 09:57:25 +10:00