Skip to content

A minimalistic static website generator based on Node.js

License

Notifications You must be signed in to change notification settings

mbruno46/websmith.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websmith.js

A minimalistic static website generator based on Node.js.

Authors

Copyright (C) 2021, Mattia Bruno

Documentation

The documentation can be found here. Several themes, taken from the Bootswatch project, are supported.

Local usage

It requires Node.js (and npm) to be installed in the system and it creates a static website from a single JSON input file (see documentation).

Github action

It can be used as a GitHub action, for example

name: Build Doc

on: [push]

jobs:
  deploy:

    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Install Node.js, npm
        uses: actions/setup-node@v1
        with:
          node-version: 11

      - name: Deploy website
        uses: mbruno46/websmith.js@main
        with:
          config: './website/config.json'
          build: './website/build'

About

A minimalistic static website generator based on Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published