Skip to content

Commit

Permalink
Merge pull request vikingco#69 from gvangool/docs
Browse files Browse the repository at this point in the history
Docs fixes
  • Loading branch information
jgeskens committed Oct 2, 2015
2 parents dbd1c33 + 1ccfa7c commit 2378b4a
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 26 deletions.
19 changes: 19 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Ben Mason <ben@sharkbyte.co.uk>
Dirk Moors <dirkmoors@gmail.com>
Gert Van Gool <gertvangool@gmail.com>
Giovanni Collazo <hello@gcollazo.com>
Jakub Paczkowski <jakub@paczkowski.eu>
Jan Fabry <jan.fabry@monkeyman.be>
Jef Geskens <jef.geskens@gmail.com>
Jonathan Slenders <jonathan@slenders.be>
José Padilla <jpadilla@webapplicate.com>
Linsy Aerts <linsy.aerts@mobilevikings.com>
Maarten Timmerman <maarten.timmerman@mobilevikings.com>
Niels Van Och <niels.vanoch@gmail.com>
Olivier Sels <olivier.sels@gmail.com>
OpenShift guest <sam@jumpstartz.com>
San Gillis <gillis.san@gmail.com>
Simon Andersson <simon.andersson@keybroker.com>
Steven Klass <sklass@7stalks.com>
sgillis <gillis.san@gmail.com>
techdragon <lucractius@me.com>
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docs: $(DOCS_MAKE_CMD)
$(DOCS_MAKE_CMD):
DJANGO_SETTINGS_MODULE=test_proj.settings $(MAKE) -C docs $@

clean: docs_clean
clean:
$(MAKE) -C docs clean

test:
Expand Down
17 changes: 7 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ Django States

|Build Status|

Authors:

- Jonathan Slenders, City Live nv
- Gert van Gool, City Live nv
- Maarten Timmerman, City Live nv
- Steven (rh0dium), Pivotal Engergy Solutions, Phoenix Arizona

Description
-----------

Expand All @@ -20,7 +13,7 @@ objects.
Installation
------------

::
.. code:: sh
pip install django-states
Expand Down Expand Up @@ -79,7 +72,9 @@ Note: If you're creating a ``DataMigration`` in
`South <http://south.aeracode.org/>`__, remember to use
``obj.save(no_state_validation=True)``
Usage example::
Usage example:
.. code:: python
p = Purchase()
Expand Down Expand Up @@ -132,7 +127,9 @@ Groups
Sometimes you want to group several states together, since for a certain
view (or other content) it doesn't really matter which of the states it
is. We support 2 different state groups, inclusive (only these) or
exclusive (everything but these)::
exclusive (everything but these):
.. code:: python
class is_paid(StateGroup):
states = ['paid', 'shipped']
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'alabaster'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
2 changes: 1 addition & 1 deletion docs/django_states/conf.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
``django_states.conf``
================
======================

.. automodule:: django_states.conf
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/django_states/fields.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
``django_states.fields``
==================
========================

.. automodule:: django_states.fields
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/django_states/log.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
``django_states.log``
===============
=====================

.. automodule:: django_states.log
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/django_states/machine.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
``django_states.machine``
===================
=========================

.. automodule:: django_states.machine
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/django_states/models.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
``django_states.models``
==================
========================

.. automodule:: django_states.models
:members:
Expand Down
18 changes: 9 additions & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ Internal API
.. toctree::
:maxdepth: 2

states2/conf
states2/exceptions
states2/fields
states2/log
states2/machine
states2/model_methods
states2/models
states2/templatetags
states2/views
django_states/conf
django_states/exceptions
django_states/fields
django_states/log
django_states/machine
django_states/model_methods
django_states/models
django_states/templatetags
django_states/views


Indices and tables
Expand Down

0 comments on commit 2378b4a

Please sign in to comment.