Skip to content

ci: warn on broken links - #368

Merged
tisonkun merged 1 commit into
apache:mainfrom
tisonkun:warn-on-broken-links
Jan 9, 2023
Merged

ci: warn on broken links#368
tisonkun merged 1 commit into
apache:mainfrom
tisonkun:warn-on-broken-links

Conversation

@tisonkun

@tisonkun tisonkun commented Jan 9, 2023

Copy link
Copy Markdown
Member

I'm going to integrate the build stage in the pre-commit workflow then we can have the broken links detection in CI.

Current output for broken markdown links (partial):

image

... and broken links:

image

Some are missing pages; others are markers to be replaced on build. We should sort them out and conquer separately. Most markers to be replaced on build should be able to replace with TSX components.

cc @momo-jun @Anonymitaet @urfreespace

Signed-off-by: tison <wander4096@gmail.com>
@tisonkun
tisonkun requested a review from urfreespace January 9, 2023 08:07
@tisonkun
tisonkun merged commit 01f99d9 into apache:main Jan 9, 2023
@tisonkun
tisonkun deleted the warn-on-broken-links branch January 9, 2023 13:26
@momo-jun

Copy link
Copy Markdown
Contributor

@tisonkun Thanks for enabling this feature!
Since I've been fixing the reported broken links through #406, I will double-check and fix all the broken links that have been warned during the local build for 2.8.x and later versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc][improve] Auto-detect broken links and integrate into CI process

3 participants