tag:rubydoc.tenderapp.com,2010-12-26:/discussions/questions/234-can-i-link-my-docs-to-docs-from-other-gemsRubydoc.info: Discussion 2014-12-08T18:54:49Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/354072102014-11-28T12:38:18Z2014-11-28T12:38:19ZCan I link my docs to docs from other gems?<div><p>I have classes that inherit from classes from other gems. Let's
say my classes inherit from the class "DataStruct" from a
hypothetical gem "datastruct". My documentation now correctly
displays that "DataStruct" is the parent of my classes, but the
DataStruct text is not clickable. My question is: is it possible to
specify to RubyDoc.info that it should include other gems in
references like "{DataStruct}" so it'll create a link to DataStruct
in the documentation for the "datastruct" gem?</p>
<p>My desired result is to have references to objects in other gems
clickable in my documentation. Is there any way to achieve
that?</p></div>tag:rubydoc.tenderapp.com,2010-12-26:Comment/354072102014-11-28T12:45:11Z2014-11-28T12:45:11ZCan I link my docs to docs from other gems?<div><p>Currently the best way to do this would be to manually create a
link directly to the "datastruct" gem's rubydoc.info page using
Markdown (or whatever markup format you are using). There is
unfortunately no built-in syntax to cross-link documentation
between gems.</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/354072102014-11-29T16:25:12Z2014-11-29T16:25:12ZCan I link my docs to docs from other gems?<div><p>This is a really great idea though :).</p></div>naptag:rubydoc.tenderapp.com,2010-12-26:Comment/354072102014-12-08T18:54:48Z2014-12-08T18:54:48ZCan I link my docs to docs from other gems?<div><p>It would be really useful to be able to link to Ruby's standard
library as well, like:</p>
<pre>
<code>{File#open}</code>
</pre></div>Tomas Sandven