How to force RDoc not to parse a file?

  • Thread starter Iñaki Baz Castillo
  • Start date
I

Iñaki Baz Castillo

Hi, I want to include a text file (LICENSE.txt) in the RDoc
documentation. However, I don't want RDoc to parse it, instead, I want
it to be displayed as text format.
Is it possible with some commandline option of rdoc? I've not found it...

Thanks.

--=20
I=C3=B1aki Baz Castillo
<[email protected]>
 
T

Tim Hunter

Iñaki Baz Castillo said:
Hi, I want to include a text file (LICENSE.txt) in the RDoc
documentation. However, I don't want RDoc to parse it, instead, I want
it to be displayed as text format.
Is it possible with some commandline option of rdoc? I've not found
it...

Thanks.

Did you try rdoc --help?

--exclude, -x pattern
do not process files or directories matching
pattern. Files given explicitly on the
command
line will never be excluded.
 
J

Joel VanderWerf

Tim said:
Did you try rdoc --help?

--exclude, -x pattern
do not process files or directories matching
pattern. Files given explicitly on the
command
line will never be excluded.

Maybe he wanted to suppress markup but still include the file in the
rdoc output and index listing. That seems reasonable for LICENSE.txt.
 
T

Tim Hunter

Joel said:
Maybe he wanted to suppress markup but still include the file in the
rdoc output and index listing. That seems reasonable for LICENSE.txt.

You're right. I didn't read his post carefully enough.
 
I

Iñaki Baz Castillo

=C2=A0 =C2=A0 =C2=A0 =C2=A0line will never be excluded.
Maybe he wanted to suppress markup but still include the file in the rdoc
output and index listing. That seems reasonable for LICENSE.txt.

Yes, that is exactly what I want.


--=20
I=C3=B1aki Baz Castillo
<[email protected]>
 

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

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top