[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 12 16:16:26 PDT 2025
medismailben wrote:
> > The one downside to this is that any links that we've handed out to the documentation in the past will get broken. Is there any way that we can keep the links that used to be in python-reference.rst, but have them redirected to the new files?
> > Other than that it looks like a good change to me, and will improve readability.
>
> That'd be nice indeed. We could achieve that by using [sphinx-reredirects](https://github.com/documatt/sphinx-reredirects) to redirect the previous urls. @gkistanova can I just add this to `llvm/docs/requirements.txt` or is there a process for adding new dependencies to the documentation generator bots ?
Luckily, libc already uses [sphinx-reredirects](https://github.com/documatt/sphinx-reredirects) so I can just make use of it in this PR to avoid breaking existing links.
https://github.com/llvm/llvm-project/pull/158331
More information about the lldb-commits
mailing list