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

Jekyll ignores directories/files with underscores :( #55

Closed
rtyler opened this issue Jun 1, 2009 · 19 comments
Closed

Jekyll ignores directories/files with underscores :( #55

rtyler opened this issue Jun 1, 2009 · 19 comments

Comments

@rtyler
Copy link

rtyler commented Jun 1, 2009

My GitHub pages are generated with Sphinx which uses directories with underscores like:

  • _sources
  • _static

Both are being ignored by GitHub pages when I push making my pages look assey, qrush says this is Jekyll's fault (he's probably deflecting, it's probably qrush's fault)

@tomash
Copy link
Contributor

tomash commented Jun 1, 2009

Ain't that Jekyll's feature, to have underscore-started directories treated as "special"?

I mean, you could always circumvent that with symlinks, right?

@ujh
Copy link
Contributor

ujh commented Jun 2, 2009

That's true. And I think it should be the default behaviour. But wouldn't it be nice to configure jekyll to include (or exclude) certain directories? I for one would like to have a scripts instead of a _scripts directory (that's where I keep my ruby scripts to handle upload, etc.).

@bmaland
Copy link
Contributor

bmaland commented Jun 2, 2009

There already is an 'exclude' option, I'm not sure if 'include' would be a good idea though. Underscored files/dirs are supposed to be special.

@ujh
Copy link
Contributor

ujh commented Jun 2, 2009

That's great. No input from me anymore then :) English isn't my native language anyway. So I can't quite help with naming.

@rtyler
Copy link
Author

rtyler commented Jun 2, 2009

Dot files/directories should be special, I'm not certain about underscored directories. This is largely irrelvant for me now however, I've just decided not to put my project up on GitHub Pages shrugs

@qrush
Copy link
Contributor

qrush commented Jun 22, 2009

This seems like a non-issue. Closing this out.

@jakobi
Copy link

jakobi commented Aug 28, 2009

I'm another victim of this. Worse: If you decide to treat it as special, please DOCUMENT it as well. There's no way to use or 'guess' a trivial work-around, when you don't know about it.

@jakobi
Copy link

jakobi commented Aug 28, 2009

PS: On rereading it looks like June's victims might be more active Jekyll users, so:

I'm not an intentional jekyll user, so for me it's the defaults. I had an ==UNDERSCORE==script-archive directory, which was silently ignored without error message by the update of the user pages.

@dustin
Copy link

dustin commented Oct 22, 2009

I disagree that this is a non-issue. jekyll has a couple underscore directories it considers special. emma/_files is not one of them. I have a documentation system that generates all of this stuff and I rather like what it does.

@GreenGroup
Copy link

Using the sphinx extension from github-tools makes it possible to automatically remove the underscores from sphinx-generated sites.
See the thread at
http://groups.google.com/group/github/browse_thread/thread/d4c738147b282882/f95276cbbc935428

@assaf
Copy link

assaf commented Nov 18, 2009

YARD has the same issue: it generates _index.html which Jekyll ignores.

@xdissent
Copy link

What the hell kind of attitude do you think this projects to users? Obviously this is not a non-issue, as many people and extremely well established software systems are being snubbed by a seemingly random, completely undocumented "feature" of a piece of software we're forced to use in a service I'm paying for monthly. Hacking these packages to play nice with Jekyll is the most backward approach that could be taken and could render them incompatible with other (also well established) tools. Please reopen this issue!!!

@qrush
Copy link
Contributor

qrush commented Dec 23, 2009

Wow, simmer down folks. My attention open source wise since this issue has been opened has been on Gemcutter. I'm not sure why I can't open this issue back up but please feel free to crack open a new one for this.

@mojombo
Copy link
Contributor

mojombo commented Dec 23, 2009

I definitely consider this a problem, and I'll be working to get it fixed in the next Jekyll release. I should be able to devote time to this project very soon. I apologize for the frustration it may have caused.

@mojombo
Copy link
Contributor

mojombo commented Dec 28, 2009

As of today, if you create a file named .nojekyll in the root of your GitHub pages repo, Jekyll processing will be skipped and your site will be copied unmodified.

@xdissent
Copy link

Christmas just came a little late this year. Thanks, dudes!

@lukebayes
Copy link
Contributor

I'm also having trouble with this. The .nojekyll file was ok until I decided to go ahead and build my site using Jekyll.

I forked and added support for an 'include' configuration variable here:

https://github.com/lukebayes/jekyll/tree/include

@mojombo
Copy link
Contributor

mojombo commented Jan 15, 2012

In addition, #261 has been merged for finer grained control over included files/dirs.

@xdissent
Copy link

Oh that's even better! Thanks man, sorry for getting so frustrated!

tmarble added a commit to clojurebridge-minneapolis/installfest that referenced this issue Oct 24, 2016
As per...

Jekyll ignores directories/files with underscores :( #55
jekyll/jekyll#55

Signed-off-by: Tom Marble <tmarble@info9.net>
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
pointblack pushed a commit to pointblack/jekyll that referenced this issue Feb 3, 2018
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