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

SUMMARY.md does not skip hidden files #29

Open
njsokol opened this issue Apr 5, 2018 · 1 comment
Open

SUMMARY.md does not skip hidden files #29

njsokol opened this issue Apr 5, 2018 · 1 comment

Comments

@njsokol
Copy link

njsokol commented Apr 5, 2018

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?

@imfly
Copy link
Owner

imfly commented Apr 6, 2018

Try to use the follow again please,

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

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

No branches or pull requests

2 participants