Skip to content

Commit

Permalink
fixed some documentation and other minor issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Jan 16, 2014
1 parent 9e422e3 commit ce2a691
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 26 deletions.
15 changes: 0 additions & 15 deletions INSTALL.txt

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2008-2012, Jannis Leidel
Copyright (c) 2008-2014, Jannis Leidel
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include INSTALL.txt
include LICENSE.txt
include MANIFEST.in
include README.rst
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

# General information about the project.
project = u'django-robots'
copyright = u'2012, Jannis Leidel'
copyright = u'2008-2014, Jannis Leidel'

# 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
25 changes: 18 additions & 7 deletions docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@ tied together with a m2m relationship:
Installation
============

Get the source from the application site at::
Use your favorite Python installer to install it from PyPI::

pip install django-robots

Or get the source from the application site at::

http://github.com/jezdez/django-robots/

To install the sitemap app, follow these steps:
To install the sitemap app, then follow these steps:

1. Follow the instructions in the INSTALL.txt file
2. Add ``'robots'`` to your INSTALLED_APPS_ setting.
3. Make sure ``'django.template.loaders.app_directories.load_template_source'``
1. Add ``'robots'`` to your INSTALLED_APPS_ setting.
2. Make sure ``'django.template.loaders.app_directories.Loader'``
is in your TEMPLATE_LOADERS_ setting. It's in there by default, so
you'll only need to change this if you've changed that setting.
4. Make sure you've installed the `sites framework`_.
3. Make sure you've installed the `sites framework`_.

.. _INSTALLED_APPS: http://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
.. _TEMPLATE_LOADERS: http://docs.djangoproject.com/en/dev/ref/settings/#template-loaders
Expand All @@ -36,7 +39,7 @@ To install the sitemap app, follow these steps:
Sitemaps
--------

By default a ``Sitemap`` statement is automatically added to the resulting
By default a ``Sitemap`` statement is automatically added to the resulting
robots.txt by reverse matching the URL of the installed `Sitemap contrib app`_.
This is especially useful if you allow every robot to access your whole site,
since it then gets URLs explicitly instead of searching every link.
Expand Down Expand Up @@ -125,6 +128,14 @@ The default value is ``None`` (no caching).
Changelog
=========

1.0 (01/16/2014)
----------------

- *BACKWARDS-INCOMPATIBLE* change: The default behaviour of this app has
changed to **allow all bots** from the previous opposite behavior.

- Fixed some backward compatibility issues.

0.9.2 (03/24/2013)
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def find_version(*file_paths):
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
Expand Down

0 comments on commit ce2a691

Please sign in to comment.