diff --git a/doc_src/conf.py b/doc_src/conf.py index a7730ad59..fb932118b 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 = [] +exclude_patterns = ["latex"] # The name of the Pygments (syntax highlighting) style to use. pygments_style = None @@ -150,7 +150,7 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ( - master_doc, + "latex", "fish-shell.tex", "fish-shell Documentation", "fish-shell developers", diff --git a/doc_src/index.rst b/doc_src/index.rst index 6b89e2009..f7affe305 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -183,10 +183,3 @@ If you have an improvement for fish, you can submit it via the GitHub page. design relnotes license - -.. only:: builder_latex - - .. include:: tutorial.rst - .. include:: interactive.rst - .. include:: language.rst - .. include:: fish_for_bash_users.rst diff --git a/doc_src/latex.rst b/doc_src/latex.rst new file mode 100644 index 000000000..85e33074b --- /dev/null +++ b/doc_src/latex.rst @@ -0,0 +1,7 @@ +.. only:: builder_latex + + .. include:: index.rst + .. include:: tutorial.rst + .. include:: interactive.rst + .. include:: language.rst + .. include:: fish_for_bash_users.rst