Skip to content

Generator doesn't honour the nocode option. #12

@notthetup

Description

@notthetup

YUIDoc options have a (undocumented?) option nocode . That is set internally when the --no-code flag is used on the CLI.

When the option is set, the html version of the code files is NOT copied into the output directory. This is useful if you only want to publish the documentation and not the code.

The gulp-yuidoc copies generator copies the files property of the Parser data regardless of the nocode flag being set.

By adding a simple check we can ensure that the files are only generated if nocode is false. Something like..

notthetup@5551564

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions