Updates linkchecker and fixes up the doc contribution sections (#24660)

* Update yarn linkchecker

* Fix edit page links. Fix contribution pages
This commit is contained in:
Hamish Willee
2025-04-03 12:41:56 +11:00
committed by GitHub
parent db97dd471d
commit 27ff547e07
5 changed files with 56 additions and 27 deletions
+2 -2
View File
@@ -81,9 +81,9 @@ export default defineConfig({
? ({ filePath, frontmatter }) => {
if (frontmatter.newEditLink) {
//newEditLink defines a frontmatter key you can use to append a path to main
return `https://github.com/PX4/PX4-Autopilot/edit/main/${frontmatter.newEditLink}`;
return `https://github.com/PX4/PX4-Autopilot/edit/main/docs/${frontmatter.newEditLink}`;
} else {
return `https://github.com/PX4/PX4-Autopilot/edit/main/${filePath}`;
return `https://github.com/PX4/PX4-Autopilot/edit/main/docs/${filePath}`;
}
}
: (c) =>