From 01b0b04cbf977dfe8b9b754e17d2faf96412c5e9 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 14 Jul 2021 16:57:22 +0200 Subject: [PATCH] docs: Remove lAtEx thing again Now it's screaming in the man builder. Honestly, some parts of sphinx aren't very well thought out. --- doc_src/conf.py | 6 +++--- doc_src/index.rst | 34 ++++++++++++++++------------------ doc_src/latex.rst | 7 ------- 3 files changed, 19 insertions(+), 28 deletions(-) delete mode 100644 doc_src/latex.rst diff --git a/doc_src/conf.py b/doc_src/conf.py index fb932118b..9d2344c32 100644 --- a/doc_src/conf.py +++ b/doc_src/conf.py @@ -104,7 +104,7 @@ language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ["latex"] +exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = None @@ -150,12 +150,12 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ( - "latex", + master_doc, "fish-shell.tex", "fish-shell Documentation", "fish-shell developers", "manual", - ) + ), ] # The default pdflatex doesn't handle unicode. diff --git a/doc_src/index.rst b/doc_src/index.rst index f7affe305..89c23e415 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -165,21 +165,19 @@ If you have an improvement for fish, you can submit it via the GitHub page. .. _other_pages: -.. only:: not builder_latex - - Other help pages - ================ - .. toctree:: - :maxdepth: 1 - - 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 diff --git a/doc_src/latex.rst b/doc_src/latex.rst deleted file mode 100644 index 85e33074b..000000000 --- a/doc_src/latex.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. only:: builder_latex - - .. include:: index.rst - .. include:: tutorial.rst - .. include:: interactive.rst - .. include:: language.rst - .. include:: fish_for_bash_users.rst