[Lldb-commits] [lldb] r359004 - [Docs] Add 301 redirects for old URLs

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 23 08:57:48 PDT 2019


Author: jdevlieghere
Date: Tue Apr 23 08:57:47 2019
New Revision: 359004

URL: http://llvm.org/viewvc/llvm-project?rev=359004&view=rev
Log:
[Docs] Add 301 redirects for old URLs

Added:
    lldb/trunk/docs/.htaccess
Modified:
    lldb/trunk/docs/conf.py

Added: lldb/trunk/docs/.htaccess
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/.htaccess?rev=359004&view=auto
==============================================================================
--- lldb/trunk/docs/.htaccess (added)
+++ lldb/trunk/docs/.htaccess Tue Apr 23 08:57:47 2019
@@ -0,0 +1,7 @@
+Redirect 301 /lldb-gdb.html https://lldb.llvm.org/use/map.html
+Redirect 301 /tutorial.html https://lldb.llvm.org/use/tutorial.html
+Redirect 301 source.html https://lldb.llvm.org/resources/source.html
+Redirect 301 projects.html https://lldb.llvm.org/status/projects.html
+Redirect 301 goals.html https://lldb.llvm.org/status/goals.html
+Redirect 301 varformats.html https://lldb.llvm.org/use/variable.html
+Redirect 301 architecture/index.html https://lldb.llvm.org/use/architecture.html

Modified: lldb/trunk/docs/conf.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/conf.py?rev=359004&r1=359003&r2=359004&view=diff
==============================================================================
--- lldb/trunk/docs/conf.py (original)
+++ lldb/trunk/docs/conf.py Tue Apr 23 08:57:47 2019
@@ -129,6 +129,7 @@ html_context = {
         ],
     }
 
+html_extra_path = ['.htaccess']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.




More information about the lldb-commits mailing list