Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 647 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 647 Bytes

docs-starter

A docs template by vitepress

Try it now!

$ pnpm create un
# or
$ pnpm create un [my-project] -t docs-starter

Init git hook(optional)

$ pnpm git-hook-init

Development

$ pnpm dev

Build

Build your documentation

$ pnpm build

Publish

Publish your document by gh-pages

Note:

  • Make sure that remote repository is linked (git remote add origin xxxx)
  • Keep the repository's name same as the package.json's name

Then

$ pnpm deploy:docs

Then visit https://[your-username].github.io/[your-repo-name]/