At 03:51 PM 04/21/02 +0800, Stas Bekman wrote:
per my previous suggestion I've moved the about pages into their own docset: /start. The problem was that the menu was getting unwanted items when you added the tips page to be processed. Now it's fine.
In docset, is it possible to avoid the toc page when you click on the About link? I think it's much better for the About main menu item to go directly to the about page. Now you click on What is mod_perl and all you get is a one-line answer:
What is mod_perl? Apache + Perl = mod_perl
And the examples should only be linked directly off the more>> links, as they are out of context otherwise.
Is it bad or just not as good as we want it to. DocSet is a generic tool, and works by stacking docsets one inside another. If you have an idea how to keep it generic and still do what you want, please suggest.
There is a way to work around it by making the start docset hidden (so it'll be stil processed),
and using the link property to link where you want from the menu. Try this patch. But the drawback
is that in this case the hidden docset's "up" button will still bring its index.html.
I guess there is a need for yet another kind of docsets/chapters: processed, not automatically linked to the parent index.html,
but still appearing in the prev|next paging and up not bringing you to the index... I'm not sure.
This is a simple matter of deciding what's the desired behavior (algorithm). It's not a coding problem.
Here is the patch (update modperl-docs/lib first)
Index: src/config.cfg
===================================================================
RCS file: /home/cvs/modperl-docs/src/config.cfg,v
retrieving revision 1.21
diff -u -r1.21 config.cfg
--- src/config.cfg 21 Apr 2002 07:53:59 -0000 1.21
+++ src/config.cfg 21 Apr 2002 14:50:17 -0000
@@ -14,9 +14,25 @@
bot => 'index_bot.html',
},+ hidden => [
+ docsets => [
+ qw(
+ start
+ )
+ ],
+ ],
+
+ links => [
+ {
+ id => 'what_is_mod_perl',
+ link => 'start/about.html',
+ title => 'What is mod_perl',
+ abstract => "Bara Bara",
+ },
+ ],
+
docsets => [
qw(
- start
outstanding
download
docs
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
