Skip to content

fix(build_website): resolve the link-check sources tree rather than naming src/ - #232

Merged
ZJvandeWeg merged 1 commit into
mainfrom
website/link-check-sources
Sep 25, 2026
Merged

ZJvandeWeg merged 1 commit into
mainfrom
website/link-check-sources

Conversation

@dimitrieh

Copy link
Copy Markdown
Contributor

The Check links step passes --sources website/src. hyperlink 0.3.2 exits non-zero when that path is not there, and it does so after finding broken links but before printing them, so the report reads as a missing directory instead.

FlowFuse/website is retiring Eleventy and deleting src/ in FlowFuse/website#5795, which is what makes the hardcoded path fail. This resolves the tree at run time instead: website/src while it exists, website/nuxt/content once it does not.

Backward compatible, so main keeps pointing at src/ until that PR lands.

Draft until the website PRs under FlowFuse/website#5777 have merged, since merging here releases build_website/v1 straight away.

… src/

hyperlink 0.3.2 exits non-zero when --sources points at a directory that is not
there, which ends the step before it prints the broken links it found. The
website is removing src/ as the last of its pages move to Nuxt, so name the tree
at run time: src/ while it exists, nuxt/content once it does not.
@dimitrieh

Copy link
Copy Markdown
Contributor Author

this is in draft state until the required PRs have merged

@dimitrieh dimitrieh changed the title build_website: resolve the link-check sources tree rather than naming src/ fix(build_website): resolve the link-check sources tree rather than naming src/ Sep 25, 2026
@dimitrieh

Copy link
Copy Markdown
Contributor Author

Retitled in Conventional Commits form so the title lint passes.

The website teardown this prepares for, FlowFuse/website#5795, is rebuilt on current main. This change is backward compatible, so it can merge ahead of that PR.

@ZJvandeWeg
ZJvandeWeg marked this pull request as ready for review September 25, 2026 19:10
@ZJvandeWeg
ZJvandeWeg merged commit 6bfa143 into main Sep 25, 2026
1 of 2 checks passed
@ZJvandeWeg
ZJvandeWeg deleted the website/link-check-sources branch September 25, 2026 19:10
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.

2 participants