Permalink
Browse files

Updated documentation and template tags to match the django_states im…

…port
  • Loading branch information...
1 parent dbc33e4 commit 6205142f734dcb01d3ef2b77a117433a4e6c7af0 Jonathan Slenders committed Feb 7, 2013
View
@@ -72,17 +72,17 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/django-states2.qhcp"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/django-states.qhcp"
@echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/django-states2.qhc"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/django-states.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/django-states2"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/django-states2"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/django-states"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/django-states"
@echo "# devhelp"
epub:
View
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# django-states2 documentation build configuration file, created by
+# django-states documentation build configuration file, created by
# sphinx-quickstart on Tue Oct 18 17:22:53 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
@@ -40,18 +40,18 @@
master_doc = 'index'
# General information about the project.
-project = u'django-states2'
+project = u'django-states'
copyright = u'2011, Jonathan Slenders, Gert Van Gool'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-import states2
+import django_states
# The short X.Y version, only interested in the number, e.g. 0.9.2
-version = states2.__version__.split(' ')[0]
+version = django_states.__version__.split(' ')[0]
# The full version, including alpha/beta/rc tags.
-release = states2.__version__
+release = django_states.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -168,7 +168,7 @@
#html_file_suffix = None
# Output file base name for HTML help builder.
-htmlhelp_basename = 'django-states2doc'
+htmlhelp_basename = 'django-statesdoc'
# -- Options for LaTeX output --------------------------------------------------
@@ -182,7 +182,7 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('index', 'django-states2.tex', u'django-states2 Documentation',
+ ('index', 'django-states.tex', u'django-states Documentation',
u'Jonathan Slenders, Gert Van Gool', 'manual'),
]
@@ -215,7 +215,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('index', 'django-states2', u'django-states2 Documentation',
+ ('index', 'django-states', u'django-states Documentation',
[u'Jonathan Slenders, Gert Van Gool'], 1)
]
@@ -1,7 +1,7 @@
-``states2.conf``
+``django_states.conf``
================
-.. automodule:: states2.conf
+.. automodule:: django_states.conf
:members:
:undoc-members:
:private-members:
@@ -0,0 +1,7 @@
+``django_states.exceptions``
+============================
+
+.. automodule:: django_states.exceptions
+ :members:
+ :undoc-members:
+ :private-members:
@@ -1,7 +1,7 @@
-``states2.fields``
+``django_states.fields``
==================
-.. automodule:: states2.fields
+.. automodule:: django_states.fields
:members:
:undoc-members:
:private-members:
@@ -1,7 +1,7 @@
-``states2.log``
+``django_states.log``
===============
-.. automodule:: states2.log
+.. automodule:: django_states.log
:members:
:undoc-members:
:private-members:
@@ -1,7 +1,7 @@
-``states2.machine``
+``django_states.machine``
===================
-.. automodule:: states2.machine
+.. automodule:: django_states.machine
:members:
:undoc-members:
:private-members:
@@ -0,0 +1,7 @@
+``django_states.model_methods``
+===============================
+
+.. automodule:: django_states.model_methods
+ :members:
+ :undoc-members:
+ :private-members:
@@ -1,7 +1,7 @@
-``states2.models``
+``django_states.models``
==================
-.. automodule:: states2.models
+.. automodule:: django_states.models
:members:
:undoc-members:
:private-members:
@@ -0,0 +1,7 @@
+``django_states.templatetags.django_states``
+============================================
+
+.. automodule:: django_states.templatetags.django_states
+ :members:
+ :undoc-members:
+ :private-members:
@@ -0,0 +1,7 @@
+``django_states.views``
+=======================
+
+.. automodule:: django_states.views
+ :members:
+ :undoc-members:
+ :private-members:
@@ -1,7 +0,0 @@
-``states2.exceptions``
-======================
-
-.. automodule:: states2.exceptions
- :members:
- :undoc-members:
- :private-members:
@@ -1,7 +0,0 @@
-``states2.model_methods``
-=========================
-
-.. automodule:: states2.model_methods
- :members:
- :undoc-members:
- :private-members:
@@ -1,7 +0,0 @@
-``states2.templatetags.states2``
-================================
-
-.. automodule:: states2.templatetags.states2
- :members:
- :undoc-members:
- :private-members:
@@ -1,7 +0,0 @@
-``states2.views``
-=================
-
-.. automodule:: states2.views
- :members:
- :undoc-members:
- :private-members:
@@ -21,7 +21,7 @@
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': path_to('states2_test.sqlite'),
+ 'NAME': path_to('django_states_test.sqlite'),
'USER': '',
'PASSWORD': '',
'HOST': '',
@@ -126,7 +126,7 @@
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
- 'states2'
+ 'django_states'
)
# A sample logging configuration. The only tangible logging

0 comments on commit 6205142

Please sign in to comment.