[sphinx-users] Re: how do I add revision history table?

2016-10-19 Thread 'EMK' via sphinx-users
I'm having a similar problem and haven't been able to figure it out on my own. I want to put copyright information between the table of contents and the first chapter. I realize that I have to override \maketitle but I haven't been able to find the original source for it to modify, or

[sphinx-users] Re: PDF version shows one huge chapter? Table of contents issues with latexpdf

2016-10-12 Thread 'EMK' via sphinx-users
Once again I should confess that I am running Sphinx v1.3.2, so if there have been bug fixes that address this, I need to

[sphinx-users] Re: Customizing Relbar (both top/bottom) Links

2016-10-03 Thread 'EMK' via sphinx-users
I think my team was able to modify that navigation bar, but we decided not to include the modification in the final layout so I don't remember what we did. Here are some hints that might help, though. 1. You are looking to override an element called div.related. (You can see this by

Re: [sphinx-users] PDF version shows one huge chapter? Table of contents issues with latexpdf

2016-09-14 Thread 'EMK' via sphinx-users
tput section of my conf.py at > https://github.com/mapserver/docs/blob/branch-7-0/conf.py#L170which > generates http://www.mapserver.org/pdf/MapServer.pdf > > The preamble settings are very important. > > -jeff > > > > On 2016-09-12 6:37 PM, 'EMK' via sphinx-users w

[sphinx-users] PDF version shows one huge chapter? Table of contents issues with latexpdf

2016-09-12 Thread 'EMK' via sphinx-users
I've been focusing on HTML for several months and now I'm trying to build PDF (via latexpdf) from the same files. I have one main toctree and several hidden toctrees. I'm having these problems: 1) All my contents go in one chapter, everything from all the toctrees ends up as Chapter 1 for

[sphinx-users] Re: html_last_updated not working?

2016-08-17 Thread 'EMK' via sphinx-users
I figured out that I can use the only:: directive to add a date to the end of my individual files. I used the container:: directive from this thread so that I could style the text in css. .. only:: html .. container::

[sphinx-users] Re: html_last_updated not working?

2016-08-17 Thread 'EMK' via sphinx-users
Aha - the problem is that I changed the footer and removed the phrase that references |today|. PEBKAC. But I also realize now that having this in the footer is not going to do what I wanted - I need to add a "last updated" date to each individual file if I want to track when I updated each

[sphinx-users] html_last_updated not working?

2016-07-27 Thread 'EMK' via sphinx-users
*Note:* I'm still using Sphinx v1.3.2 - I see there have been some changes in this feature, but I didn't recognize any that would explain this problem. I want to have the file build date at the bottom of each HTML file in my doc set. I

[sphinx-users] Re: Doc/help on what's possible in custom toc templates for html sidebar

2016-06-30 Thread 'EMK' via sphinx-users
Ah, great, thanks! I was skimming that page but missed the parts I was confused about. On Thursday, June 30, 2016 at 1:34:41 AM UTC-4, Komiya Takeshi wrote: > > Hi, > > >2) How do I know what affordances exist like {{ toc }} or {{ toctree() > }} and what they do? > >3) Are there other

[sphinx-users] Re: Doc/help on what's possible in custom toc templates for html sidebar

2016-06-29 Thread 'EMK' via sphinx-users
On Wednesday, June 29, 2016 at 5:34:17 PM UTC-4, EMK wrote: > > Having a lot of trouble figuring out how to work with templates so I can > customize TOCs on my sidebar. > > I found doc on Jinja syntax at http://jinja.pocoo.org/docs/dev/templates/ > but I don't understand: > > 1) How to

[sphinx-users] Doc/help on what's possible in custom toc templates for html sidebar

2016-06-29 Thread 'EMK' via sphinx-users
Having a lot of trouble figuring out how to work with templates so I can customize TOCs on my sidebar. I found doc on Jinja syntax at http://jinja.pocoo.org/docs/dev/templates/ but I don't understand: 1) How to define my template name so I can reference it from conf.py in html_sidebars and

[sphinx-users] Re: How to change the name "Table of Contents" in HTML sidebars

2016-06-27 Thread 'EMK' via sphinx-users
KOMIYAさん ありがとうございます。 Does this file extend localtoc or overwrite it? I figured out how to do it with globaltoc (same thing but with {{ toctree() }} at the bottom), but I am worried that I will omit important parts of the original globaltoc if _templates/globaltoc.html overwrites the built-in

[sphinx-users] How do multiple toctrees work together to generate previous/next links?

2016-06-27 Thread 'EMK' via sphinx-users
I'm working on an HTML user guide, and I want to be able to maintain a reasonable flow in "previous" and "next" while reusing documents in multiple toctrees. How can I predict which toctree the system will use to calculate the "next" value for a particular file in a particular moment/context?

[sphinx-users] How to change the name "Table of Contents" in HTML sidebars

2016-06-22 Thread 'EMK' via sphinx-users
I'm working on a user guide delivered in HTML and the html theme "classic". I added the overall document structure to the sidebar by using the information in the http://www.sphinx-doc.org/en/stable/config.html#confval-html_sidebars documentation. Now I have the problem that each TOC

[sphinx-users] Re: include image - path from project folder

2016-06-22 Thread 'EMK' via sphinx-users
I use this kind of directory structure: project folder source images In "source" I have all my .rst files. In "images" I have all my graphics. To include an image in an .rst file I use syntax like this: .. image:: images/gui_alerts.png :alt: Alerts settings page :width: 800 px