Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rick DeNatale, post: 4632336"] [Note: parts of this message were removed to make it a legal post.] I'm pretty sure that those are there simply through the use of the --diagram option of rdoc and were automatically generated using doc. For static images all you need to do is put them somewhere relative to the docs directory and use the image: markup For example if I have an image dontswing.jpg in the parent directory of rdoc generated doc directory I can do # This documents the Foo class # link:../dontswing.jpg class Foo end and $rdoc *.rb shows that image in the documentation for foo. If you want to put the image somewhere underneath the doc directory, you can, but you have to do it yourself, and probably want a rake task to do that after you've (re)generated the rdoc output. I'd never done that myself but it really did take just a bit of reading the doc and a little experimentation. -- Rick DeNatale Blog: [URL]http://talklikeaduck.denhaven2.com/[/URL] Twitter: [URL]http://twitter.com/RickDeNatale[/URL] WWR: [URL]http://www.workingwithrails.com/person/9021-rick-denatale[/URL] LinkedIn: [URL]http://www.linkedin.com/in/rickdenatale[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
Top