Skip to content

Commit

Permalink
refactor: docs framework use rspress
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelySnowman committed Oct 17, 2024
1 parent 025d523 commit e78857c
Show file tree
Hide file tree
Showing 24 changed files with 2,125 additions and 7,869 deletions.
8 changes: 0 additions & 8 deletions docs/.dumirc.ts

This file was deleted.

169 changes: 0 additions & 169 deletions docs/CHANGELOG.md

This file was deleted.

21 changes: 2 additions & 19 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#
# snow-design docs

A static site base on [dumi](https://d.umijs.org).

## Development

```bash
# install dependencies
$ pnpm install

# start dev server
$ pnpm start

# build docs
$ pnpm run build
```

## LICENSE

MIT
- SnowDesign 官方文档,基于 rspress 搭建
8 changes: 8 additions & 0 deletions docs/components/react/button/type.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import { Button } from '@snow-design/components';

const ButtonType = () => {
return <Button>Test</Button>;
};

export default ButtonType;
7 changes: 7 additions & 0 deletions docs/components/vue3/button/type.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<template>
<Button type="primary">点击</Button>
</template>

<script setup lang="ts">
import { Button } from "@snow-design/vue3";
</script>
48 changes: 0 additions & 48 deletions docs/docs/components/index.md

This file was deleted.

46 changes: 0 additions & 46 deletions docs/docs/components/pagination.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/docs/guide/i18n.md

This file was deleted.

Loading

0 comments on commit e78857c

Please sign in to comment.