Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.
/ nice-page-builder Public archive

Static site generator on Visual Studio Code extension.

Notifications You must be signed in to change notification settings

itozyun/nice-page-builder

Repository files navigation

Nice Page builder

Development is finished! Please use the successor gulp plugin.


開発を終了しました!後継の gulp プラグインをご利用ください。

Static site generator on Visual Studio Code extension.

VS Code エクステンションの静的サイトジェネレータです。


Overview 概要

  1. Generate html from template
  2. Separate common data shared by multiple pages into external files
  3. Site developers can freely add and call functions that return html strings
  4. Rewrite pages or add new pages based on aggregation of pages
  5. Rewrite pages or add new pages based on JSON files

  1. テンプレートからhtmlを生成します
  2. 複数のページで共有される共通データを外部ファイルに分ける
  3. サイト開発者が html 文字列を返す関数を自由に追加して呼ぶことができます
  4. ページの集計を元にしてページを書き換えたり新しいページを追加する
  5. JSONファイルを元にしてページを書き換えたり新しいページを追加する

settings.json example

{
    "nicePageBuilder.tasks" : [{
            "htmlRoot" : { "rootPath" : "source", "include" : "", "exclude" : "" },
            "jsonList" : [
                { "path" : "jsons/comment.json", "name" : "comment" },
                { "path" : "jsons/tweet.json",   "name" : "tweet"   }
            ],
            "output"   : "R:/output"
    }]
}

Links

Visual Studio Marketplace > Nice Page Builder

For more information

Enjoy!

About

Static site generator on Visual Studio Code extension.

Resources

Stars

Watchers

Forks