Josh  Kuperman wrote:

> When I install fink packages, the documentation gets
> installed. Usually the man pages and the info docs (fortunately fink
> can provide the texinfo package) if any get installed and are
> accessible. A great many of the packages have html
> documentation. Usually in /sw/share/doc/packagename or
> /sw/share/doc/packagename/html.
> 
> Would it be possible to make it standarder? I am running the default
> Apache that comes with OSX, though I'm sure some are using the one
> that comes with fink. I would like to make it so that I could - at
> least from my home machine though I do, do a lot remotely so just
> opening a file isn't as good - get a quick look at the html
> documentation by typing http://localhost/finkdocs in my browser to get
> a listing of all the docs html docs available and
> http://localhost/finkdocs/packagename to get to the docs for a
> particular package. It seems that some of the bigger more complicated
> packages require the ability to view their html docs to get going.

I think this is a great idea for an enhancement to fink.  Would you (or
someone else) like to work on implementing it?  Here's how it could go:

 You make a new fink package which sets up /sw/share/finkdocs and has
 some magic index.php file (or some other Web back of tricks) whose
 function is to display a page containing all links specified within
 other files in the directory that have some magic format.  Then you
 ask fink developers to include an appropriately formatted file
 /sw/share/finkdocs/package.php in each of their packages which points to
 the starting point of  the html documentation fpr that package.

 Your new package will probably have to make a symbolic link from within
 someplace like /Library/Web (I forget exactly where this goes) to
 /sw/share/finkdocs, which is normally not allowed, but in my opinion an
 exception would be warranted for a feature like this.

   -- Dave

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to