Commits

Sergey Schetinin  committed 1b51cab

docs: remove toc from news.txt, use webob.__version__ in docs/conf.py

  • Participants
  • Parent commits d287378

Comments (0)

Files changed (2)

File docs/conf.py

 # -*- coding: utf-8 -*-
 
 # http://sphinx.pocoo.org/config.html#build-config
-
+import webob
 extensions = ['sphinx.ext.autodoc']
 
 source_suffix = '.txt' # The suffix of source filenames.
 
 project = 'WebOb'
 copyright = '2011, Ian Bicking and contributors'
-version = release = '1.1.1'
+version = release = webob.__version__
 exclude_patterns = ['jsonrpc-example-code/*']
 
 modindex_common_prefix = ['webob.']

File docs/news.txt

 News
 ====
 
-.. contents::
-
 1.1.1
 ---------