From fe07161a181e39fb734a4da87ea21b19b2c4e6bb Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 27 Jul 2022 15:08:00 +0100 Subject: [PATCH] [LangRef] Reduce depth of table of contents The table of contents in the HTML version of this doc takes up 25 pages (in my browser, on my 4K monitor) and is too long for me to navigate comfortably. And most of it is irrelevant detail like this: - Bitwise Binary Operations - 'shl' Instruction - Syntax: - Overview: - Arguments: - Semantics: - Example: - 'lshr' Instruction - Syntax: - Overview: - Arguments: - Semantics: - Example: Reducing the contents depth from 4 to 3 removes most of this detail, leaving just a list of instructions, which only takes up 7 pages and I find it much easier to navigate. Incidentally the depth was set to 3 when this document was first converted to reST and was only increased to 4 in what looks like an accidental change: 080133453bae62a43466e881ffc03fb7cffd7288 Differential Revision: https://reviews.llvm.org/D130635 --- llvm/docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index bc1f63f272f3..28d4121dd054 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -4,7 +4,7 @@ LLVM Language Reference Manual .. contents:: :local: - :depth: 4 + :depth: 3 Abstract ========