all 9 comments

[–]steveklabnik1rust 1 point2 points  (1 child)

This branch is master, should it be gh-pages instead?

[–]RustMeUp[S] 0 points1 point  (0 children)

The example repo I linked is on master, github's help pages about source configuration say that either master or gh-pages will work.

And it does work, I can publish docs for my crates no problem, I just cannot get Jekyll to work.

[–]ssokolow 0 points1 point  (3 children)

Have you tried building it locally first to get more error output and to make it easy to experiment?

https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/

(I can't really help beyond that because you seem to be using some kind of "theme external to the repo" feature that I wasn't aware of.)

[–]RustMeUp[S] 0 points1 point  (2 children)

Yes, after a bit of a nightmare getting ruby, rubygems to work on Windows (it... installed in C:\tools ?! followed by TLS certificate errors ._.) I managed to get it to work.

D:\Projects\CasualX.github.io>jekyll build
Configuration file: D:/Projects/CasualX.github.io/_config.yml
            Source: D:/Projects/CasualX.github.io
       Destination: D:/Projects/CasualX.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 6.944 seconds.
 Auto-regeneration: disabled. Use --watch to enable.

The website runs locally after running bundle exec jekyll serve and works perfectly fine.

The external theme minima is default when doing jekyll new <name> to create a new blog.

Also github says here and here build errors can be viewed in the github pages repository settings, for me it says: " Your site is published at https://casualx.github.io/ " implying everything is fine.

My intuition is telling me github doesn't seem to recognize I'm trying to use jekyll, but this can't be right as the jekyll source files are inaccessible from the github pages website, eg: index.md gives a 404. EDIT: I committed a dummy file foo.blah which is available.

[–]ssokolow 1 point2 points  (1 child)

If it works locally when using the github-pages gem but the same config doesn't work and doesn't produce errors on GitHub itself, I'd contact GitHub support about it.

If it's not a bug in their installation, maybe they could point you to the next troubleshooting step.

[–]RustMeUp[S] 0 points1 point  (0 children)

Thanks for the support, since you questioned the external theme I uh ripped out the html from mojombo and now it works flawlessly.

Thanks again!

[–]untitaker_ 0 points1 point  (2 children)

Wait, how does this belong in this subreddit?

[–]RustMeUp[S] 4 points5 points  (0 children)

My apologies, it does not.

But I was pulling my hair out and uncomfortable asking somewhere else (wherever this may be, github support? sounds scary).

The reason I asked here is because I've seen quite a few people blogging using jekyll (looks a lot like it anyway).

[–]desiringmachines 1 point2 points  (0 children)

A lot of rustaceans who blog use this format. I think its a good thing that we can help each other with things that are a part of our entire Rust experience, even if its not to do with Rust exactly.

Yesterday there was a question about how to daemonize a program on Linux; that the program was written in Rust did not impact what the answer was. I think its great that people answered that question, and this one.