Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
08061f2
blahhhhhhhhh
katrinafyi Oct 30, 2025
7311e8c
use custom integration
katrinafyi Nov 2, 2025
d3d0850
add message
katrinafyi Nov 2, 2025
3e2e7bf
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi Nov 4, 2025
b968bb4
fdjsamiofdsajiofdsaijo
katrinafyi Nov 5, 2025
3c8dc20
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi Nov 8, 2025
45a3710
rm cli.md
katrinafyi Nov 8, 2025
35353c7
trying single code block highlight again. why is it blue???
katrinafyi Nov 8, 2025
2b85c81
steal starlight's colours to make it grey ;-;
katrinafyi Nov 8, 2025
5bd52be
Revert "steal starlight's colours to make it grey ;-;"
katrinafyi Nov 8, 2025
0975b29
Revert "trying single code block highlight again. why is it blue???"
katrinafyi Nov 8, 2025
e6b31e9
biome
katrinafyi Nov 8, 2025
0c90d66
remove escapeMarkdown
katrinafyi Nov 8, 2025
0936b31
remove default value formatting
katrinafyi Nov 8, 2025
35bde02
try add remark-smartypants to package.json
katrinafyi Nov 8, 2025
96550cf
Revert "remove default value formatting"
katrinafyi Nov 8, 2025
de6c2a8
format markdown as rich text, rather than code. i think,
katrinafyi Nov 8, 2025
fb71736
pnpm lock
katrinafyi Nov 9, 2025
70d233c
reorder sidebar based on (subjective) frequency of use. also
katrinafyi Nov 9, 2025
0c04834
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi Nov 9, 2025
2890f8c
extract lychee-version.ts and add note of current version to docs
katrinafyi Nov 10, 2025
a2eba55
Apply suggestions from code review
katrinafyi Nov 11, 2025
9b2d97b
undo 3 blank lines
katrinafyi Nov 11, 2025
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
14 changes: 12 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import smartypants from "remark-smartypants";
import { generateCliOptionsIntegration } from "./src/generate-cli-options";

// https://astro.build/config
export default defineConfig({
site: "https://lychee.cli.rs",
markdown: {
remarkPlugins: [
// automatically converting smart dashes causes problems with cli arguments.
// to insert dashes, use unicode or — or –.
[smartypants, { dashes: false }],
],
},
integrations: [
generateCliOptionsIntegration("src/content/docs/guides/_cli.md"),
starlight({
expressiveCode: {
themes: ["catppuccin-frappe", "catppuccin-latte"],
Expand Down Expand Up @@ -38,11 +48,11 @@ export default defineConfig({
label: "Guides",
items: [
"guides/getting-started",
"guides/library",
"guides/config",
"guides/cli",
"guides/config",
"guides/output",
"guides/preprocessing",
"guides/library",
],
},
{
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@astrojs/check": "^0.9.5",
"@astrojs/starlight": "^0.36.2",
"astro": "^5.15.3",
"remark-smartypants": "^3.0.2",
"sharp": "^0.34.4",
"typescript": "^5.9.3"
},
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/content/docs/guides/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/cli.md
30 changes: 30 additions & 0 deletions src/content/docs/guides/_cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Command-Line Flags
---
<!--
The _cli.md file is used as a template to generate the cli.md file
at build time.
-->

README-OPTIONS-PLACEHOLDER

## Repeating Options

Some options can be specified multiple times. This is true for:

- `--exclude`
- `--exclude-path`
- `--header`
- `--include`
- `--remap`
- `--scheme`

Here is an example:

```bash
lychee --exclude https://example.com --exclude https://example.org README.md
```

To specify multiple values in this way, the argument flag should be repeated.
Otherwise, the extra values would be treated as link checking inputs.

Loading