[Techtalk] sphinx rst-- generate 2 different HTML index pages from one source file

Carla Schroder carla at bratgrrl.com
Sat Mar 7 20:12:25 UTC 2015


On Fri, 6 Mar 2015 21:36:06 -0800
Carla Schroder <carla at bratgrrl.com> wrote:

> On Fri, 6 Mar 2015 21:30:17 -0800
> Cynthia Kiser <cnk at ugcs.caltech.edu> wrote:
> 
> > Quoting Carla Schroder <carla at bratgrrl.com>:
> > > Sphinx is abundantly-documented, but unfortunately not in a very
> > > helpful way. 
> > 
> > Ahhhh my experience with all things Python. 
> > 
> > Am I missing something obvious? Why are the domain names in the urls
> > at all? Why are the links not relative urls? Then you can upload the
> > files to the 2 different domains and be done? (I haven't used Sphinx
> > in any serious way so don't recall how it builds links.)
> > 
> 
> Hey! *lightbulb* Sphinx has lots of ways to build URLs. By golly I
> will look at your approach tomorrow.
> 
> Carla
> 

This is a big stupid waste of time and I am pronouncing it unpossible.
You can easily make all kinds of relative URLs-- except for the base
URL, and that's the one I need to automagically change. If I hear
otherwise I will certainly share the solution.

Carla


-- 
++++++++++++++++++++++++++++++++++++++++
Ace Linux guru                         +
carlaschroder.com                      +
There's a dance in the old dame yet    +
++++++++++++++++++++++++++++++++++++++++


More information about the Techtalk mailing list