Skip to content

Make a Yeoman generator #185

Description

@KittyGiraudel
  • Create a repository for the generator
  • Ask where to make the theme (would be handy with path autocompletetion, but I think this supplement will be only for Yeoman if it supports it) (defaults to CWD).
  • Ask to choose a template engine (defaults to something opinionated, but I'm not opinionated enough in JS template engines, mostly since I meet all these bugs bith my beloved Swig).
  • Ask whether to use sassdoc-indexer and sassdoc-filter (defaults to both).
  • Ask to use Grunt, Gulp (others?) or nothing.
    • Ask for tasks to create (SCSS compilation, CSS, JS and images minification).
  • Create assets/{css,img,js} and views folders.
    • Example CSS and JS files.
    • Example template according to the choosen template engine.
  • Create a package.json with Themeleon and template engine mixin dependencies, sassdoc-indexer and sassdoc-filter if selected.
  • Create the index.js using filter and indexer like sassdoc-theme-light if selected, and rendering the index.* according to the choosen template engine. The index.* needs also to be different if there is the filter and the indexer... because the structure won't be the same.
  • Create the Grunt/Gulp/whatever file with configured tasks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions