pagic

A static site generator powered by Deno + React

MIT License

Downloads
24
Stars
1.6K
Committers
19
pagic -

Published by xcatliu almost 4 years ago

Bugfix

  • theme(docs): Fix popover bug
pagic -

Published by xcatliu over 7 years ago

Bugfix

  • #9 Return the normalized path
  • #11 Rename path to filePath
  • #10 ζ”―ζŒδΈ­ζ–‡

Features

  • #8 Add support for code highlighting
pagic -

Published by xcatliu over 7 years ago

Bugfix

  • Fix watch issue, now only rebuild changed file

Features

  • Add watch() and unwatch() api
pagic -

Published by xcatliu over 7 years ago

Bugfix

  • Fixed #2

Other Changes

  • Reconstruct to Pagic class
  • Extract processors
  • Add unit tests
  • Add travis
pagic -

Published by xcatliu over 7 years ago

Breaking Changes

  • Use pagic build instead of pagic
  • require('pagic') will return the Pagic class

New Features

_config.yml

We can set the configuration in _config.yml, the default is:

src_dir: src
public_dir: public

pagic build

We can use pagic build to build static page, there are some options while using build command:

pagic build [options]

# -w, --watch  watch src dir change
# -s, --serve  serve public dir
# -p, --port   override default port

pagic init

We can use pagic init to create a new Pagic folder:

pagic init <dir>
pagic -

Published by xcatliu over 7 years ago

Bugfix

  • Fix require cache bug
Package Rankings
Top 29.26% on Deno.land
Top 9.59% on Proxy.golang.org
Top 7.99% on Npmjs.org