From commits-return-9405-apmail-couchdb-commits-archive=couchdb.apache.org@couchdb.apache.org Mon Dec 3 08:00:37 2012 Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A221BE460 for ; Mon, 3 Dec 2012 08:00:37 +0000 (UTC) Received: (qmail 52130 invoked by uid 500); 3 Dec 2012 08:00:36 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 51953 invoked by uid 500); 3 Dec 2012 08:00:36 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 51866 invoked by uid 99); 3 Dec 2012 08:00:33 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 08:00:33 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C78BB817950; Mon, 3 Dec 2012 08:00:32 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dch@apache.org To: commits@couchdb.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/3] git commit: Enable extlink extension. Setup extlink to CouchDB JIRA and Apache Git commits. Message-Id: <20121203080032.C78BB817950@tyr.zones.apache.org> Date: Mon, 3 Dec 2012 08:00:32 +0000 (UTC) Enable extlink extension. Setup extlink to CouchDB JIRA and Apache Git commits. This extension allows to create markup-based URLs that points to specific location. For instance, use :issue:`1234` to let sphinx create a direct link to COUCHDB-1234 issue on JIRA tracker. More information about this extension: http://sphinx-doc.org/ext/extlinks.html Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9a43e0c2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9a43e0c2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9a43e0c2 Branch: refs/heads/docs Commit: 9a43e0c2cc8482d0b57bc7d7c8177175e1bd0487 Parents: 17ee14c Author: Alexander Shorin Authored: Mon Dec 3 04:08:52 2012 +0400 Committer: Dave Cottlehuber Committed: Mon Dec 3 08:47:53 2012 +0100 ---------------------------------------------------------------------- share/doc/src/conf.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/9a43e0c2/share/doc/src/conf.py ---------------------------------------------------------------------- diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py index de4cc01..26974fc 100644 --- a/share/doc/src/conf.py +++ b/share/doc/src/conf.py @@ -12,7 +12,7 @@ import sys, os -extensions = ["sphinx.ext.todo"] +extensions = ["sphinx.ext.todo", "sphinx.ext.extlinks"] source_suffix = ".rst" @@ -81,3 +81,8 @@ texinfo_documents = [( "Databases", True )] + +extlinks = { + 'issue': ('https://issues.apache.org/jira/browse/COUCHDB-%s', 'COUCHDB-'), + 'commit': ('https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=%s', '#') +}