Joel VanderWerf
10/24/2004 9:56:00 PM
Tim Hunter wrote:
> Joel VanderWerf wrote:
>
>
>>Is the local file one of those generated by rdoc? This has worked for me:
>>
>> doc/protocol.txt[link:files/doc/protocol_txt.html]
>
>
> Is there magic in the --op option? I just tried a simple test. I made a
> file, rdoctest.rb, with just this line:
> # label[link:doc/files/rdoctest_rb.html]
>
> Then I ran
> rdoc rdoctest.html
?? File not found: rdoctest.html
>
> Rdoc created this hyperlink:
> <a href="link:doc/files/rdoctest_rb.html">label</a>
IIRC, the link URL is relative to the --op dir. Since you are using the
default --op dir, which is doc/, you omit that from your url:
# label[link:files/rdoctest_rb.html]
You example seems to work now.