Edit: I've just posted a new answer using relatives links. Which is more portable solution.
I see three solutions to your problem :
Distribute your code via Github Pages
Use a public or a private repository on Github Pages to serve you work.
You can use the ideas developed by Octopress to store your code and the generated files on two different branches of your repository and give access to your plain html to developers.
Configure Jekyll to (nearly) work on file system
By using the baseurl
configuration variable in _config.yml
.
If the site's zip is unzipped in C:/Users/toto/mysite
, add :
# No trailing slash
baseurl: "file:///C:/Users/toto/mysite"
In default Jekyll templates, assets are called with :
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
or
<script src="{{ site.baseurl }}/assets/javascripts/script.js"></script>
Links and images must make use of baseurl
to :
# html link
<a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a>
# markdown link
[{{ page.title }}]({{ site.baseurl }}{{ page.url }})
# html image
<img src="{{ site.baseurl }}/assets/myimage.png">
# markdown image

Note : Any page that has a permalink
set to end with folder/index.html
(eg: permalink: /about/
) will result in having link targeting folder/
and land on the folder's files listing page.
Give a try to an exotic solution for Win users
You can give a try to Portable Jekyll that seems to work on windows.
_plugins
directory (which you may need to create). You will probably need to fiddle with your pages and layouts etc. to get it all working properly but I think it’s possible.