RDoc and block indent in the constructor

D

Daniel Berger

Hi all,

I'm having some RDoc trouble. Specifically, I can't get indented code for
:call-seq: to maintain the block indent for the generated HTML.

The RDOC looks something like this:

# :call-seq:
# use foo, options
# # or
# use foo,
# :eek:ption1 => :arg1, [...],
# :eek:ption2 => :arg2, [...],
# :eek:ption3=> {:key => :val}

When I run rdoc over this, the 'option1', 'option2' and 'option3' end up left
justified in the generated HTML. I'd like them to maintain their indent in the
generated HTML (i.e. keep the same layout you see above).

Is this possible? I messed around a bit with some of the various list
notations, but couldn't make it work (and I don't really want list notation
there anyway).

Suggestions appreciated.

Thanks,

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top