-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ Add
lychee
workflow & new components library (#47)
* feat: add ``lychee`` command to check links * feat: initial custom ``lychee`` config * feat: initial check-links action with lychee * feat: add new components library * fix: update ``exclude`` links * feat: update components menu with new date
- Loading branch information
Showing
5 changed files
with
73 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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,16 @@ | ||
name: Links | ||
|
||
on: [push] | ||
|
||
jobs: | ||
linkChecker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
fail: true | ||
args: --config './lychee.toml' . |
This file contains 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 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 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,40 @@ | ||
############################# Display ############################# | ||
|
||
# Verbose program output | ||
# Accepts log level: "error", "warn", "info", "debug", "trace" | ||
verbose = "info" | ||
|
||
############################# Exclusions ########################## | ||
|
||
# Skip missing input files (default is to error if they don't exist). | ||
skip_missing = false | ||
|
||
# Check links inside `<code>` and `<pre>` blocks as well as Markdown code | ||
# blocks. | ||
include_verbatim = false | ||
|
||
# Ignore case of paths when matching glob patterns. | ||
glob_ignore_case = false | ||
|
||
# Exclude URLs and mail addresses from checking (supports regex). | ||
exclude = ['^https://www\.twitter\.com', '^https://twitter\.com', '^https://discord\.io', '^https://discord\.com', 'https://github.com/nsdonato/recursostech/'] | ||
|
||
# Exclude these filesystem paths from getting checked. | ||
exclude_path = ["./.git", "./.github", "./app", "./public", "./docs/doc_template_general.mdx"] | ||
|
||
# Exclude all private IPs from checking. | ||
# Equivalent to setting `exclude_private`, `exclude_link_local`, and | ||
# `exclude_loopback` to true. | ||
exclude_all_private = false | ||
|
||
# Exclude private IP address ranges from checking. | ||
exclude_private = false | ||
|
||
# Exclude link-local IP address range from checking. | ||
exclude_link_local = false | ||
|
||
# Exclude loopback IP address range and localhost from checking. | ||
exclude_loopback = false | ||
|
||
# Check mail addresses | ||
include_mail = false |
This file contains 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