|
|
@ -306,11 +306,11 @@ export interface AlgoliaSearchOptions extends DocSearchProps {
|
|
|
|
|
|
|
|
|
|
|
|
View full options [here](https://github.com/vuejs/vitepress/blob/main/types/docsearch.d.ts).
|
|
|
|
View full options [here](https://github.com/vuejs/vitepress/blob/main/types/docsearch.d.ts).
|
|
|
|
|
|
|
|
|
|
|
|
## carbonAds {#carbon-ads}
|
|
|
|
## carbonAds
|
|
|
|
|
|
|
|
|
|
|
|
- Type: `CarbonAds`
|
|
|
|
- Type: `CarbonAdsOptions`
|
|
|
|
|
|
|
|
|
|
|
|
A option to display [Carbon Ads](https://www.carbonads.net/).
|
|
|
|
An option to display [Carbon Ads](https://www.carbonads.net/).
|
|
|
|
|
|
|
|
|
|
|
|
```ts
|
|
|
|
```ts
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
@ -324,7 +324,7 @@ export default {
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```ts
|
|
|
|
```ts
|
|
|
|
export interface CarbonAds {
|
|
|
|
export interface CarbonAdsOptions {
|
|
|
|
code: string
|
|
|
|
code: string
|
|
|
|
placement: string
|
|
|
|
placement: string
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -375,4 +375,4 @@ Can be used to customize the sidebar menu label. This label is only displayed in
|
|
|
|
- Type: `string`
|
|
|
|
- Type: `string`
|
|
|
|
- Default: `Return to top`
|
|
|
|
- Default: `Return to top`
|
|
|
|
|
|
|
|
|
|
|
|
Can be used to customize the label of the returnToTop. This label is only displayed in the mobile view.
|
|
|
|
Can be used to customize the label of the returnToTop. This label is only displayed in the mobile view.
|
|
|
|