Skip to content

Commit 6fe6935

Browse files
added the changes for the redirects (#1704)
1 parent 4bc9866 commit 6fe6935

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/mkdocs.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,17 @@ plugins:
149149
'docs/building-blocks/6-optimizers.md': 'building-blocks/6-optimizers.md'
150150
'docs/building-blocks/7-assertions.md': 'building-blocks/7-assertions.md'
151151
'docs/building-blocks/8-typed_predictors.md': 'building-blocks/8-typed_predictors.md'
152+
153+
# Additional Building Blocks redirects for non-numbered versions
154+
'docs/building-blocks/0_solving_your_task.md': 'building-blocks/solving_your_task.md'
155+
'docs/building-blocks/language_models.md': 'building-blocks/1-language_models.md'
156+
'docs/building-blocks/signatures.md': 'building-blocks/2-signatures.md'
157+
'docs/building-blocks/modules.md': 'building-blocks/3-modules.md'
158+
'docs/building-blocks/data.md': 'building-blocks/4-data.md'
159+
'docs/building-blocks/metrics.md': 'building-blocks/5-metrics.md'
160+
'docs/building-blocks/optimizers.md': 'building-blocks/6-optimizers.md'
161+
'docs/building-blocks/assertions.md': 'building-blocks/7-assertions.md'
162+
'docs/building-blocks/typed_predictors.md': 'building-blocks/8-typed_predictors.md'
152163

153164
# Tutorials redirects
154165
'docs/tutorials/rag.md': 'tutorials/rag.md'
@@ -174,8 +185,6 @@ plugins:
174185
'docs/deep-dive/modules/react.md': 'deep-dive/modules/react.md'
175186
'docs/deep-dive/modules/multi-chain-comparison.md': 'deep-dive/modules/multi-chain-comparison.md'
176187
'docs/deep-dive/modules/program-of-thought.md': 'deep-dive/modules/program-of-thought.md'
177-
'docs/deep-dive/modules/assertions.md': 'building-blocks/7-assertions.md'
178-
'deep-dive/modules/assertions.md': 'building-blocks/7-assertions.md'
179188
'docs/deep-dive/modules/retrieve.md': 'deep-dive/modules/retrieve.md'
180189
'docs/deep-dive/modules/guide.md': 'deep-dive/modules/guide.md'
181190

0 commit comments

Comments
 (0)