From 2bc35539f0268beb7efa79ee94063fd2503c5d8c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 4 May 2021 11:19:49 +0530 Subject: [PATCH] Exclude document titles from local ToCs --- docs/faq.rst | 1 + docs/graphics-protocol.rst | 1 + docs/index.rst | 1 + docs/kittens/diff.rst | 1 + docs/layouts.rst | 1 + docs/protocol-extensions.rst | 4 +++- 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index bb1a60a69..e87b7c352 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -4,6 +4,7 @@ Frequently Asked Questions .. highlight:: sh .. contents:: + :local: Some special symbols are rendered small/truncated in kitty? ----------------------------------------------------------- diff --git a/docs/graphics-protocol.rst b/docs/graphics-protocol.rst index ae46e6eb4..15ad83ff4 100644 --- a/docs/graphics-protocol.rst +++ b/docs/graphics-protocol.rst @@ -46,6 +46,7 @@ Some programs and libraries that use the kitty graphics protocol: .. contents:: + :local: Getting the window size diff --git a/docs/index.rst b/docs/index.rst index a61cc523c..579fdddc4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -76,6 +76,7 @@ See :doc:`Configuring kitty ` for help on configuring |kitty| and .. contents:: + :local: Design philosophy diff --git a/docs/kittens/diff.rst b/docs/kittens/diff.rst index 67f5b9db3..cd9153b5f 100644 --- a/docs/kittens/diff.rst +++ b/docs/kittens/diff.rst @@ -26,6 +26,7 @@ Major Features Screenshot, showing a sample diff .. contents:: + :local: Installation diff --git a/docs/layouts.rst b/docs/layouts.rst index 073812310..aeb510407 100644 --- a/docs/layouts.rst +++ b/docs/layouts.rst @@ -28,6 +28,7 @@ are available use :opt:`enabled_layouts`, the first listed layout becomes the default. Individual layouts and how to use them are described below. .. contents:: + :local: The Stack Layout diff --git a/docs/protocol-extensions.rst b/docs/protocol-extensions.rst index e358379f5..8f89404a1 100644 --- a/docs/protocol-extensions.rst +++ b/docs/protocol-extensions.rst @@ -16,9 +16,11 @@ is to make it as easy to implement these protocol extensions as possible, thereby hopefully encouraging their widespread adoption. If you wish to discuss these extensions, propose additions/changes to them -please do so by opening issues in the github bug tracker. +please do so by opening issues in the `GitHub +`_ bug tracker. .. contents:: + :local: Colored and styled underlines -------------------------------