-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File src/content/docs/en/kitchen-sink/test-page.mdx was updated on zh…
…-CN locale
- Loading branch information
1 parent
b6dac63
commit d778e65
Showing
1 changed file
with
306 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
--- | ||
title: "Test page" | ||
description: "A test page containing all Markdown components\"" | ||
slug: "en/test-page" | ||
sidebar-position: 1 | ||
--- | ||
标头2 | ||
--- | ||
|
||
### Header 3 | ||
|
||
#### Header 4 | ||
|
||
##### Header 5 | ||
|
||
###### Header 6 | ||
|
||
Typography | ||
---------- | ||
|
||
* Unordered | ||
* Bullet | ||
* List | ||
|
||
1. Ordered | ||
2. Bullet | ||
3. List | ||
|
||
[Inline link](https://adjust.com). | ||
|
||
[Reference link](https://help.adjust.com). | ||
|
||
**Bold text** | ||
|
||
*Italic text* | ||
|
||
Concept | ||
: Definition of the concept | ||
|
||
Custom Typography | ||
----------------- | ||
|
||
Select the copy button \(<icon name="Copy" />\). | ||
|
||
<badge>This is a badge</Badge> | ||
|
||
<badge color="important">An important badge</Badge> | ||
<badge color="warning" icon="Warning"> Warning with icon </Badge> | ||
|
||
选择 <menuselection>File \-\-> My Profile \-\-> Billing</MenuSelection> | ||
|
||
<abbr>RTBF \(Right to be forgotten\)</Abbr> | ||
|
||
Expressive code | ||
--------------- | ||
|
||
```swift | ||
let authorizationStatus = Adjust.appTrackingAuthorizationStatus() | ||
``` | ||
|
||
```console | ||
$ curl -X POST https://app.adjust.com/api/v1/create | ||
``` | ||
|
||
```json | ||
[ | ||
{ | ||
"id": "string", | ||
"name": "string", | ||
"short_name": "", | ||
"section": "", | ||
"formatting": "money", | ||
"increase_is_negative": false, | ||
"description": "", | ||
"app_token": ["string"], | ||
"tokens": ["string"] | ||
} | ||
] | ||
``` | ||
|
||
```json | ||
[ | ||
{ | ||
"id": "string", | ||
"name": "string", | ||
"short_name": "", | ||
"section": "", | ||
"formatting": "money", | ||
"increase_is_negative": false, | ||
"description": "", | ||
"app_token": ["string"], | ||
"tokens": ["string"] | ||
} | ||
] | ||
``` | ||
|
||
```json | ||
[ | ||
{ | ||
"id": "string", | ||
"name": "string", | ||
"short_name": "", | ||
"section": "", | ||
"formatting": "money", | ||
"increase_is_negative": false, | ||
"description": "", | ||
"app_token": ["string"], | ||
"tokens": ["string"] | ||
} | ||
] | ||
``` | ||
|
||
Accordions | ||
---------- | ||
|
||
<accordion title="Example accordion"> | ||
|
||
Accordion without badge. It **contains** [Markdown](https://www.markdownguide.org/). | ||
</Accordion> <accordion title="Example accordion" badge="iOS"> | ||
|
||
Accordion with badge. It **contains** [Markdown](https://www.markdownguide.org/). | ||
</Accordion> | ||
|
||
Callouts | ||
-------- | ||
|
||
<callout> | ||
|
||
This is a default callout. It **renders** [Markdown](https://markdownguide.org/). | ||
</Callout> <callout title="Default callout with custom label"> | ||
|
||
This is a default callout. It **renders** [Markdown](https://markdownguide.org/). | ||
</Callout> <callout type="warning"> | ||
|
||
This is a callout with no label. It **renders** [Markdown](https://markdownguide.org/). | ||
</Callout> <callout type="note" title="A note callout"> | ||
|
||
This is a *note* callout. It **renders** [Markdown](https://www.markdownguide.org/). | ||
</Callout> <callout type="tip" title="A tip callout"> | ||
|
||
This is a *tip* callout. It **renders** [Markdown](https://www.markdownguide.org/). | ||
</Callout> <callout type="warning" title="A warning callout"> | ||
|
||
This is a *warning* callout. It **renders** [Markdown](https://www.markdownguide.org/). | ||
</Callout> <callout type="important" title="An important callout"> | ||
|
||
This is an *important* callout. It **renders** [Markdown](https://www.markdownguide.org/). | ||
</Callout> <callout type="seealso" title="A seealso callout"> | ||
|
||
This is a *seealso* callout. It **renders** [Markdown](https://www.markdownguide.org/). | ||
</Callout> | ||
|
||
Tabs | ||
---- | ||
|
||
<tabs> <tab title="Tab 1"> | ||
|
||
This is tab information in tab 1 | ||
</Tab> <tab title="Tab 2"> | ||
|
||
This is tab information in tab 2 | ||
</Tab> </Tabs> <tabs> <tab title="iOS" icon="PlatformIos"> | ||
|
||
This is information about iOS | ||
</Tab> <tab title="安卓" icon="PlatformAndroid"> | ||
|
||
This is information about Android | ||
</Tab> </Tabs> <tabs> <tab title="iOS" icon="PlatformIos" sync="ios"> | ||
|
||
This is information about iOS | ||
</Tab> <tab title="安卓" icon="PlatformAndroid" sync="android"> | ||
|
||
This is information about Android | ||
</Tab> </Tabs> <tabs> <tab title="应用商店" icon="PlatformIos" sync="ios"> | ||
|
||
This is information about the App Store | ||
</Tab> <tab title="Play 商店" icon="PlatformGooglePlay" sync="android"> | ||
|
||
This is information about the Play Store | ||
</Tab> </Tabs> | ||
|
||
Tiles | ||
----- | ||
|
||
<tile title="Documentation goals" icon="Kpi"> | ||
|
||
This is a tile that contains documentation goals. | ||
|
||
*It* **contains** [Markdown](https://www.markdownguide.org/). | ||
</Tile> | ||
|
||
Tables | ||
------ | ||
|
||
<table> | ||
|
||
| 标头1 | 标头2 | Header 3 | | ||
|--------------------------------|-------------------------------------------|----------------------------------------------| | ||
| Column 1 | Column 2 | Column 3 | | ||
| **Inline** *Markdown* ~syntax~ | [is available](https://markdownguide.org) | <ul><li>so</li><li>is</li><li>HTML</li></ul> | | ||
|
||
</Table> <table> | ||
|
||
| Left aligned | Center aligned | Right aligned | | ||
|:-------------|:--------------:|--------------:| | ||
| left | center | Right | | ||
|
||
</Table> <table list> | ||
|
||
* | ||
* 标头1 | ||
* 标头2 | ||
* Header 3 | ||
|
||
* | ||
* Column 1 | ||
* Column 2 | ||
* Column 3 | ||
|
||
* | ||
* **Markdown** *Syntax* | ||
* [is available](https://markdownguide.org) | ||
* | ||
* 包括 | ||
* List | ||
* items | ||
|
||
</Table> <table height="400"> | ||
|
||
| 参数 | 格式 | In | 描述 | | ||
|-----------------------|-----|----|----------------------------------------------------------------------------------------------------------------------------| | ||
| `app_tokens` | 字符串 | 查询 | 用逗号隔开的应用识别码列表。 | | ||
| `start_date` | 日期 | 查询 | The start date of the selected period. `YYYY-MM-DD` format. | | ||
| `end_date` | 日期 | 查询 | The end date of the selected period. `YYYY-MM-DD` format. | | ||
| `utc_offset` | 时间 | 查询 | UTC offset for timezones. `[+-]HH:MM` format. | | ||
| `kpis` | 字符串 | 查询 | Comma\-separated list of metrics. Comma\-separated list of metrics. Use App metrics, Fraud metrics, and Ad spend metrics | | ||
| `sandbox` | 布尔 | 查询 | Whether results come from sandbox or production data. Defaults to production \(`false`\). | | ||
| `countries` | 字符串 | 查询 | 用逗号隔开的国家/地区名称列表 \(采用 ISO 3166 alpha\-2 代码\)。 | | ||
| `os_names` | 字符串 | 查询 | 用逗号隔开的操作系统名称列表。 | | ||
| `device_types` | 字符串 | 查询 | 用逗号隔开的设备类型列表。 | | ||
| `grouping` | 字符串 | 查询 | 为参数分组。更多信息,请查看[结果分组](/en/api/kpi-service/grouping)。 | | ||
| `tracker_filter` | 字符串 | 查询 | 您想包含在结果中的任意跟踪链接的跟踪码。只有与这些跟踪链接相关的指标才会被返回。 | | ||
| `human_readable_kpis` | 布尔 | 查询 | Replace metrics with human readable alternatives \(for example: "Lifetime Value" instead of `lifetime_value`\). | | ||
|
||
</Table> <table resizable> | ||
|
||
| 标头1 | 标头2 | Header 3 | | ||
|----------|----------|----------| | ||
| Column 1 | Column 2 | Column 3 | | ||
|
||
</Table> <table noflex> | ||
|
||
| 标头1 | 标头2 | Header 3 | | ||
|----------|----------|----------| | ||
| Column 1 | Column 2 | Column 3 | | ||
|
||
</Table> <table striped> | ||
|
||
| 标头1 | 标头2 | Header 3 | | ||
|-------------|-------------|-------------| | ||
| Row 1 col 1 | Row 1 col 2 | Row 1 col 3 | | ||
| Row 2 col 1 | Row 2 col 2 | Row 2 col 3 | | ||
|
||
</Table> <table search> | ||
|
||
| Column 1 | Column 2 | Column 3 | | ||
|-----------|---------------------------|----------------------------| | ||
| Apple | Apples are nice fruit | You should search for them | | ||
| Pear | Pears are nice fruit | You should search for them | | ||
| Grape | Grapes are nice fruit | You should search for them | | ||
| Banana | Bananas are nice fruit | You should search for them | | ||
| Pineapple | Pineapples are nice fruit | You should search for them | | ||
|
||
</Table> <table noborder> | ||
|
||
| 标头1 | 标头2 | Header 3 | | ||
|-------------|-------------|-------------| | ||
| Row 1 col 1 | Row 1 col 2 | Row 1 col 3 | | ||
| Row 2 col 1 | Row 2 col 2 | Row 2 col 3 | | ||
|
||
</Table> <table noborder resizable search> | ||
|
||
| Column 1 | Column 2 | Column 3 | | ||
|-----------|---------------------------|----------------------------| | ||
| Apple | Apples are nice fruit | You should search for them | | ||
| Pear | Pears are nice fruit | You should search for them | | ||
| Grape | Grapes are nice fruit | You should search for them | | ||
| Banana | Bananas are nice fruit | You should search for them | | ||
| Pineapple | Pineapples are nice fruit | You should search for them | | ||
|
||
</Table> | ||
|
||
Feature versions | ||
---------------- | ||
|
||
<minorversion added="v4.20.0"> | ||
|
||
This feature was introduced in version 4\.20\.0 | ||
</MinorVersion> <minorversion changed="v4.21.0"> | ||
|
||
This feature was changed in version 4\.21\.0 | ||
</MinorVersion> <minorversion removed="v4.22.0"> | ||
|
||
This feature was removed in version 4\.22\.0 | ||
</MinorVersion> | ||
|