[Docs] Add 301 redirects for old URLs

llvm-svn: 359004
This commit is contained in:
Jonas Devlieghere 2019-04-23 15:57:47 +00:00
parent 53bd7ce42e
commit 056fde7527
2 changed files with 8 additions and 0 deletions

7
lldb/docs/.htaccess Normal file
View File

@ -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

View File

@ -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.