Skip to content

Commit e0e2351

Browse files
Merge pull request #142 from dansysanalyst/upgrade-actions
[CHORE] Upgrade actions
2 parents 0b71aa8 + 9ba2e06 commit e0e2351

5 files changed

Lines changed: 60 additions & 126 deletions

File tree

.github/lychee.toml

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/workflows/link_check.yml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,41 @@
1-
# This action checks for broken links
2-
name: Check Links
1+
name: Check Markdown Links
32

43
on:
54
push:
65
pull_request:
76

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
814
jobs:
9-
linkChecker:
15+
lychee:
16+
name: Link Checker
1017
runs-on: ubuntu-latest
1118
steps:
12-
- uses: actions/checkout@v4
19+
- name: Checkout Codebase
20+
uses: actions/checkout@v6
21+
with:
22+
persist-credentials: false
1323

1424
- name: 🔗 Check Links
15-
uses: lycheeverse/lychee-action@v1
25+
uses: lycheeverse/lychee-action@v2
1626
with:
1727
fail: true
18-
args: --config .github/lychee.toml './docs/*.md'
28+
args: >-
29+
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
30+
--exclude "https?://(www\.)?(twitter\.com|x\.com|instagram\.com|linkedin\.com)"
31+
--threads 2
32+
--max-redirects 10
33+
--max-retries 2
34+
--max-concurrency 14
35+
--timeout 20
36+
--retry-wait-time 2
37+
--accept 200,429
38+
--method get
39+
"./docs/*.md"
1940
env:
20-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Live broken link check
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: '0 0 * * 0'
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
crawl_for_broken_links:
13+
runs-on: ubuntu-latest
14+
name: Broken-Links-Crawler
15+
16+
permissions:
17+
contents: read
18+
19+
steps:
20+
- name: Checking links
21+
uses: ScholliYT/Broken-Links-Crawler-Action@v3
22+
with:
23+
website_url: 'https://livewire-powergrid.com'
24+
exclude_url_prefix: 'mailto:,data:,https://twitter.com,https://x.com'
25+
verbose: 'true'
26+
max_retry_time: 30
27+
max_retries: 5
28+
max_depth: -1
29+
resolve_before_filtering: 'true'
30+
exclude_url_suffix: 'apple-touch-icon.png,logomark2x.png,favicon.ico,favicon-32x32.png,favicon-16x16.png,site.webmanifest'

docs/get-started/create-powergrid-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here you will find:
88

99
## Introduction
1010

11-
Now that you've finished the PowerGrid [Essential Configuration](get-started/powergrid-configuration.html#essential-configuration), it's time create your very first Table Component!
11+
Now that you've finished the PowerGrid [Essential Configuration](/get-started/powergrid-configuration.html#essential-configuration), it's time create your very first Table Component!
1212

1313
## Create a Table
1414

docs/table-component/component-columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Column::make('Dish name', 'name')
371371

372372
### visibleInExport()
373373

374-
Sometimes, you may want to hide and exclude a specific column when [Exporting Data](/table-component/table-data-export.html). This method gives you control whether the column will be included or not in the file containing the exported data.
374+
Sometimes, you may want to hide and exclude a specific column when [Exporting Data](/table-features/exporting-data.html). This method gives you control whether the column will be included or not in the file containing the exported data.
375375

376376
| Parameter | Description |
377377
|-----------------|------------------------------------------------------------------------------------|

0 commit comments

Comments
 (0)