diff --git a/lldb/docs/.htaccess b/lldb/docs/.htaccess --- a/lldb/docs/.htaccess +++ b/lldb/docs/.htaccess @@ -1,3 +1,4 @@ +# Old website redirects Redirect 301 /architecture/index.html https://lldb.llvm.org/resources/architecture.html Redirect 301 /cpp_reference/html/index.html https://lldb.llvm.org/cpp_reference/index.html Redirect 301 /features.html https://lldb.llvm.org/status/features.html @@ -10,7 +11,10 @@ Redirect 301 /tutorial.html https://lldb.llvm.org/use/tutorial.html Redirect 301 /varformats.html https://lldb.llvm.org/use/variable.html -# Sphinx redirects +# Current website redirects Redirect 301 /resources/source.html https://lldb.llvm.org/resources/contributing.html Redirect 301 /resources/download.html https://lldb.llvm.org/status/releases.html Redirect 301 /use/architecture.html https://lldb.llvm.org/resources/architecture.html +Redirect 301 /resources/architecture.html https://lldb.llvm.org/design/overview.html +Redirect 301 /resources/reproducers.html https://lldb.llvm.org/design/reproducers.html +Redirect 301 /resources/sbapi.html https://lldb.llvm.org/design/sbapi.html diff --git a/lldb/docs/resources/architecture.rst b/lldb/docs/design/overview.rst rename from lldb/docs/resources/architecture.rst rename to lldb/docs/design/overview.rst --- a/lldb/docs/resources/architecture.rst +++ b/lldb/docs/design/overview.rst @@ -1,5 +1,5 @@ -Architecture -============ +Overview +======== LLDB is a large and complex codebase. This section will help you become more familiar with the pieces that make up LLDB and give a general overview of the diff --git a/lldb/docs/resources/reproducers.rst b/lldb/docs/design/reproducers.rst rename from lldb/docs/resources/reproducers.rst rename to lldb/docs/design/reproducers.rst diff --git a/lldb/docs/resources/sbapi.rst b/lldb/docs/design/sbapi.rst rename from lldb/docs/resources/sbapi.rst rename to lldb/docs/design/sbapi.rst --- a/lldb/docs/resources/sbapi.rst +++ b/lldb/docs/design/sbapi.rst @@ -1,5 +1,5 @@ -The SB API Coding Rules -======================= +Scripting Bridge API +==================== The SB APIs constitute the stable C++ API that lldb presents to external clients, and which get processed by SWIG to produce the Python bindings to diff --git a/lldb/docs/resources/structureddataplugins.md b/lldb/docs/design/structureddataplugins.md rename from lldb/docs/resources/structureddataplugins.md rename to lldb/docs/design/structureddataplugins.md diff --git a/lldb/docs/index.rst b/lldb/docs/index.rst --- a/lldb/docs/index.rst +++ b/lldb/docs/index.rst @@ -140,16 +140,23 @@ :maxdepth: 1 :caption: Development - resources/architecture resources/contributing resources/build resources/test resources/bots - resources/reproducers - resources/structureddataplugins - resources/sbapi resources/caveats + +.. toctree:: + :hidden: + :maxdepth: 1 + :caption: Design + + design/overview + design/reproducers + design/structureddataplugins + design/sbapi + .. toctree:: :hidden: :maxdepth: 1