Skip to content

Commit 8ab4090

Browse files
committed
chore: update docs config
- Add static page generation
1 parent 444f633 commit 8ab4090

File tree

4 files changed

+15
-23
lines changed

4 files changed

+15
-23
lines changed

.umirc.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { defineConfig } from 'dumi';
2+
3+
export default defineConfig({
4+
title: 'rc-scrollbar',
5+
mode: 'docs',
6+
logo: '/logo.svg',
7+
favicon: '/favicon.ico',
8+
exportStatic: {},
9+
hash: true,
10+
resolve: {
11+
includes: ['docs'],
12+
},
13+
});
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rejuvenated project of <a href="https://github.com/malte-wessel/react-custom-scr
88

99
[![npm](https://img.shields.io/badge/npm-rc--scrollbars-brightgreen.svg?style=flat-square)](https://www.npmjs.com/package/rc-scrollbars)
1010
[![npm version](https://img.shields.io/npm/v/rc-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/rc-scrollbars)
11+
[![npm downloads](https://img.shields.io/npm/dm/rc-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/rc-scrollbars)
1112

1213
* frictionless native browser scrolling
1314
* native scrollbars for mobile devices
@@ -19,7 +20,7 @@ rejuvenated project of <a href="https://github.com/malte-wessel/react-custom-scr
1920
* no extra stylesheets
2021
* well tested, 100% code coverage
2122

22-
**[Demos](https://rc-scrollbars.vercel.app/) · [Documentation](https://github.com/sakhnyuk/rc-scrollbars/tree/master/docs)**
23+
**[Demos](/demo) · [API](/api)**
2324

2425
## Installation
2526
```bash

src/global.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

umirc.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)