verbose / generator-verb

Kickstart documentation for any project! This is the official Yeoman generator for Verb, a zero-configuration markdown documentation generator that is extremely easy to use and extend.
MIT License
30 stars 5 forks source link

Adding a single document template. #2

Closed doowb closed 10 years ago

doowb commented 10 years ago

I'm trying to add single document templates and it's only re-running the node boilerplate:

yo verb doc:install

This makes me fill out my name, package name, and description each time and doesn't generator the requested document template.

jonschlinkert commented 10 years ago

I think you need to use yo verb:doc install.md, with the extension. Also, did you ever do yo verb on the project at least once? It needs to add a .verbrc.yml file.

I'm not sure how to get yeoman to skip the questions part. I don't know their API well enough yet. @hariadi, any advice?

jonschlinkert commented 10 years ago

Also, @doowb maybe you can look at verb-cli and offer some idea for how to fool liftoff into not requiring a config file in order to use the local project's instance of verb. I'll create an issue with liftoff if necessary, but I want to make sure I'm not missing an existing feature first.

doowb commented 10 years ago

I tried yo verb doc:install.md and it still didn't work. The docs on yeoman sub-generators are that great. They just say, look at the generator-generator project docs and that doesn't tell you anything about the actual sub-generator api or how it works.