-
Notifications
You must be signed in to change notification settings - Fork 284
Fix docs broken links - add MD link checker #1974
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
✅ Deploy Preview for substrate-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
| "extract-locales": "yarn run babel --config-file ./babel-extract-locales.config.js -o tmp/chunk.js 'src/**/*.{js,jsx}' && rm -rf tmp", | ||
| "checklinks": "yarn blc --filter-level=3 -rof --requests=10 --exclude='/crates.io' --exclude='/localhost:8000' --exclude='/localhost:8100' --exclude='/localhost:8300' --exclude='/paritytech.github.io/' --exclude='undefined' http://localhost:9000/quick-start/ | tee checklinks.log" | ||
| "checklinks": "yarn blc --filter-level=3 -rof --requests=10 --exclude='/crates.io' --exclude='/localhost:8000' --exclude='/localhost:8100' --exclude='/localhost:8300' --exclude='/paritytech.github.io/' --exclude='undefined' http://localhost:9000/quick-start/ | tee checklinks.log", | ||
| "checklinks-external": "find content/md -name \\*.md -print0 | xargs -0 -n1 markdown-link-check -p -c .github/workflows/mlc_config.json" |
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 should add markdown-link-check as dev-dep later, but it seems to cause some issues because it needs node >= 16.
541b75f to
b1a4805
Compare
|
|
||
| - [Timestamp Pallet associated types](https://paritytech.github.io/substrate/master/pallet_timestamp/index.html) | ||
| - [FRAME `pallet-timestamp`](https://crates.io/crates/pallet-timestamp) | ||
| - [FRAME `pallet-timestamp`](https://crates.io/crates/pallet-timestamp)<!-- markdown-link-check-disable-line --> |
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.
You can disable link checks for this domain globally i think. Sucks that crates.io blocks it 😠
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.
Tried few times, always with no success. Also i dont get why the link gives a 404.even thought it is there. This was the only solution that actually worked
content/md/en/docs/tutorials/collectibles-workshop/detours/select-ui-tools.md
Outdated
Show resolved
Hide resolved
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.
Approving my work, myself - priceless
|
Adding for context. |
Uh oh!
There was an error while loading. Please reload this page.