# Documentation button

Any asset implementing the `I_AssetDetails` interface and overrides the `GetDocumentationLinks` will have a button appear next to the compile button that when pressed, will open that URL in the browser.

<figure><img src="https://3180859593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVAFyKjs3d16ljfQ2o0%2Fuploads%2FCJF6fGjEPVjLO6sg4bLd%2Fimage.png?alt=media&#x26;token=e4a5364e-e6c0-476c-ab6d-3934dcfb6b90" alt=""><figcaption></figcaption></figure>

```cpp
virtual TArray<FOmniDocumentationLinkAndText> GetDocumentationLinks_Implementation() const override
{
    return TArray<FOmniDocumentationLinkAndText>
    { 
        FOmniDocumentationLinkAndText("https://varian.gitbook.io/varian-docs/tagsmetadata")
    };
}
```

Providing more than 1 index will convert the button into a dropdown menu

<figure><img src="https://3180859593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVAFyKjs3d16ljfQ2o0%2Fuploads%2F4yCK9otYVpkh992mH41t%2Fimage.png?alt=media&#x26;token=eadc86bb-4415-4fb5-aabe-e32bd3dcc9f3" alt=""><figcaption></figcaption></figure>

```cpp
virtual TArray<FOmniDocumentationLinkAndText> GetDocumentationLinks_Implementation() const override
{
    return TArray<FOmniDocumentationLinkAndText>
    { 
        FOmniDocumentationLinkAndText(
        "https://varian.gitbook.io/varian-docs/tagsmetadata",
        "Option1")
        FOmniDocumentationLinkAndText(
        "https://varian.gitbook.io/varian-docs/",
        "Option2")
    };
}
```

{% hint style="info" %}
`FOmniDocumentationLinkAndText` has 2 parameters, a URL and a text. Remember to fill in the text when providing multiple links, as this text will be displayed to the user.
{% endhint %}
