On May 14, 2010, at 6:33 AM, Vincent de Lau wrote:
-----Original Message-----
From: Rich Bowen [mailto:rbo...@rcbowen.com]
Sent: Wednesday, May 12, 2010 12:58 PM
To: docs@httpd.apache.org
Subject: Re: javascript in docs?
At a certain level of complexity (there are dozens of cases where
this
kind of thing is needed) it becomes worthwhile to just put links in
each individual file. But, sure, something like that is worth trying.
Maybe using SSI to call a server side script might be something to
try. This
would also remove the need for JavaScript and allows for indexing.
<!--#include virtual="/path/to/newdocs.cgi?file=${REQUEST_URI}" -->
One way or another, you would have to provide some map for files
that are
not 1:1 in the new docs. I'd be happy to write a PHP script that
does this
(similar to the JavaScript version), but I don't know that the server
supports.
There has long been a requirement that we do something that is easily
mirror-able. I don't know if that's still a requirement. There's also
the desire that the docs work "out of the box" on install, but I
suppose that doesn't much matter any more with the 1.3 docs, since
nobody should be installing them. We should bring the Infra folks into
the conversation before we implement a server-side dynamic solution.
Having said that, yes, I agree that this is what we need to do, and
would be glad to help in any way I can.
--
Rich Bowen
rbo...@rcbowen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org