Added release command, revised conf instructions.

This commit is contained in:
Ahmet Bakan 2015-03-25 21:53:00 -07:00
parent bdaab0f015
commit 80f7dc88ae
3 changed files with 12 additions and 8 deletions

View file

@ -1,6 +1,10 @@
.PHONY: demo install rebuild
.PHONY: demo install rebuild release
demo:
rm -rf demo
printf "demo\nABlog\nABlog Team\nhttp://ablog.readthedocs.org" | ablog start
install:
pip install -U --no-deps --force-reinstall .
@ -8,6 +12,6 @@ install:
rebuild:
cd docs; watchmedo shell-command --patterns='*.rst' --command='ablog build' --recursive
demo:
rm -rf demo
printf "demo\nABlog\nABlog Team\nhttp://ablog.readthedocs.org" | ablog start
release:
python setup.py register
python setup.py sdist upload

View file

@ -55,10 +55,10 @@ If you already have a project, enable blogging by making following changes in ``
# 2. Append templates path to `ablog.templates_path()`
import ablog
# 2a. `templates_path` exists
# 2a. if `templates_path` is defined
templates_path.append(ablog.get_html_templates_path())
# 2b. `templates_path` is not defined before
# 2b. if `templates_path` is not defined
templates_path = [ablog.get_html_templates_path()]
.. _ABlog Quick Start: http://ablog.readthedocs.org/manual/ablog-quick-start

View file

@ -55,10 +55,10 @@ If you already have a project, enable blogging by making following changes in ``
# 2. Append templates path to `ablog.templates_path()`
import ablog
# 2a. `templates_path` exists
# 2a. if `templates_path` is defined
templates_path.append(ablog.get_html_templates_path())
# 2b. `templates_path` is not defined before
# 2b. if `templates_path` is not defined
templates_path = [ablog.get_html_templates_path()]
.. _ABlog Quick Start: http://ablog.readthedocs.org/manual/ablog-quick-start