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

How do I exclude README from _sites? #257

Closed
ma11hew28 opened this issue Dec 23, 2010 · 3 comments
Closed

How do I exclude README from _sites? #257

ma11hew28 opened this issue Dec 23, 2010 · 3 comments

Comments

@ma11hew28
Copy link
Contributor

If I do _README, then github doesn't display it on the Source tab.

Is there a another way to specify certain files to exclude besides beginning the file name with an underscore?

This would also be useful for the Rakefile, LICENSE, TODO, etc...

Thanks!

Matt

@dabit
Copy link

dabit commented Dec 23, 2010

Add something like this to your _config.yml:

exclude: ['README.markdown', 'Gemfile.lock', 'Gemfile']

@ma11hew28
Copy link
Contributor Author

@dabit, thanks! That worked! I did:

exclude: ["CNAME", "Rakefile", "MIT-LICENSE", "README.md", "TODO.taskpaper"]

@rmariuzzo
Copy link

And if I want to exclude a file in a dir, say: bundles/screen.scss? Or a subdir like bundles/source/? How can I do that?

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants