Skip to content

Commit 18abd31

Browse files
committed
fix(clustered): correct anchor link in scale-cluster documentation
Fix broken internal anchor link from #rrecommended-scaling-strategies-per-component to #recommended-scaling-strategies-per-component (removed extra 'r'). This was used to test the improved link-checker anchor validation functionality.
1 parent 8b58b52 commit 18abd31

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

TESTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,31 @@ link-checker check public/path/to/file.html
184184
link-checker config
185185
```
186186

187+
### Link Resolution Behavior
188+
189+
The link-checker automatically handles relative link resolution based on the input type:
190+
191+
**Local Files → Local Resolution**
192+
```bash
193+
# When checking local files, relative links resolve to the local filesystem
194+
link-checker check public/influxdb3/core/admin/scale-cluster/index.html
195+
# Relative link /influxdb3/clustered/tags/kubernetes/ becomes:
196+
# → /path/to/public/influxdb3/clustered/tags/kubernetes/index.html
197+
```
198+
199+
**URLs → Production Resolution**
200+
```bash
201+
# When checking URLs, relative links resolve to the production site
202+
link-checker check https://docs.influxdata.com/influxdb3/core/admin/scale-cluster/
203+
# Relative link /influxdb3/clustered/tags/kubernetes/ becomes:
204+
# → https://docs.influxdata.com/influxdb3/clustered/tags/kubernetes/
205+
```
206+
207+
**Why This Matters**
208+
- **Testing new content**: Tag pages generated locally will be found when testing local files
209+
- **Production validation**: Production URLs validate against the live site
210+
- **No false positives**: New content won't appear broken when testing locally before deployment
211+
187212
### Content Mapping Workflows
188213

189214
#### Scenario 1: Map and check InfluxDB 3 Core content

content/influxdb3/clustered/admin/scale-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resources available to each component.
2929
- [Horizontally scale a component](#horizontally-scale-a-component)
3030
- [Vertically scale a component](#vertically-scale-a-component)
3131
- [Apply your changes](#apply-your-changes)
32-
- [Recommended scaling strategies per component](#recommended-scaling-strategies-per-component)
32+
- [Recommended scaling strategies per component](#rrecommended-scaling-strategies-per-component)
3333

3434
## Scaling strategies
3535

0 commit comments

Comments
 (0)