Skip to content

Commit

Permalink
fix: doc add base config
Browse files Browse the repository at this point in the history
  • Loading branch information
brickspert committed Jun 28, 2019
1 parent 744f973 commit 6762ed2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const options: IBundleOptions = {
prettier: true
},
doc: {
title: '@umijs/hooks'
title: '@umijs/hooks',
base: '/hooks/'
}
};

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
/node_modules
/.history
/.idea
/coverage
/coverage
.doc
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ react hooks library
## Usage

```sh
umi block https://github.com/https://github.com/umijs/hooks/tree/master/hooks
npm i @umijs/hooks --save
```

## LICENSE
Expand Down

0 comments on commit 6762ed2

Please sign in to comment.