diff --git a/website/docs/docusaurus-core.md b/website/docs/docusaurus-core.md index 92e54798ca2d2..40fa01f1c535b 100644 --- a/website/docs/docusaurus-core.md +++ b/website/docs/docusaurus-core.md @@ -153,6 +153,13 @@ const Test = () => { React hook to automatically prepend `baseUrl` to a string automatically. This is particularly useful if you don't want to hardcode your config's `baseUrl`. We highly recommend you to use this. +```ts +type BaseUrlOptions = { + forcePrependBaseUrl: boolean; + absolute: boolean; +}; +``` + Example usage: ```jsx {3,11}