-
Notifications
You must be signed in to change notification settings - Fork 205
feat: add vale for docs linting #2015
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
🌿 Documentation Preview
|
dab8ca6 to
d9cd9d4
Compare
| base_url = "https://www.alchemy.com" | ||
|
|
||
| # Exclude links that end with .mdx or .png | ||
| exclude = [".*\\.mdx$", ".*\\.png$"] No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why exclude mdx here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was getting a bunch of false positives when I didn't ignore .mdx links. Links that end in .mdx shouldn't be valid anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah and the pngs are because they're local files. Makes sense
| - name: Install Lychee | ||
| run: | | ||
| wget -O lychee.tar.gz https://github.com/lycheeverse/lychee/releases/download/lychee-v0.20.1/lychee-x86_64-unknown-linux-gnu.tar.gz | ||
| tar -xzf lychee.tar.gz | ||
| sudo mv lychee /usr/local/bin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you see they already have a GitHub Action you can use?
https://github.com/lycheeverse/lychee-action/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah Vale also has GH actions available but I would need to go through IT to get them allowlisted. Didn't want to be blocked for a few days on that so this was the quickest alternative
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah gotcha. Ya I really hate that rule lol
Pull Request Checklist
yarn test)sitefolder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change)yarn lint:check) and fix any issues? (yarn lint:write)PR-Codex overview
This PR enhances the documentation for the
Smart Walletsproject by improving clarity, consistency, and adherence to style guidelines. It adds new linting rules, updates various sections for better readability, and introduces new configuration files.Detailed summary
.gitignoreto include.lycheecache.base_urlandexcludepatterns inlychee.toml.docs/shared/get-api-key.mdxand other MDX files.package.jsonwith new linting scripts and dependencies.