fix carbonAds

pull/1879/head
成满 4 years ago
parent f9743816a5
commit 2a38c77939

@ -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