Skip to content

Commit f63a0ca

Browse files
authored
chore: use dumi (#98)
1 parent bb91980 commit f63a0ca

19 files changed

+129
-19
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ yarn.lock
3131
package-lock.json
3232
.storybook
3333
.doc
34+
35+
# umi
36+
.umi
37+
.umi-production
38+
.umi-test
39+
.env.local

.umirc.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// more config: https://d.umijs.org/config
2+
import { defineConfig } from 'dumi';
3+
4+
export default defineConfig({
5+
title: 'rc-progress',
6+
favicon:
7+
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
8+
logo:
9+
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
10+
outputPath: '.doc',
11+
exportStatic: {},
12+
styles: [
13+
`
14+
.markdown table {
15+
width: auto !important;
16+
}
17+
`,
18+
]
19+
});

HISTORY.md renamed to CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
# History
1+
# Changelog
22

3-
---
3+
## 3.1.2
4+
5+
`2020.12.29`
6+
7+
- fix: line progress percentage. [#94](https://github.com/react-component/progress/pull/94)
8+
9+
## 3.1.1
10+
11+
`2020.10.21`
12+
13+
- chore: support react 17. [#87](https://github.com/react-component/progress/pull/87)
414

515
## 3.1.0
616

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22

33
Progress Bar.
44

5-
[![NPM version][npm-image]][npm-url]
6-
[![build status][github-actions-image]][github-actions-url]
7-
[![Test coverage][coveralls-image]][coveralls-url]
8-
[![Dependencies][david-image]](david-url)
9-
[![DevDependencies][david-dev-image]][david-dev-url]
10-
[![npm download][download-image]][download-url]
11-
[![bundle size][bundlephobia-image]][bundlephobia-url]
5+
[![NPM version][npm-image]][npm-url] [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![Dependencies][david-image]](david-url) [![DevDependencies][david-dev-image]][david-dev-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]
126

137
[npm-image]: http://img.shields.io/npm/v/rc-progress.svg?style=flat-square
148
[npm-url]: http://npmjs.org/package/rc-progress
@@ -29,7 +23,7 @@ Progress Bar.
2923

3024
## Example
3125

32-
http://react-component.github.io/progress/
26+
https://progress.react-component.vercel.app/
3327

3428
## Screenshots
3529

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<embed src="../CHANGELOG.md"></embed>

docs/demo/fast-progress.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## fast-progress
2+
3+
<code src="../examples/fast-progress.tsx">

docs/demo/gap.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## gap
2+
3+
<code src="../examples/gap.tsx">

docs/demo/gradient-circle.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## gradient-circle
2+
3+
<code src="../examples/gradient-circle.tsx">

docs/demo/simple.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## simple
2+
3+
<code src="../examples/simple.tsx">

examples/fast-progress.tsx renamed to docs/examples/fast-progress.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Line, Circle, ProgressProps } from '../src';
2+
import { Line, Circle, ProgressProps } from 'rc-progress';
33

44
class App extends React.Component<ProgressProps, any> {
55
constructor(props) {

0 commit comments

Comments
 (0)