carpentries-incubator / shell-extras

Extra Unix Shell Material
http://carpentries-incubator.github.io/shell-extras/
Other
26 stars 54 forks source link

unset site.index for gh-pages #42

Closed brandoncurtis closed 7 years ago

brandoncurtis commented 7 years ago

ea141f122d954e5797c9022fcf5ccf169d95642f added a site.index variable to enable local browsing of a repo after the site has been built using Jekyll by using local file:///links, without the need to start a local webserver with make serve. This feature should probably be a PR against swcarpentry/styles.

Regardless, unsetting site.index will allow the gh-pages site to generate the correct URLs (http://swcarpentry.github.io/shell-extras/01-man-pages/ instead of http://swcarpentry.github.io/shell-extras/01-man-pages/index.html)