bevy/.github
FlyingRatBull b399a374cb GitHub Action: Check local Markdown links on push (#2067)
Adds an GitHub Action to check all local (non http://, https:// ) links in all Markdown files of the repository for liveness.
Fails if a file is not found.

# Goal
This should help maintaining the quality of the documentation.

# Impact
Takes ~24 seconds currently and found 3 dead links (pull requests already created).

# Dependent PRs
* #2064 
* #2065 
* #2066

# Info
See [markdown-link-check](https://github.com/marketplace/actions/markdown-link-check).

# Example output
```
FILE: ./docs/profiling.md

1 links checked.

FILE: ./docs/plugins_guidelines.md

37 links checked.

FILE: ./docs/linters.md
[✖] ../.github/linters/markdown-lint.yml → Status: 400 [Error: ENOENT: no such file or directory, access '/github/workspace/.github/linters/markdown-lint.yml'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'access',
  path: '/github/workspace/.github/linters/markdown-lint.yml'
}
```

# Improvements
* Can also be used to check external links, but fails because of:
  * Too many requests (429) responses:
```
FILE: ./CHANGELOG.md
[✖] https://github.com/bevyengine/bevy/pull/1762 → Status: 429
```
   * crates.io links respond 404
```
FILE: ./README.md
[✖] https://crates.io/crates/bevy → Status: 404
```
2021-05-02 20:22:32 +00:00
..
example-run run some examples on CI using swiftshader (#1826) 2021-04-14 21:40:36 +00:00
ISSUE_TEMPLATE Issue template for documentation improvements (#1732) 2021-04-13 20:18:54 +00:00
linters GitHub Action: Check local Markdown links on push (#2067) 2021-05-02 20:22:32 +00:00
workflows GitHub Action: Check local Markdown links on push (#2067) 2021-05-02 20:22:32 +00:00
bors.toml GitHub Action: Check local Markdown links on push (#2067) 2021-05-02 20:22:32 +00:00
CONTRIBUTING.md Cleanup of Markdown Files and add CI Checking (#1463) 2021-02-22 04:50:05 +00:00
dependabot.yml Add dependabot config for cargo and GitHub Actions (#570) 2020-09-25 13:51:54 -07:00
FUNDING.yml Create FUNDING.yml 2020-08-18 10:59:30 -07:00