Skip to content

uhyo/my-static

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

my-static

My static website generator for me.

Installation

$ npm install -g my-static

Usage

Prepare your project including template files, data files, and myst.json.

Sample project: https://github.com/uhyo/myst-doc

Then run at the project directory:

$ myst

myst.json

Minimal myst.json has following fields. For paths, relative and absolute paths are accepted. Relative paths are treated as being relative to myst.json.

{
    "outDir": "./out",      // output directory (required)
    "rootDir": "./src",     // directory that contains template files.
    "data": "./data",       // directory that contains data files.
    "dependency": ["./templates"]      // dependencies other than src and data.
}

For more information, see myst-doc.

License

MIT

About

My static website generator for me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published