osimons wrote:
> Don't modify sources. I suggest you'd rather add your own stylesheet
> and override just the styles you want there. It is much easier to
> maintain, and things are less likely to break - rather than copy
> (fork) Trac files. Genshi changed everything with regards to
> modification, so take a look at the docs:
> 
> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

I have always found that this was a lot of effort just to add a custom
stylesheet. Well, not exactly a *lot* of effort, but you need to find
the right snippet, copy it to your environment, trim what you don't
need, and then only add the stylesheet. Moreover, I don't think we can
expect admins to understand Genshi templates.

Couldn't we add the custom stylesheet to the layout.html file
automatically, based on the presence of the style.css file in htdocs?
We could even add an option to configure the path to the file. Then
again, the mapping from file path to URL is non-trivial if the file is
outside of htdocs, which is often the case in large(er) installations,
so maybe that's a bad idea.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to