I would like to have two different toctrees, one for LatexPDF and one for 
HTML. (For example, the landing page for the HTML documentation shouldn't 
be the first page of the PDF.)

I have tried to use "..only::" directives within my index.rst file, but now 
see that this is not supported.

https://github.com/sphinx-doc/sphinx/issues/2132#issuecomment-159801468

Is there a correct way to have different toctrees in index.rst for PDFs and 
HTML in Sphinx? 

If not, is there a way to configure conf.py to have separate master_docs, 
one for PDF and one for HTML?




-- 
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/208c581a-4b1b-41ca-92e6-241b507a00db%40googlegroups.com.

Reply via email to