Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force vs no-prompt #7

Closed
allanhortle opened this issue Nov 10, 2014 · 4 comments
Closed

force vs no-prompt #7

allanhortle opened this issue Nov 10, 2014 · 4 comments

Comments

@allanhortle
Copy link

There is a bit of a discrepancy between the cli and the grunt task so it took me a while to figure out how to disable override prompts. This should either use similar language or documented somewhere.

@pascalduez
Copy link
Member

This is documented here: http://sassdoc.com/getting-started as of SassDoc/sassdoc.github.io#44

Note: options --sass-convert, --no-update-notifier and --no-prompt can also be set from the configuration file (set with --config) respectively with sass-convert, no-update-notifier and force.

Granted this is not straightforward enough. So we will update and clarify the docs.
Sorry for any inconvenience.

pascalduez added a commit to SassDoc/sassdoc.github.io that referenced this issue Nov 11, 2014
pascalduez added a commit to SassDoc/sassdoc.github.io that referenced this issue Nov 23, 2014
@jsit
Copy link

jsit commented Feb 24, 2015

I don't see any of this documented on the sassdoc site anymore.

https://www.google.com/search?q=site%3Asassdoc.com+%22force%22

@pascalduez
Copy link
Member

Hi @jsit,

starting from SassDoc 2.0 there's no force option anymore.

--no-prompt option no longer exists since SassDoc outputs its own folder (#302)

See https://github.com/SassDoc/sassdoc/blob/master/CHANGELOG.md#api-breaks-for-users
See SassDoc/sassdoc#302

So grunt-sassdoc >=2.0 is following SassDoc core behavior. Meaning there's only a src key necessary as in the examples. The docs files will be output in a sassdoc folder and that folder wiped without prompt.
If for some reasons you want to customize the output folder, you can do it with the dest option, either directly in the grunt task, or in a .sassdocrc if you have one.

@jsit
Copy link

jsit commented May 13, 2015

@pascalduez, that's not the whole story -- I do still need to put force: true in my Gruntfile options if I'm specifying a dest. sassdoc 2.1.11

This is still absent from the documentation as far as I can tell; should it be added?

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

No branches or pull requests

3 participants