Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-05-01 Thread Edward K. Ream
On May 1, 9:13 am, "Edward K. Ream" wrote: > I may just rewrite the FAQ slightly so only the top-level stuff gets put > into the sidebar.  It's a good enough work-around for now... The new FAQ is on Leo's web site. It avoids generating html sections, so the toc is short enough to be useful.

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-05-01 Thread Edward K. Ream
On Thu, Apr 30, 2009 at 11:48 AM, Edward K. Ream wrote: > >> >> You may find Doug Hellmann's article on his use of Sphinx interesting, >> it was one of the inspirations for my own trials: >> >> >> http://blog.doughellmann.com/2009/02/writing-technical-documentation-with.html > > > Thanks for this.

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread Edward K. Ream
On Thu, Apr 30, 2009 at 11:35 AM, bpursley wrote: > > > > On Apr 30, 11:56 am, "Edward K. Ream" wrote: > > > I would rather not mess with ~/sphinx/_templates, because the > > file won't be part of the bzr trunk. > > You may find Doug Hellmann's article on his use of Sphinx interesting, > it was

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread Edward K. Ream
On Thu, Apr 30, 2009 at 10:56 AM, Edward K. Ream wrote: > > > Anyway, thanks for these hints. I'll see what I can do with them, and ask > more questions if I have problems. > This is not fun at all. The Sphinx messages are cryptic. It looks like one needs a PhD in Sphinx in order to create new

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread bpursley
On Apr 30, 11:56 am, "Edward K. Ream" wrote: > I would rather not mess with ~/sphinx/_templates, because the > file won't be part of the bzr trunk. You may find Doug Hellmann's article on his use of Sphinx interesting, it was one of the inspirations for my own trials: http://blog.doughellman

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread Edward K. Ream
On Thu, Apr 30, 2009 at 10:06 AM, bpursley wrote: > > > On Apr 29, 12:35 pm, "Edward K. Ream" wrote: > > I'd like to suppress the Sphinx sidebar for Leo's FAQ. > > > Short Answer: > 1. Sphinx uses Jinja2 templates. > 2. "layout.html" is the template you want to address. > 3. {%- block sidebar

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread Kent Tenney
Wow, that's helpful. Thanks, Kent On Thu, Apr 30, 2009 at 10:06 AM, bpursley wrote: > > > On Apr 29, 12:35 pm, "Edward K. Ream" wrote: >> I'd like to suppress the Sphinx sidebar for Leo's FAQ. > > > Short Answer: > 1.  Sphinx uses Jinja2 templates. > 2.  "layout.html" is the template you want

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-30 Thread bpursley
On Apr 29, 12:35 pm, "Edward K. Ream" wrote: > I'd like to suppress the Sphinx sidebar for Leo's FAQ. Short Answer: 1. Sphinx uses Jinja2 templates. 2. "layout.html" is the template you want to address. 3. {%- block sidebar1 %}{% endblock %} and {%- block sidebar2 %}{% endblock %} within la

Re: Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-29 Thread Kent Tenney
I have never looked at styling Sphinx, I don't think it's easy. Probably a question for sphinx-...@googlegroups.com On Wed, Apr 29, 2009 at 11:35 AM, Edward K. Ream wrote: > > I'd like to suppress the Sphinx sidebar for Leo's FAQ. > > Presumably, in leo\doc\html\conf.py I want something like: >

Please help with suppressing the Sphinx sidebar in FAQ.html

2009-04-29 Thread Edward K. Ream
I'd like to suppress the Sphinx sidebar for Leo's FAQ. Presumably, in leo\doc\html\conf.py I want something like: html_sidebars = {'FAQ':'noSideBar.txt'} The question is, what should leo/doc/html/_templates/noSideBar.txt contain? Any help would be appreciated. I've spent over an hour on this