Fixes logo path on docs and introduces makefile

This commit is contained in:
Manuel Ebert 2013-11-05 11:59:32 -08:00
parent 2d27ab8f9b
commit 865ae601f9
2 changed files with 20 additions and 1 deletions

19
Makefile Normal file
View file

@ -0,0 +1,19 @@
# A Makefile for commands I run frequently:
# Build GitHub Page from docs
gh_pages:
git checkout gh-pages ; \
git checkout master docs ; \
git checkout master jrnl ; \
cd docs ; \
make html ; \
cd .. ; \
cp -r docs/_build/html/* . ; \
git add * ; \
git commit -m "Updated docs from master" ; \
git push -u origin gh-pages ; \
git checkout master
# Upload to pipy
dist:
python setup.py publish

View file

@ -14,7 +14,7 @@
{%- block sidebar2 %} {%- block sidebar2 %}
<aside> <aside>
<a href="/" id="logolink" title="jrnl"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" width="90px" height="98px" title="jrnl"/></a> <a href="{{ pathto('index') }}" id="logolink" title="jrnl"><img class="logo" src="{{ pathto('_static/img/logo.png', 1) }}" width="90px" height="98px" title="jrnl"/></a>
<h2>Documentation</h2> <h2>Documentation</h2>
{{ toctree() }} {{ toctree() }}
{%- include "searchbox.html" %} {%- include "searchbox.html" %}