Skip to content

Commit f8763e4

Browse files
Add documentation redirects to fix legacy /docs/* URLs (#1681)
* added the changes for the links * added the changes for liunks and removed the tutorial * added the changes ,whcih are required * added the changes ,whcih are required
1 parent 186a6a2 commit f8763e4

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

docs/mkdocs.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,97 @@ plugins:
129129
- redirects:
130130
redirect_maps:
131131
'index.md': 'intro.md'
132+
# Intro page redirects
133+
'docs/intro.md': 'intro.md'
134+
'docs/intro/index.md': 'intro.md'
135+
136+
137+
# Quick Start redirects
138+
'docs/quick-start/installation.md': 'quick-start/installation.md'
139+
'docs/quick-start/getting-started-01.md': 'quick-start/getting-started-01.md'
140+
'docs/quick-start/getting-started-02.md': 'quick-start/getting-started-02.md'
141+
142+
# Building Blocks redirects
143+
'docs/building-blocks/solving_your_task.md': 'building-blocks/solving_your_task.md'
144+
'docs/building-blocks/1-language_models.md': 'building-blocks/1-language_models.md'
145+
'docs/building-blocks/2-signatures.md': 'building-blocks/2-signatures.md'
146+
'docs/building-blocks/3-modules.md': 'building-blocks/3-modules.md'
147+
'docs/building-blocks/4-data.md': 'building-blocks/4-data.md'
148+
'docs/building-blocks/5-metrics.md': 'building-blocks/5-metrics.md'
149+
'docs/building-blocks/6-optimizers.md': 'building-blocks/6-optimizers.md'
150+
'docs/building-blocks/7-assertions.md': 'building-blocks/7-assertions.md'
151+
'docs/building-blocks/8-typed_predictors.md': 'building-blocks/8-typed_predictors.md'
152+
153+
# Tutorials redirects
132154
'docs/tutorials/rag.md': 'tutorials/rag.md'
133155
'docs/tutorials/simplified-baleen.md': 'tutorials/simplified-baleen.md'
134156
'docs/tutorials/summarization.md': 'tutorials/summarization.md'
135157
'docs/tutorials/other_tutorial.md': 'tutorials/other_tutorial.md'
136158
'docs/tutorials/examples.md': 'tutorials/examples.md'
137159

160+
# Deep Dive redirects
161+
# Data Handling
162+
'docs/deep-dive/data-handling/examples.md': 'deep-dive/data-handling/examples.md'
163+
'docs/deep-dive/data-handling/built-in-datasets.md': 'deep-dive/data-handling/built-in-datasets.md'
164+
'docs/deep-dive/data-handling/loading-custom-data.md': 'deep-dive/data-handling/loading-custom-data.md'
165+
166+
# Signatures
167+
'docs/deep-dive/signature/understanding-signatures.md': 'deep-dive/signature/understanding-signatures.md'
168+
'docs/deep-dive/signature/executing-signatures.md': 'deep-dive/signature/executing-signatures.md'
169+
170+
# Modules
171+
'docs/deep-dive/modules/predict.md': 'deep-dive/modules/predict.md'
172+
'docs/deep-dive/modules/chain-of-thought.md': 'deep-dive/modules/chain-of-thought.md'
173+
'docs/deep-dive/modules/chain-of-thought-with-hint.md': 'deep-dive/modules/chain-of-thought-with-hint.md'
174+
'docs/deep-dive/modules/react.md': 'deep-dive/modules/react.md'
175+
'docs/deep-dive/modules/multi-chain-comparison.md': 'deep-dive/modules/multi-chain-comparison.md'
176+
'docs/deep-dive/modules/program-of-thought.md': 'deep-dive/modules/program-of-thought.md'
177+
'docs/deep-dive/modules/assertions.md': 'deep-dive/modules/assertions.md'
178+
'docs/deep-dive/modules/retrieve.md': 'deep-dive/modules/retrieve.md'
179+
'docs/deep-dive/modules/guide.md': 'deep-dive/modules/guide.md'
180+
181+
# Language Model Clients
182+
'docs/deep-dive/language_model_clients/lm_local_models/HFClientTGI.md': 'deep-dive/language_model_clients/lm_local_models/HFClientTGI.md'
183+
'docs/deep-dive/language_model_clients/lm_local_models/HFClientVLLM.md': 'deep-dive/language_model_clients/lm_local_models/HFClientVLLM.md'
184+
'docs/deep-dive/language_model_clients/lm_local_models/MLC.md': 'deep-dive/language_model_clients/lm_local_models/MLC.md'
185+
'docs/deep-dive/language_model_clients/lm_local_models/Ollama.md': 'deep-dive/language_model_clients/lm_local_models/Ollama.md'
186+
'docs/deep-dive/language_model_clients/lm_local_models/LlamaCpp.md': 'deep-dive/language_model_clients/lm_local_models/LlamaCpp.md'
187+
'docs/deep-dive/language_model_clients/lm_local_models/TensorRTLLM.md': 'deep-dive/language_model_clients/lm_local_models/TensorRTLLM.md'
188+
189+
# Retrieval Model Clients
190+
'docs/deep-dive/retrieval_models_clients/Azure.md': 'deep-dive/retrieval_models_clients/Azure.md'
191+
'docs/deep-dive/retrieval_models_clients/ChromadbRM.md': 'deep-dive/retrieval_models_clients/ChromadbRM.md'
192+
'docs/deep-dive/retrieval_models_clients/ColBERTv2.md': 'deep-dive/retrieval_models_clients/ColBERTv2.md'
193+
'docs/deep-dive/retrieval_models_clients/custom-rm-client.md': 'deep-dive/retrieval_models_clients/custom-rm-client.md'
194+
'docs/deep-dive/retrieval_models_clients/DatabricksRM.md': 'deep-dive/retrieval_models_clients/DatabricksRM.md'
195+
'docs/deep-dive/retrieval_models_clients/FaissRM.md': 'deep-dive/retrieval_models_clients/FaissRM.md'
196+
'docs/deep-dive/retrieval_models_clients/LancedbRM.md': 'deep-dive/retrieval_models_clients/LancedbRM.md'
197+
'docs/deep-dive/retrieval_models_clients/MilvusRM.md': 'deep-dive/retrieval_models_clients/MilvusRM.md'
198+
'docs/deep-dive/retrieval_models_clients/MyScaleRM.md': 'deep-dive/retrieval_models_clients/MyScaleRM.md'
199+
'docs/deep-dive/retrieval_models_clients/Neo4jRM.md': 'deep-dive/retrieval_models_clients/Neo4jRM.md'
200+
'docs/deep-dive/retrieval_models_clients/QdrantRM.md': 'deep-dive/retrieval_models_clients/QdrantRM.md'
201+
'docs/deep-dive/retrieval_models_clients/RAGatouilleRM.md': 'deep-dive/retrieval_models_clients/RAGatouilleRM.md'
202+
'docs/deep-dive/retrieval_models_clients/SnowflakeRM.md': 'deep-dive/retrieval_models_clients/SnowflakeRM.md'
203+
'docs/deep-dive/retrieval_models_clients/WatsonDiscovery.md': 'deep-dive/retrieval_models_clients/WatsonDiscovery.md'
204+
'docs/deep-dive/retrieval_models_clients/WeaviateRM.md': 'deep-dive/retrieval_models_clients/WeaviateRM.md'
205+
'docs/deep-dive/retrieval_models_clients/YouRM.md': 'deep-dive/retrieval_models_clients/YouRM.md'
206+
207+
# Assertions
208+
'docs/deep-dive/assertions.md': 'deep-dive/assertions.md'
209+
210+
# Teleprompters
211+
'docs/deep-dive/optimizers/LabeledFewShot.md': 'deep-dive/optimizers/LabeledFewShot.md'
212+
'docs/deep-dive/optimizers/bootstrap-fewshot.md': 'deep-dive/optimizers/bootstrap-fewshot.md'
213+
'docs/deep-dive/optimizers/BootstrapFinetune.md': 'deep-dive/optimizers/BootstrapFinetune.md'
214+
'docs/deep-dive/optimizers/Ensemble.md': 'deep-dive/optimizers/Ensemble.md'
215+
'docs/deep-dive/optimizers/bfrs.md': 'deep-dive/optimizers/bfrs.md'
216+
'docs/deep-dive/optimizers/copro.md': 'deep-dive/optimizers/copro.md'
217+
'docs/deep-dive/optimizers/miprov2.md': 'deep-dive/optimizers/miprov2.md'
218+
219+
# Additional pages redirects
220+
'docs/faqs.md': 'faqs.md'
221+
'docs/cheatsheet.md': 'cheatsheet.md'
222+
'docs/dspy-usecases.md': 'dspy-usecases.md'
138223

139224
extra:
140225
social:

0 commit comments

Comments
 (0)