Closed kschiffer closed 4 years ago
I envision a usage like this
<DocLink ref="/concepts/webhook-templates">
<Message content={sharedMessages.webhookTemplattes} />
</DocLink>
But we should also provide utilities to generate the documentation link outside of components:
const webhooksDocURL = docLink('/reference/application-server-data/webhooks')
// will become -> https://thethingsstack.io/v3.7.0/reference/application-server-data/webhooks/
I think the usage of those will mostly revolve around form titles and descriptions, so it's good to think about how we can easily add documentation links in there.
Bonus points if you can find a way to verify that the links are valid during build.
closed via #2397
Summary
We need to be able to refer to our documentation from within the console.
Why do we need this?
Provide help right where it is needed.
What is already there? What do you see now?
Documentation
What is missing? What do you want to see?
A safe way to refer to the documentation (linking) from within the console.
How do you propose to implement this?
<DocLink />
component that will concatenate the base path with the documentation pathCan you do this yourself and submit a Pull Request?
@pgalic96