From: Sean Silva Date: Wed, 2 Jan 2013 21:03:11 +0000 (+0000) Subject: docs: Reorganize landing page. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0c392d0ad5da5ecb52d5aa8bac770b76e23986e;p=clang docs: Reorganize landing page. Language extensions are highly relevant to using clang as a compiler, so move LanguageExtensions up into `Using Clang as a Compiler` on the landing page. The other documents from the now-gone `Language Extensions and Specs` section on the landing page nicely fit hierarchically under LanguageExtensions.rst, so put them under LanguageExtensions.rst's toctree instead of on the landing page. Impetus from Jordan Rose. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index be6ea52bf3..72f4112213 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -5,6 +5,13 @@ Clang Language Extensions .. contents:: :local: +.. toctree:: + :hidden: + + ObjectiveCLiterals + BlockLanguageSpec + AutomaticReferenceCounting + Introduction ============ diff --git a/docs/index.rst b/docs/index.rst index c11ac1379a..6436beeeb0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -18,6 +18,7 @@ Using Clang as a Compiler :maxdepth: 1 UsersManual + LanguageExtensions AddressSanitizer ThreadSanitizer MemorySanitizer @@ -51,18 +52,6 @@ Design Documents PCHInternals -Language Extensions and Specs ------------------------------ - -.. toctree:: - :maxdepth: 1 - - LanguageExtensions - ObjectiveCLiterals - BlockLanguageSpec - AutomaticReferenceCounting - - Indices and tables ==================