Skip to content

SUMMARY.md does not skip hidden files #29

Open
@njsokol

Description

@njsokol

I have a template file .runbook-template.md which is being shown in the summary.md after being built. However, in the index.js file for summary, I see:

// Ignore hidden files, for example `.git`
if (/^[\.]|'_book'|'node_modules'/.test(key)) {
    ignores.push(key);
}

I have also tried to use the ignores in book.json as well,

"ignores": ["runbook-template"],

Any ideas on how to have these files hidden?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions