Often with Sphinx you'll see something that looks like this in the index.rst file:
.. toctree:: another_file one_more_file Index ===== * :ref:`genindex` * :ref:`search` The last two items, genindex and search, are particularly useful when producing HTML output but just create noise in PDF output. Is there a good solution in Sphinx 3.1.2 for the case where you want to create *both HTML and PDF* output from the same source files and have the genindex and search only for the HTML output? -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/95ee4a78-881d-4f77-b0e5-b5fb80be8e51o%40googlegroups.com.
