Permalink
Browse files

make the move from _sources and _static so github pages work

  • Loading branch information...
1 parent 48dae42 commit d36463e42cc0479d3f6b6ce0f32977aa46eb690f @teepark committed Jan 5, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/Makefile
View
@@ -38,6 +38,10 @@ clean:
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ @find build/html -type f | xargs sed -i 's/\<_sources\>/sources/g'
+ @find build/html -type f | xargs sed -i 's/\<_static\>/static/g'
+ @[ -d build/html/_sources ] && mv build/html/_sources build/html/sources || true
+ @[ -d build/html/_static ] && mv build/html/_static build/html/static || true
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

0 comments on commit d36463e

Please sign in to comment.