On Jan 13, 2007, at 11:16 PM, David Abrahams wrote:


Noah Kantrowitz <[EMAIL PROTECTED]> writes:

You can look at the IncludeMacro over at trac-hacks, as it can inline a file from the repo.

I don't think it does what I need, does it?  Someone is going to be
checking a whole pile of interlinked HTML files into source control.
I need them to be browsable as HTML over the web, with the same
permissions that allow them to be read via SVN...

Hmm, actually Trac's source code browser component *nearly* does what
I need.  When you view an HTML file and then click "Download in other
formats > Original Format", Trac serves up the html file.  The only
problem is that its links to other HTML, CSS, and image files in the
repository point to their browser pages rather than to something that
actually shows the original content.  If I could just get the Browser
to append "?format=raw" to any relative URLs encountered when showing
an HTML file, I'd be all set.

This was added in trunk as a new handler at /export that handles the raw formatted stuff.

--Noah

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to