[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Working with svnindex.xsl

From: Quinn Taylor <quinntaylor_at_mac.com>
Date: Wed, 20 Aug 2008 09:28:44 -0600

On Aug 19, 2008, at 11:25 PM, John Niven wrote:

>> Anyone in charge of the repository, what would it take to get
>> this cleaned up and submitted as a patch?
>
> Kind-of thinking aloud here...
>
> Are you thinking "instead of" or "as well as" the current stylesheet?
> The current stylesheet is useful, in a utilitarian sort of way, as a
> get-you-started template for people wanting to roll-their-own, and it
> would almost be a shame to lose it. I'm speaking as someone (a rank
> amateur) who did roll-their-own at one point.
>
> However... After seeing your stylesheet I doubt I'll be bothering to
> get
> my hands dirty in XSL anytime soon ;-) You've just created my new SVN
> stylesheet!
>
> Thanks Quinn, your efforts are appreciated.
> John

John -

First off, thank you, it's good to feel appreciated. :-)

I had been thinking replacement, since having multiple copies floating
around can be confusing. I tried to stay as true to the original as
possible, and actually simplified a few things. Basically, the only
things I added to the XSL was functionality to print the path with
links to each directory, and that all comes at the end of the file.
Where it differs most is that the CSS is a bit more fancy, and I
figured that's where Subversion administrators are least likely to
spend their time.

Also, in contrast with the other tools that have been mentioned, this
approach doesn't require any extra setup or modifying the files—
they're just drop-in replacements for the defaults. (You do need to
add the folder for images, however.) My stylesheet is intended to stay
true to the simplicity of XSL output, with minimal processing
overhead, and accordingly minimal functionality. ;-)

  - Quinn
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-20 17:29:11 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.