I''m using Hieraki to do some documentation for RubyGems. So far I''m lovin'' it. But I have a question. I currently have three books on the site. It seems that the chapter numbers continue from one book to the next. For example, the first book has 7 chapters (numbered 1-7). The second book has three chapters, but they are numbered (8-10) rather than the (1-3) I expected. (The table of contents in the left hand margin has the correct (1-3) numbering.) Is this a bug, or some strange functionality I don''t understand. (And is there a better place than this list to raise Hieraki issues?) Thanks. -- -- Jim Weirich jim-Fxty1mrVU9GlFc2d6oM/ew@public.gmane.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
Jim Weirich wrote:> But I have a question. I currently have three books on the site. It > seems that the chapter numbers continue from one book to the next. For > example, the first book has 7 chapters (numbered 1-7). The second book > has three chapters, but they are numbered (8-10) rather than the (1-3) I > expected. (The table of contents in the left hand margin has the correct > (1-3) numbering.)They are referenced by id. This could use some Routes lovin for pretty /title/chapter URLs. jeremy
Jeremy Kemper said:> Jim Weirich wrote: >> But I have a question. I currently have three books on the site. It >> seems that the chapter numbers continue from one book to the next. For >> example, the first book has 7 chapters (numbered 1-7). The second book >> has three chapters, but they are numbered (8-10) rather than the (1-3) I >> expected. (The table of contents in the left hand margin has the >> correct >> (1-3) numbering.) > > They are referenced by id. This could use some Routes lovin for pretty > /title/chapter URLs.Yes. Got that. But just to be clear, the numbering I''m complaining about is the numbers in the body of the text, not the ID numbers in the URL. It just seems odd to have the first chapter numbered "8". For example, this is the introduction page of the first chapter of the second book: 8. Overview 8.1 Introduction gem is the command-line interface to RubyGems. [...]
Huh?! Thats a new one. I''ll look into it On Tue, 8 Mar 2005 18:40:33 -0000 (UTC), Jim Weirich <jim-Fxty1mrVU9GlFc2d6oM/ew@public.gmane.org> wrote:> > Jeremy Kemper said: > > Jim Weirich wrote: > >> But I have a question. I currently have three books on the site. It > >> seems that the chapter numbers continue from one book to the next. For > >> example, the first book has 7 chapters (numbered 1-7). The second book > >> has three chapters, but they are numbered (8-10) rather than the (1-3) I > >> expected. (The table of contents in the left hand margin has the > >> correct > >> (1-3) numbering.) > > > > They are referenced by id. This could use some Routes lovin for pretty > > /title/chapter URLs. > > Yes. Got that. But just to be clear, the numbering I''m complaining about > is the numbers in the body of the text, not the ID numbers in the URL. > > It just seems odd to have the first chapter numbered "8". > > For example, this is the introduction page of the first chapter of the > second book: > > 8. Overview > 8.1 Introduction > > gem is the command-line interface to RubyGems. [...] > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog