rdoc-list Mailing List for RDoc: NO LONGER ACTIVE—part of Ruby
Status: Inactive
Brought to you by:
pragdave
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|
From: Ian A. M. <ima...@we...> - 2002-11-08 18:20:36
|
It seems there is a normalize function in markup/simple_markup/fragments.rb that is not being called when producing html output. I'll look into this. I'll try to keep from putting too many mails to the list. -- Ian A. Marsman Software Developer - Victoria, BC ima...@we... http://prosodic.ods.org |
From: Ian A. M. <ima...@we...> - 2002-11-08 18:09:21
|
Hello I'm using RDoc to turn simple markup text into valid XML (XHTML) for my website's pages and weblog. It works great. I have noticed one thing that is a bit irritating though; when one has a series of pre-formatted paragraphs such as Festival of Friends ------------------- an elegant song won't hold up long when the palace falls and the parlour's gone we all must leave but it's not the end we'll meet again at the festival of friends. smiles and laughter and pleasant times there's love in the world but it's hard to find i'm so glad i found you -- i'd just like to extend an invitation to the festival of friends. the blank (space only or just nl) lines get interpreted as an end of the preformatted region. It seems to me that what could be useful to do is have those empty lines skipped in terms of their interpretation as an end of a preformatted region. This way one could have a true preformatted region that included whitespace without worrying about having spurious paragraphs interspersed throughout. It would make for a more predictable outcome. I've been looking at the code for rdoc. It seems that an important file for this is: markup/simple_markup.rb It might be useful to have some sort of tracking variable to help decide what to do in this case. I value code cleanliness and would value a small hint at a good strategy for doing this. If it seems useful and works well I'd like to get this in the main distribution of RDoc and want to avoid implementing a solution that is messy or in contravention of conventions for the project. Please forgive my timidity. I've never contributed to a public project like this but am looking forward to doing so. I've also added support for a quick way to put indicators for URLs, images, and acronyms that might be useful for the HTML outputter. I need to add support for addition of arbitrary attributes to these things (to, for example specify the alignment of an image). RDoc is the nicest simple markup implementation I've seen. It's non intrusive and deals with whitespace in a logical way that is not burdensome for the writer. Sorry for my verbosity. -- Ian A. Marsman Software Developer - Victoria, BC ima...@we... http://prosodic.ods.org |
From: David C. <dc...@im...> - 2002-04-19 18:01:25
|
I've just downloaded and installed the rdoc beta. I issue an rdoc command like this: "rdoc --all --op /local/web/rubyDoc /usr/local/lib/ruby" "/local/web/rubyDoc" does not exist. (though the same problem happens if it is an empty directory). After spending some time scanning the various files, and telling me what it is doing, it ends with: --cut-- Generating HTML... Directory /local/web/rubyDoc already exists, but it looks like it isn't an RDoc directory. Because RDoc doesn't want to risk destroying any of your existing files, you'll need to specify a different output directory name (using the --op <dir> option). --cut-- Call me baffled. Ideas? David Corbin |