7

I'm trying to use Sphinx to build docuemntation to push to github pages. I'm using the default html builder to generate help documentation and pushing that into a gh-pages branch (see https://github.com/sbt/sbt-native-packager/tree/gh-pages).

It appears like the github pages integration doesn't like directories beginning with _, and makes the _static directory hidden. My site appears with no style (much like myself).

Is there any way to configure Sphinx to use static/ instead of _static/ in its generated pages? I tried html_static_path but no dice.

Thanks!

mzjn
  • 48,958
  • 13
  • 128
  • 248
jsuereth
  • 5,604
  • 40
  • 40

1 Answers1

5

It is a known issue. See this Google Groups thread. The github-tools project has a workaround in sphinx.py.

See also https://stackoverflow.com/a/6398875/407651.

Community
  • 1
  • 1
mzjn
  • 48,958
  • 13
  • 128
  • 248