Closed sushmanthreddy closed 1 month ago
Added comprehensive URL redirects to handle legacy paths that were causing 404 errors for users. This change ensures users accessing documentation through old URLs like /docs/tutorials/rag or /docs/intro are properly redirected to the new paths.
/docs/tutorials/rag
/docs/intro
/docs/intro/*
/intro
/docs/faqs/*
/faqs
/docs/cheatsheet/*
/cheatsheet
/docs/dspy-usecases/*
/dspy-usecases
/docs/quick-start/installation/*
/quick-start/installation
/docs/quick-start/getting-started-01/*
/quick-start/getting-started-01
/docs/quick-start/getting-started-02/*
/quick-start/getting-started-02
/docs/deep-dive/data-handling/examples/*
/deep-dive/data-handling/examples
/docs/tutorials/rag/*
/tutorials/rag
/docs/tutorials/simplified-baleen/*
/tutorials/simplified-baleen
/docs/tutorials/summarization/*
/tutorials/summarization
/docs/tutorials/other_tutorial/*
/tutorials/other_tutorial
/docs/tutorials/examples/*
/tutorials/examples
/index.md
.md
mkdocs serve
pip install mkdocs-redirects
Description
Added comprehensive URL redirects to handle legacy paths that were causing 404 errors for users. This change ensures users accessing documentation through old URLs like
/docs/tutorials/rag
or/docs/intro
are properly redirected to the new paths.Key Changes
Added redirects for main sections:
/docs/intro/*
→/intro
/docs/faqs/*
→/faqs
/docs/cheatsheet/*
→/cheatsheet
/docs/dspy-usecases/*
→/dspy-usecases
Added redirects for Quick Start:
/docs/quick-start/installation/*
→/quick-start/installation
/docs/quick-start/getting-started-01/*
→/quick-start/getting-started-01
/docs/quick-start/getting-started-02/*
→/quick-start/getting-started-02
Added redirects for Deep Dive:
/docs/deep-dive/data-handling/examples/*
→/deep-dive/data-handling/examples
Added redirects for Tutorials:
/docs/tutorials/rag/*
→/tutorials/rag
/docs/tutorials/simplified-baleen/*
→/tutorials/simplified-baleen
/docs/tutorials/summarization/*
→/tutorials/summarization
/docs/tutorials/other_tutorial/*
→/tutorials/other_tutorial
/docs/tutorials/examples/*
→/tutorials/examples
Implementation Details
/index.md
and direct.md
variants for each pathTesting Done
mkdocs serve
Setup Required