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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to