Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions fern/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
/*
* Diagram images: solid background + color inversion for dark mode.
*
* Usage: Add class="diagram" directly to the <img> element:
* <img class="diagram" src="/assets/images/..." alt="..." />
*
* Note: Fern's zoom library (rmiz) strips classes when cloning images,
* so zoomed diagrams use a path-based selector [src*="diagram"] instead.
* Usage: Add class="diagram" to the img element and include "diagram"
* in the filename (e.g., my_diagram.webp). Fern's zoom library (rmiz)
* strips classes when cloning images, so zoomed diagrams use a
* path-based selector [src*="diagram"] instead.
*/

/* Diagram image: solid background (light mode only) */
Expand Down
9 changes: 9 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ retry_wait_time = 10
# Maximum concurrent requests
max_concurrency = 128

# Don't check URL fragments/anchors (e.g. #section-name).
# Fragment validation requires fetching and parsing the full HTML of each target
# page, which greatly increases the number of requests and triggers the known
# lychee SendError panic (race condition during shutdown).
include_fragments = false

# Only test links with the given schemes (e.g. https).
# Omit to check links with any other scheme.
# At the moment, we support http, https, file, and mailto.
Expand Down Expand Up @@ -66,6 +72,9 @@ exclude = [
# The script handles GitHub URLs separately to avoid rate limiting
"^https://github\\.com/",

# Static assets (CSS, JS, fonts, images) — no need to link-check these
"\\.(css|js|woff2?|ttf|eot|svg|png|jpe?g|webp|gif|ico)([?#]|$)",

# Non-HTTP schemes
"^mailto:",
"^tel:",
Expand Down