9 releases

0.3.2 Nov 18, 2020
0.3.1 Nov 18, 2020
0.3.0 Sep 27, 2020
0.2.3 Sep 17, 2020
0.1.0 Jun 4, 2018

#292 in Template engine

MIT license

115KB
2K SLoC

Staple

powerful static site generator.

GitHub Workflow Status Crates.io Coverage Status Crates.io (recent) Crates.io

Installation

currently, staple provide two ways to download its stable binary version. for those who is using rust can download it via Cargo:

cargo install staple

or, you can download the latest version in Github Release.

Developer version

if you really need a developer version to taste some new feature which are not stable yet at the first time, you can download the latest staple code and compile it via Cargo:

cargo install --git https://github.com/Kilerd/staple.git

Usage

staple has full cli help text, run staple --help to get help text if you don't know how to use it.

Init a staple project

for now, there are two ways to create a staple project for a folder.

  • for existed folder, you can use command staple init to initialize current working folder as a new staple project.
  • for non-existed folder, using command staple new TARGET_FOLDER to create a new folder for staple

Dependencies

~30–41MB
~739K SLoC