Jason S wrote:
> 
> On Dec 8, 10:49 am, TJG <[email protected]> wrote:
>> In your _static directory create, eg, my.css which starts with
>>
>> @import "default.css";
>>
>> and which then adds or overrides as needed.
>>
>> Then in your conf.py add or update:
>>
>> html_style = 'winsys.css'
> 
> you mean "my.css" not "winsys.css"... but that worked, thanks!

Err. Yes. Glad it was obvious enough what was going on there :)


> FWIW Sphinx seems to have a bug in that if you do this, it does not
> include the file designated in 'html_style' in its dependency list for
> HTML builds... so if you change the .css file it doesn't recognize
> that things have changed to force a rebuild.


I know; I've just got a rebuild.cmd which I hit. My doc sets aren't
big enough for this to be a problem. YMMV, of course.

TJG

--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to