Skip Menu |

This queue is for tickets about the HTML-HTMLDoc CPAN distribution.

Report information
The Basics
Id: 20293
Status: new
Priority: 0/
Queue: HTML-HTMLDoc

People
Owner: MFRANKL [...] cpan.org
Requestors: Klaus.Franken [...] StrukturPunkt.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.09
Fixed in: (no value)



Subject: --datadir (i.e. for CSS)
htmldoc in version 0.9 (at least) knows the paramter "--datadir". It is very usefull to set datadir (normaly /usr/share/htmldoc) to specify a different set of configuration files, for example a different standard.css. The following patch implements the method "datadir" to specify this directory.
Subject: HTMLDoc.pm-datadir.patch
--- HTMLDoc.pm.ORIG 2005-10-26 10:40:57.000000000 +0200 +++ HTMLDoc.pm 2006-07-05 10:17:12.853370292 +0200 @@ -419,6 +419,19 @@ } ############### +# set the datadir (default: /usr/share/htmldoc) +# param: dir:CHAR +# return: 1/0 +############### +sub datadir { + my $self = shift; + my $dir = shift; + + $self->_set_doc_config('datadir', $dir); + return 1; +} + +############### # turns the links on # param: - # return: 1/0