rivet: a simple static site generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Alessandro Mauri 6b5c973a64 added license to source file 1 year ago
.gitignore corrected usage information 1 year ago
LICENSE first commit 1 year ago
README.md better readme, fixed example 1 year ago
makefile correct version in makefile 1 year ago
rivet.1 removere references to rivet being a compiler 1 year ago
rivet.sh added license to source file 1 year ago

README.md

Rivet: static site genetator

River takes a source directory containing a the file sources and produces an output directory that can actually be uploaded to a server.

Dependencies

Examples

Generate site from directory to cool_site

$ rivet -o cool-site/ secret-sauce/ cool-url

The makefile I use to generate my site

SRCDIR = src
DESTDIR = dst
DOMAIN = alemauri.eu

all:
	rivet -o ${DESTDIR} ${SRCDIR} ${DOMAIN}

test: all
	xdg-open ${DESTDIR}/index.html

install: all
	rsync -vmruLz --delete ${DESTDIR}/ www@${DOMAIN}:/www/

clean:
	rm -rf ${DESTDIR}

Similar tools