Skip to content

Commit 198673e

Browse files
author
Ky Decker
authored
Add base_url and root_dir to Lychee config for link checking (#443)
1 parent 7970c69 commit 198673e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.lychee.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ scheme = ["https"]
3131
# When links are available using HTTPS, treat HTTP links as errors.
3232
require_https = true
3333

34+
# Base URL or website root directory to check relative URLs.
35+
base_url = "https://namesake.fyi"
36+
37+
# Root path to use when checking absolute local links, must be an absolute path
38+
root_dir = "/dist"
39+
3440
############################# Exclusions ##########################
3541

3642
# Exclude these filesystem paths from getting checked.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ See the [README](https://github.com/namesakefyi/namesake/blob/main/src/pdfs/READ
5151
## Creating pull requests
5252

5353
1. **Keep changes small.** If you're tackling multiple issues, split them up into multiple pull requests. Smaller chunks of code are easier to review and test!
54-
2. **Explain what you did, why, and how.** "The better we present our code for review, the more likely the reviewer will be engaged with a critical eye." — [Writing a Great Pull Request Description](https://www.pullrequest.com/blog/writing-a-great-pull-request-description/)
54+
2. **Explain what you did, why, and how.** "The better we present our code for review, the more likely the reviewer will be engaged with a critical eye." — [Writing a Great Pull Request Description](https://www.hackerone.com/blog/writing-great-pull-request-description)
5555

5656
## Releasing
5757

0 commit comments

Comments
 (0)