diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2b5fe245..42681a5d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,13 +2,21 @@ name: Docs on: pull_request: - paths: - - docs/** jobs: - test: + spell-check: + name: Spell Check uses: FuelLabs/github-actions/.github/workflows/mdbook-docs.yml@master with: - docs-src-path: 'docs/book/src' - spellcheck-config-path: 'docs/book/.spellcheck.yml' - \ No newline at end of file + docs-src-path: "docs/book/src" + spellcheck-config-path: "docs/book/.spellcheck.yml" + + link-check: + name: Link Check + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + - uses: gaurav-nelson/github-action-markdown-link-check@1.0.15 + with: + configuration-path: "docs/book/.markdown-link-check.json" diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 00000000..26061fe8 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,10 @@ +{ + "ignorePatterns": [ + { + "pattern": "^https://crates\\.io.*" + }, + { + "pattern": "https://github.com/FuelLabs/devrel-requests/issues/new/choose" + } + ] +}