Skip to content

Commit

Permalink
docs: use fake api table to avoid ci pending
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Dec 8, 2022
1 parent 8898faa commit d8b01a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@ Powered by self`,
},
ssr: process.env.NODE_ENV === 'development' ? false : {},
sitemap: { hostname: 'https://d.umijs.org' },
apiParser: {},
resolve: {
entryFile: './docs/guide/demos/entry.tsx',
},
};
4 changes: 3 additions & 1 deletion docs/guide/auto-api-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export const Foo: FC<{

上述代码将会被渲染为:

<API id="Foo"></API>
| 属性名 | 描述 | 类型 | 默认值 |
| ------ | -------- | -------- | -------- |
| title | 属性描述 | `string` | `默认值` |

## 注意事项

Expand Down
9 changes: 0 additions & 9 deletions docs/guide/demos/entry.tsx

This file was deleted.

0 comments on commit d8b01a1

Please sign in to comment.