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 7DCD410808 for ; Thu, 10 Apr 2014 10:45:56 +0000 (UTC) Received: (qmail 71156 invoked by uid 500); 10 Apr 2014 10:45:55 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 71102 invoked by uid 500); 10 Apr 2014 10:45:53 -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 71091 invoked by uid 99); 10 Apr 2014 10:45:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 10:45:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A0F3D950D6A; Thu, 10 Apr 2014 10:45:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nslater@apache.org To: commits@couchdb.apache.org Message-Id: <09efbe6d3daa402586a25bfbd616f523@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: couchdb commit: updated refs/heads/master to 0b31731 Date: Thu, 10 Apr 2014 10:45:50 +0000 (UTC) Repository: couchdb Updated Branches: refs/heads/master bbcd98bbf -> 0b3173198 Add GA tracking to docs, only when not local Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0b317319 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0b317319 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0b317319 Branch: refs/heads/master Commit: 0b31731982f8edf1ec52166d4b7fc54f21723951 Parents: bbcd98b Author: Noah Slater Authored: Thu Apr 10 12:45:40 2014 +0200 Committer: Noah Slater Committed: Thu Apr 10 12:45:40 2014 +0200 ---------------------------------------------------------------------- share/doc/src/conf.py | 5 ++++- share/doc/templates/help.html | 4 ++-- share/doc/templates/tracking.html | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/0b317319/share/doc/src/conf.py ---------------------------------------------------------------------- diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py index 14a93f5..03c5dd6 100644 --- a/share/doc/src/conf.py +++ b/share/doc/src/conf.py @@ -106,7 +106,9 @@ html_additional_pages = { 'index': 'pages/index.html' } -html_context = {} +html_context = { + "ga_code": "UA-658988-6" +} html_sidebars = { "**": [ @@ -115,6 +117,7 @@ html_sidebars = { "relations.html", "utilities.html", "help.html", + "tracking.html", ] } http://git-wip-us.apache.org/repos/asf/couchdb/blob/0b317319/share/doc/templates/help.html ---------------------------------------------------------------------- diff --git a/share/doc/templates/help.html b/share/doc/templates/help.html index be0cb91..a6b7859 100644 --- a/share/doc/templates/help.html +++ b/share/doc/templates/help.html @@ -16,9 +16,9 @@ specific language governing permissions and limitations under the License.

More Help

    -
  • Homepage
  • +
  • Homepage
  • Wiki
  • -
  • Mailing Lists
  • +
  • Mailing Lists
  • IRC
  • Issues
  • Download
  • http://git-wip-us.apache.org/repos/asf/couchdb/blob/0b317319/share/doc/templates/tracking.html ---------------------------------------------------------------------- diff --git a/share/doc/templates/tracking.html b/share/doc/templates/tracking.html new file mode 100644 index 0000000..e6d4037 --- /dev/null +++ b/share/doc/templates/tracking.html @@ -0,0 +1,15 @@ +{% if not local %} + +{% endif %}