orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
512 stars 53 forks source link

Question: link from wiki to kotlin doc #387

Closed ola-adolfsson-ipex closed 3 years ago

ola-adolfsson-ipex commented 3 years ago

Hi,

First, thanks for a great tool!

We're using the kotlindoc to document our code and the WIKI plugin to tie everything together. Now to the questions, is there a "proper" way to link to the kotlinc doc from the WIKI using itemID or similiar?

This is how we do it now in one mark down file: used through the [DummyLink](../../kotlindoc/api-dummy-component

We would like to remove the ../../ if that is possible? Using the itemId?

Thanks

cjbrooks12 commented 3 years ago

Yes, the proper way is to use the linking functions to create those links. The itemId for Kotlindoc pages is the class name you want to link to (both simple and fully-qualified class names are supported).