[sphinx-dev] Re: Splitting HTML output at subsection boundaries

2011-12-06 Thread Guenter Milde
On 2011-12-06, Fernando Perez wrote: > On Thu, Dec 1, 2011 at 9:04 AM, Friedrich Romstedt > wrote: >> 2011/12/1 Fernando Perez : >>> On Thu, Dec 1, 2011 at 2:56 AM, Friedrich Romstedt >>> wrote: > Many thanks for the informative posts and discussion. It does seem > that sphinx is actually getti

RE: [sphinx-dev] Using if statements in conf.py

2011-12-06 Thread Alastair Dent
I do test builds using a command like the one below: sphinx-build -n -a -b html C:\Data\docs\Help-root\cs-mpHelp C:\Data\Docs\build Our production build is run from a complex series of Python scripts - for prod builds the developer now says they'll probably write the value of ifconf_product to

[sphinx-dev] Re: Sphinx vs. docutils for textbook

2011-12-06 Thread Guenter Milde
On 2011-12-01, Bob Plantz wrote: > I am converting a textbook I have written in LaTeX to epub. The book > (500+ pages) is on assembly language. It has many drawings (vector > graphics), a fair amount of math equations (but only simple algebra > notation), and many code listings. My goal is to make

Re: [sphinx-dev] Re: Splitting HTML output at subsection boundaries

2011-12-06 Thread Fernando Perez
On Tue, Dec 6, 2011 at 1:02 AM, Guenter Milde wrote: > For converting a single session into a single document, I would recommend > Docutils over Sphinx.  The additional layer introduced by Sphinx is > mainly to accomodate larger projects consisting of a set of documents. Good point, we may end up

[sphinx-dev] two tocs in index.rst = two in sidebar

2011-12-06 Thread Alastair Dent
I have two tocs in my index.rst, each contained by an ifconfig statement. The body of the index.rst generates correctly, with the correct toc showing according to the parameters for ifconfig. However, the sidebar (which contains a mini-toc based on index.rst) does not generate correctly. It

[sphinx-dev] Thinking about using Sphinx to generate a static photo website

2011-12-06 Thread divadsirrah
Hi all, I have a directory structure already in use. I am looking for a tool to help me template a static website that I stopped working on a long time ago I have things organized by seasons Pictures/Seasons/Fall11 Pictures/Seasons/Summer10 etc etc. each directory has an images folder I am

[sphinx-dev] Thinking about using Sphinx to generate a static photo website

2011-12-06 Thread divadsirrah
Hi all, I have a directory structure already in use. I am looking for a tool to help me template a static website that I stopped working on a long time ago I have things organized by seasons Pictures/Seasons/Fall11 Pictures/Seasons/Summer10 etc etc. each directory has an images folder I am

[sphinx-dev] Execution of make.bat brokes when executed from outside basedir

2011-12-06 Thread Sebastian Göttschkes
Hi there, I tried to build a python script executing the make.bat file. I played around a bit and then recognized that when not in the base directory (where the conf.py is located), the make fails because it cannot find the conf.py. To prevent this, I added the following two lines right after t

Re: [sphinx-dev] Using if statements in conf.py

2011-12-06 Thread Viktoras M
while going with config switching, you can include some common values from third file, will save some copy-paste work: config1.py: myPlatform="windows" execfile("common-config.py") config2.py: myPlatform="linux" execfile("common-config.py") common-config.py: echo "my current platform is:",myPla