mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 12:48:53 +08:00
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:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user