Using GitHub pages, is it possible to specify the root web directory if you are not using Jekyll?

I use another generator of a static site, and I would like to be able to register the source files (in the markdown method), as well as the generated site in my registry username.github.com. So like Jekyll, but I don't use Jekyll. My structure:

 --source
   1.md
   2.md
 --target
   index.html
   1.html
   2.html
   --css
     app.css
 index.html (GitHub Pages wants the root here)

GitHub Pages maintains index.html and expects the rest of the site to be at the root. I would like the site to be served with target / index.html. This would allow me to create a source /3.md, generate it locally and click on both sources /3.md and target / 3.html.

The only thing I can do is:

  • have 2 repos - one for markdowns and one for html only for the other.

  • have a markdown branch that passes the source to that branch, and switch to the wizard before submitting the generated HTML target code.

  • save markdown in the root (instead of the source) and generate html in the same root directory

  • as a long shot, take the Jekyll diretory structure and hope that it doesn’t interfere in any way, considering it a real Jekyll-style site.

+8
github-pages
source share
1 answer

browsing jekyll docs https://help.github.com/articles/using-jekyll-with-pages seems impossible. The source directory cannot be changed.

+1
source share

All Articles