crazko / statie-web

📖 [deprecated] Documentation site for Statie - PHP Static Site Generator
2 stars 2 forks source link

Clarification for Gulp #36

Closed alexfornuto closed 5 years ago

alexfornuto commented 5 years ago

Regarding Getting Started

  1. You don't specify that the example code needs to be in gulpfile.js, which new users may not know (I didn't).

  2. While running gulp gulpfile.js file described, I get this after every file change:

Description:
  Generate a site from source

Usage:
  generate [options] [--] <source>

Arguments:
  source                Directory to load page FROM.

Options:
      --output=OUTPUT   Directory to generate page TO. [default: "/home/alex/repos/statie/output"]
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -c, --config=CONFIG   Path to config file. [default: "statie.(yml|yaml)"]
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

EDIT: #2 is solved by adding source to lines 11 and 21. I'll submit a PR to fix.