[Python-modules-commits] [django-tables] 06/07: Fix errors building documentation

Brian May bam at moszumanska.debian.org
Tue May 3 01:55:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository django-tables.

commit ff621baf8fb24b4714ace48c0220b0c33a3bbd52
Author: Brian May <bam at debian.org>
Date:   Tue May 3 11:03:30 2016 +1000

    Fix errors building documentation
    
    See https://github.com/bradleyayers/django-tables2/issues/324
---
 docs/conf.py                  | 2 +-
 docs/pages/generic-mixins.rst | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 2082598..ea3533f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,7 +13,7 @@ sys.path.pop(0)
 
 project = 'django-tables2'
 with open('../django_tables2/__init__.py', 'rb') as f:
-    release = re.search('__version__ = "(.+?)"', f.read()).group(1)
+    release = re.search("__version__ = '(.+?)'", f.read()).group(1)
 version = release.rpartition('.')[0]
 
 
diff --git a/docs/pages/generic-mixins.rst b/docs/pages/generic-mixins.rst
index b127054..62ad155 100644
--- a/docs/pages/generic-mixins.rst
+++ b/docs/pages/generic-mixins.rst
@@ -13,8 +13,6 @@ The following view parameters are supported:
   options to pass to `.RequestConfig`. Set ``table_pagination=False``
   to disable pagination.
 
-.. __: https://docs.djangoproject.com/en/stable/topics/class-based-views/
-
 For example:
 
 .. sourcecode:: python

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-tables.git



More information about the Python-modules-commits mailing list