From 36d9e7b6d6239f9b7ab9ca2057a28280fc2f71ac Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 13 Jul 2021 23:06:01 +0200 Subject: [PATCH] docs: In latex build, just concatenate the important docs Instead of having a toctree after the "index", just append the important documents directly. Having one pdf file with different chapters and sections and such feels better. --- doc_src/index.rst | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/doc_src/index.rst b/doc_src/index.rst index 3f40b2229..6b89e2009 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -165,19 +165,28 @@ If you have an improvement for fish, you can submit it via the GitHub page. .. _other_pages: -Other help pages -================ -.. toctree:: - :maxdepth: 1 +.. only:: not builder_latex - self - faq - interactive - language - commands - fish_for_bash_users - tutorial - completions - design - relnotes - license + Other help pages + ================ + .. toctree:: + :maxdepth: 1 + + self + faq + interactive + language + commands + fish_for_bash_users + tutorial + completions + design + relnotes + license + +.. only:: builder_latex + + .. include:: tutorial.rst + .. include:: interactive.rst + .. include:: language.rst + .. include:: fish_for_bash_users.rst