diff --git a/lldb/docs/.htaccess b/lldb/docs/.htaccess new file mode 100644 index 000000000000..88e5bcf87c59 --- /dev/null +++ b/lldb/docs/.htaccess @@ -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 diff --git a/lldb/docs/conf.py b/lldb/docs/conf.py index bc1c99745add..10d940b1110e 100644 --- a/lldb/docs/conf.py +++ b/lldb/docs/conf.py @@ -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.