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

Support multiple example tasks #57

Closed
blond opened this issue Sep 6, 2015 · 0 comments
Closed

Support multiple example tasks #57

blond opened this issue Sep 6, 2015 · 0 comments
Assignees

Comments

@blond
Copy link
Member

blond commented Sep 6, 2015

module.exports = function (project) {
    // load plugin
    project.includeConfig('enb-bem-docs');
    var plugin = project.module('enb-bem-docs'),
        // create task with `__docs__` name
        // and get helper to configure it
        helper = plugin.createConfigurator('__docs__', ['examples', '__doc-examples__']),

    helper.configure({
        destPath : 'desktop.docs',
        levels : config.levels(platform),
        exampleSets : ['desktop.examples', 'desktop.doc-examples']
    });
};
@blond blond self-assigned this Sep 6, 2015
@blond blond added the review label Sep 6, 2015
@blond blond closed this as completed in #58 Sep 6, 2015
@blond blond removed the review label Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant