[sphinx-users] Re: Get full documentation tree

2019-03-19 Thread balvarez
Thank you all for the comments. I managed using a quite ugly solution but does the job: I edited the layout.html and included a hidden full toctree using: {{ toctree(maxdepth=-1|toint, collapse=False,includehidden=True|tobool) }} This way, I can inspect the output HTML and fetch the

Re: [sphinx-users] Get full documentation tree

2019-02-05 Thread balvarez
I was checking your script but you indeed pass a tree already defined in an XML. My problem is to *get that tree*, I could write by hand a table of content but it will change as soon as somebody changes the documentation and additionally the documentation is constantly growing...the idea is to

Re: [sphinx-users] Get full documentation tree

2019-02-04 Thread balvarez
Hi Leif, thank you very much! I will give it a try! :) On Friday, February 1, 2019 at 7:48:41 PM UTC+1, Leif Hancox-Li wrote: > > I think you can write a script to do this. I wrote a script to do the > reverse: Convert HTML files and an XML table of contents into RST files > with the correct

[sphinx-users] Re: Get full documentation tree

2019-02-04 Thread balvarez
Hi Michael, thank you very much for your reply, I am already using wkhtmltopdf to build PDF from HTMLs. Also, I already tried the singlehtml and indeed works but the problem is that it increases so much the build time that it makes kind of impossible to work locally to test. Using singlehtml

[sphinx-users] Get full documentation tree

2019-02-01 Thread balvarez
I am working on a tool which converts the *exported HTML* Sphinx documentation into PDF. The main issue comes with the structure of the PDF, without the full tree there is no easy way to know which index.html should go after the other, and build a logical PDF. Is there a way to get the whole