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