irskep / sphinx-better-theme

A nice-looking, customizable theme for Sphinx
http://sphinx-better-theme.readthedocs.org/en/latest/
Other
41 stars 10 forks source link

Need help for getting started #29

Closed lsaffre closed 9 years ago

lsaffre commented 10 years ago

I did everything as instructed, but my result is not as expected. My source files: https://github.com/lsaffre/lino-welfare/tree/master/docs Result: http://welfare.lino-framework.org/index.html

Comparing this with mrjob, the reason seems to be that I have no line with a

What am I doing wrong?

irskep commented 10 years ago

On first look I don't see the problem either, and I can't currently install build-requirements.txt due to some kind of SSL error installing pytidylib, but I suspect that you need to do this:

html_static_path = ['.static', '_static']

because the theme uses _static for its static files.

lsaffre commented 10 years ago

On 28/06/14 18:25, Steve Johnson wrote:

but I suspect that you need to do this:

html_static_path = ['.static', '_static']

because the theme uses |_static| for its static files.

Sorry, that gave only:

WARNING: html_static_path entry u'/home/luc/hgwork/welfare/docs/_static' does not exist

irskep commented 10 years ago

I don't know what's going on then. :-(

One thing you could try is:

html_theme_options['cssfiles'] = ['_static/better.css']

to explicitly get it in the list of files. Also, check your build directory to make sure the CSS file is actually in there somewhere.

irskep commented 10 years ago

Did that help?

lsaffre commented 10 years ago

No. I tried some hours that day. I think it has to do with the fact that I have my own layout.html. But don't worry. I don't have enough time to continue on this right now. I also discovered ablog and alabaster meanwhile, which seem to be another good solution.