docs: fix carbonAds types (#1879)

pull/1902/head
manchan 3 years ago committed by GitHub
parent f9743816a5
commit 43dddce813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -306,11 +306,11 @@ export interface AlgoliaSearchOptions extends DocSearchProps {
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
export default {
@ -324,7 +324,7 @@ export default {
```
```ts
export interface CarbonAds {
export interface CarbonAdsOptions {
code: string
placement: string
}
@ -375,4 +375,4 @@ Can be used to customize the sidebar menu label. This label is only displayed in
- Type: `string`
- 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.

Loading…
Cancel
Save