From 92ef70f93355326d33e0bf15c0ba44a57062cc25 Mon Sep 17 00:00:00 2001
From: Mike Bayer <mike_mp@zzzcomputing.com>
Date: Thu, 9 Jan 2014 19:42:17 -0500
Subject: [PATCH] tweaks

---
 doc/build/changelog.rst | 15 ++++++++++++---
 doc/build/conf.py       |  8 ++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/doc/build/changelog.rst b/doc/build/changelog.rst
index 5c890cf..8d57316 100644
--- a/doc/build/changelog.rst
+++ b/doc/build/changelog.rst
@@ -2,13 +2,16 @@
 Changelog
 =========
 
+0.9
+===
+
 .. changelog::
     :version: 0.9.2
     :released:
 
     .. change::
         :tags: bug
-        :tickets: 2
+        :pullreq: bitbucket:2
 
       A rework of the mako-render script allows the script to run
       correctly when given a file pathname that is outside of the current
@@ -63,7 +66,7 @@ Changelog
 
 .. changelog::
     :version: 0.9.0
-    :released:
+    :released: Tue Aug 27 2013
 
     .. change::
         :tags: bug
@@ -107,6 +110,8 @@ Changelog
       interpreted correctly within a template tag; also
       fixed in Py2.4.
 
+0.8
+===
 
 .. changelog::
     :version: 0.8.1
@@ -197,6 +202,8 @@ Changelog
       with desired capabilities at the top of the generated
       template module.  Courtesy Ben Trofatter.
 
+0.7
+===
 
 .. changelog::
     :version: 0.7.3
@@ -358,6 +365,8 @@ Changelog
       Added Jinja2 to the example
       benchmark suite, courtesy Vincent Férotin
 
+Older Versions
+==============
 
 .. changelog::
     :version: 0.6.2
@@ -373,7 +382,7 @@ Changelog
 
 .. changelog::
     :version: 0.6.1
-    :released:
+    :released: Sat Jan 28 2012
 
     .. change::
         :tags: bug
diff --git a/doc/build/conf.py b/doc/build/conf.py
index aabdf18..807782b 100644
--- a/doc/build/conf.py
+++ b/doc/build/conf.py
@@ -34,6 +34,14 @@ extensions = ['sphinx.ext.autodoc','sphinx.ext.intersphinx',
                 'changelog', 'sphinx_paramlinks',
                 'builder.builders']
 
+changelog_render_ticket = "https://bitbucket.org/zzzeek/mako/issue/%s/"
+
+changelog_render_pullreq = {
+    "bitbucket": "https://bitbucket.org/zzzeek/mako/pull-request/%s",
+    "default": "https://bitbucket.org/zzzeek/mako/pull-request/%s",
+    "github": "https://github.com/zzzeek/mako/pull/%s",
+}
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['templates']
 
-- 
GitLab