mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Fixes logo path on docs and introduces makefile
This commit is contained in:
parent
2d27ab8f9b
commit
865ae601f9
2 changed files with 20 additions and 1 deletions
19
Makefile
Normal file
19
Makefile
Normal 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
|
2
docs/_themes/jrnl/layout.html
vendored
2
docs/_themes/jrnl/layout.html
vendored
|
@ -14,7 +14,7 @@
|
|||
|
||||
{%- block sidebar2 %}
|
||||
<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>
|
||||
{{ toctree() }}
|
||||
{%- include "searchbox.html" %}
|
||||
|
|
Loading…
Add table
Reference in a new issue