Skip to content

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

Draft
dimitrieh wants to merge 1 commit into
mainfrom
website/link-check-sources
Draft

dimitrieh wants to merge 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

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.

1 participant