Skip to content

Commit e128f7f

Browse files
committed
add starlight-links-validator and update references in documentation
1 parent 1cfc07d commit e128f7f

7 files changed

Lines changed: 122 additions & 27 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { defineConfig } from 'astro/config';
33
import starlight from '@astrojs/starlight';
44
import starlightThemeGalaxy from 'starlight-theme-galaxy';
55
import starlightSidebarTopics from 'starlight-sidebar-topics';
6+
import starlightLinksValidator from 'starlight-links-validator';
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -68,6 +69,7 @@ export default defineConfig({
6869
},
6970
]),
7071
starlightThemeGalaxy(),
72+
starlightLinksValidator(),
7173
]
7274
}),
7375
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@types/node": "^26.1.1",
1616
"astro": "^7.1.5",
1717
"sharp": "^0.34.5",
18+
"starlight-links-validator": "^0.25.2",
1819
"starlight-sidebar-topics": "^0.8.0",
1920
"starlight-theme-galaxy": "^0.8.0"
2021
}

pnpm-lock.yaml

Lines changed: 114 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/docs/hardware/actuators/feedback-servos.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sidebar:
77

88
import { Tabs, TabItem } from '@astrojs/starlight/components';
99

10-
`NextFeedbackServo` and `NextFeedbackCRServo` pair a [`NextServo`](/reference/servos) or [`NextCRServo`](/reference/cr-servos) with an analog feedback input, for servos with a feedback wire (e.g. Axon). They inherit everything from their base class and add `angle` for reading the servo's actual physical angle.
10+
`NextFeedbackServo` and `NextFeedbackCRServo` pair a [`NextServo`](/hardware/actuators/servos/) or [`NextCRServo`](/hardware/actuators/cr-servos/) with an analog feedback input, for servos with a feedback wire (e.g. Axon). They inherit everything from their base class and add `angle` for reading the servo's actual physical angle.
1111

1212
## Creating a feedback servo
1313

14-
Both classes pair the constructors you already know from [`NextServo`](/reference/servos) and [`NextCRServo`](/reference/cr-servos) with an already-constructed `AnalogFeedback` instance for reading the angle.
14+
Both classes pair the constructors you already know from [`NextServo`](/hardware/actuators/servos/) and [`NextCRServo`](/hardware/actuators/cr-servos/) with an already-constructed `AnalogFeedback` instance for reading the angle.
1515
All of these below are interchangeable with `NextFeedbackCRServo`.
1616

1717
<Tabs syncKey="language">

src/content/docs/hardware/miscellaneous/rgb-indicator.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77

88
import { Tabs, TabItem } from '@astrojs/starlight/components';
99

10-
`NextRGBIndicator` is a wrapper for the [goBILDA PWM RGB Indicator Light](https://www.gobilda.com/rgb-indicator-light-pwm-controlled/). The module behaves like a servo, where different PWM positions correspond to different colors and patterns. It extends [`NextServo`](/reference/servos), so everything from that class is available too.
10+
`NextRGBIndicator` is a wrapper for the [goBILDA PWM RGB Indicator Light](https://www.gobilda.com/rgb-indicator-light-pwm-controlled/). The module behaves like a servo, where different PWM positions correspond to different colors and patterns. It extends [`NextServo`](/hardware/actuators/servos/), so everything from that class is available too.
1111

1212
## Creating a NextRGBIndicator
1313

src/content/docs/introduction/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Introduction
33
description: What NextFTC is and how to get started.
44
next:
55
label: Installation
6-
link: introduction/installation
6+
link: /introduction/installation/
77
---
88

99
import { Tabs, TabItem, CardGrid, Card } from '@astrojs/starlight/components'

0 commit comments

Comments
 (0)