Download next.js/.github/actions/validate-docs-links/README.MD from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/.github/actions/validate-docs-links/README.MD
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/.github/actions/validate-docs-links/README.MD
-
curl -L -o README.MD https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/.github/actions/validate-docs-links/README.MD
699 Bytes
| # GitHub Action for Validating Documentation Links | |
| This action ensures that internal links in `.mdx` files in the `/docs/` directory are valid. It runs on every pull request that includes changes to these files. | |
| The action is triggered by the workflow defined in `.github/workflows/validate-docs-links.yml`. | |
| ## Usage | |
| This action is written in TypeScript and compiled locally before being pushed to GitHub. | |
| To make changes: | |
| - Edit the `src/index.ts` file. | |
| - Navigate to the script folder `cd .github/actions/validate-docs-links` | |
| - Run `npm install` to install dependencies. | |
| - Run `npm run build` to compile code. This will create an updated `lib/index.js`. | |
| - Commit and push changes to GitHub. | |