Repository navigation
Commit 1fbfadf
authored
docs(dspy): fix the optimizers overview link on the BetterTogether page (#10253)
* docs(dspy): fix the optimizers overview link on the BetterTogether page
The "Further Reading" link pointed at ../../../learn/programming/optimizers.md,
which is wrong twice over: the optimizers overview lives under
learn/optimization/, not learn/programming/, and from docs/api/optimizers/ the
three-level prefix climbs above the docs root. mkdocs left the href untouched in
the rendered page, so the link 404s for readers.
Point it at ../../learn/optimization/optimizers.md, matching the two-level form
already used in api/utils/configure.md and api/utils/context.md.
* docs(dspy): point the further-reading link at the live optimizer guide
The first pass only fixed the path, so the link resolved but landed on a
redirect stub: mkdocs.yml maps learn/optimization/optimizers.md to
getting-started/gepa-optimization.md, and the whole learn/ tree redirects into
getting-started/. A reader clicking "DSPy Optimizers Overview" ended up in the
GEPA tutorial instead of an overview.
Link diving-deeper/choosing-an-optimizer.md instead, which is live in the nav,
carries no redirect, and covers what each optimizer tunes and how to pick one.
The label now repeats that page's own title so the two cannot drift apart again.1 parent 33aaa19 commit 1fbfadf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
0 commit comments