Skip to content

Commit aacc49e

Browse files
committed
feat(CI): add Markdown link checker
- Checks for dead links in Markdown files - First run will check all files and then we will have a list of dead links - Then we can set it up to only run on files added in the PR - Fix links
1 parent 7e6ecd0 commit aacc49e

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 🏀 Markdown Link Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
markdown-link-check:
7+
name: 🧹 Check Links
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
12+
with:
13+
use-quiet-mode: 'yes'
14+
use-verbose-mode: 'no'

docs/04.guides/01.getting-started/02.newbie-questions/page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ visible: 'false'
88

99
These instructions assume you know how to set up DNS, port forwarding for your router, and how to add a new site in IIS.
1010

11-
1) Install Lucee [[https://lucee.org/downloads.html]]
11+
1) Install Lucee [https://lucee.org/downloads.html](https://lucee.org/downloads.html)
1212

1313
2) Verify that Lucee is running (The internal IP of my Lucee server is 192.168.1.80, so I went to <http://192.168.1.80:8888> to view the Hello Lucee page, which verified a successful deployment)
1414

mlc_config.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^http:\/\/127.0.0.1.*"
5+
},
6+
{
7+
"pattern": "^http:\/\/localhost.*"
8+
},
9+
{
10+
"pattern": "^http:\/\/yourdomain.*"
11+
},
12+
{
13+
"pattern": "http:\\/\\/{hostname}.*"
14+
},
15+
{
16+
"pattern": "https:\/\/cdn.lucee.org/{version-number}.*"
17+
},
18+
{
19+
"pattern": "http:\/\/\\$host:\\$port"
20+
},
21+
{
22+
"pattern": "http:\/\/mysite.com.*"
23+
},
24+
{
25+
"pattern": "http:\/\/192.168.*"
26+
},
27+
{
28+
"pattern": "http:\/\/www.servername.com.*"
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)