msmbuilder / msmb_theme

Slight modification of sphinx_rtd_theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html_logo

rmcgibbo opened this issue · comments

I think html_logo is required to be a key in conf.py's html_context, but the other themes don't require this.

Exception occurred:
  File "/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/msmb_theme/layout.html", line 102, in top-level template code
    <img src="{{ pathto('_static/' + html_logo, 1) }}" style="background-color:#FCFCFC; width:100%; height:100%; border-radius:0; padding:0"/>
jinja2.exceptions.UndefinedError: 'html_logo' is undefined
The full traceback has been saved in /var/folders/4q/r0z3jgtj3p51kvjgm4tcxsc40000gn/T/sphinx-err-tqu7226h.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Is this with the latest version? layout.html only has 3 lines, not 102