Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
And so begins the documentation sprint
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Jun 3, 2011
1 parent 32baac6 commit ae08172
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -21,3 +21,4 @@ tempfile

# coverage
.coverage
_build
16 changes: 11 additions & 5 deletions docs/conf.py
Expand Up @@ -17,20 +17,26 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('../'))
sys.path.append(os.path.abspath('../'))
sys.path.append(os.path.abspath('../test_project/'))
sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(0, os.path.abspath('../uni_form/'))
sys.path.insert(0, os.path.abspath('../test_project'))

import settings
from django.core.management import setup_environ
setup_environ(settings)


# -- General configuration -----------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.txt'
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8'
Expand All @@ -40,7 +46,7 @@

# General information about the project.
project = u'django-uni-form'
copyright = u'209-2010, Daniel Greenfeld'
copyright = u'2009-2011, Daniel Greenfeld'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/index.txt → docs/index.rst
Expand Up @@ -39,6 +39,7 @@ Contents:
helpers
customization
uni_form_tags
reference

Indices and tables
==================
Expand Down
3 changes: 1 addition & 2 deletions docs/install.txt → docs/install.rst
Expand Up @@ -12,9 +12,8 @@ Installing django-uni-form
Install into your python path using pip or easy_install::

pip install django-uni-form
easy_install django-uni-form
Add *'uni_form'* to your INSTALLED_APPS in settings.py::
Add `uni_form` to your INSTALLED_APPS in settings.py::

INSTALLED_APPS = (
...
Expand Down
11 changes: 11 additions & 0 deletions docs/reference.rst
@@ -0,0 +1,11 @@
===================================
Development reference documentation
===================================




``helpers`` - form helpers
==============================
.. automodule:: helpers
:members:
File renamed without changes.
File renamed without changes.

0 comments on commit ae08172

Please sign in to comment.