-
Notifications
You must be signed in to change notification settings - Fork 17
Fetch readme and generate Markdown for CLI flags at build time #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
thomas-zahner
merged 23 commits into
lycheeverse:master
from
rina-forks:fetch-readme-goofy
Nov 17, 2025
Merged
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
08061f2
blahhhhhhhhh
katrinafyi 7311e8c
use custom integration
katrinafyi d3d0850
add message
katrinafyi 3e2e7bf
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi b968bb4
fdjsamiofdsajiofdsaijo
katrinafyi 3c8dc20
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi 45a3710
rm cli.md
katrinafyi 35353c7
trying single code block highlight again. why is it blue???
katrinafyi 2b85c81
steal starlight's colours to make it grey ;-;
katrinafyi 5bd52be
Revert "steal starlight's colours to make it grey ;-;"
katrinafyi 0975b29
Revert "trying single code block highlight again. why is it blue???"
katrinafyi e6b31e9
biome
katrinafyi 0c90d66
remove escapeMarkdown
katrinafyi 0936b31
remove default value formatting
katrinafyi 35bde02
try add remark-smartypants to package.json
katrinafyi 96550cf
Revert "remove default value formatting"
katrinafyi de6c2a8
format markdown as rich text, rather than code. i think,
katrinafyi fb71736
pnpm lock
katrinafyi 70d233c
reorder sidebar based on (subjective) frequency of use. also
katrinafyi 0c04834
Merge remote-tracking branch 'origin/master' into fetch-readme-goofy
katrinafyi 2890f8c
extract lychee-version.ts and add note of current version to docs
katrinafyi a2eba55
Apply suggestions from code review
katrinafyi 9b2d97b
undo 3 blank lines
katrinafyi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| --- | ||
| import fs from "node:fs/promises"; | ||
| import { Code as SCode } from "@astrojs/starlight/components"; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /cli.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.