Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46311179F6 for ; Fri, 21 Nov 2014 22:58:34 +0000 (UTC) Received: (qmail 10559 invoked by uid 500); 21 Nov 2014 22:58:33 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 10496 invoked by uid 500); 21 Nov 2014 22:58:33 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 10484 invoked by uid 99); 21 Nov 2014 22:58:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 22:58:33 +0000 Date: Fri, 21 Nov 2014 22:58:33 +0000 (UTC) From: "Ben Keen (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2474) Deprecate Helpers.docs in favour of constants MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221543#comment-14221543 ] Ben Keen commented on COUCHDB-2474: ----------------------------------- This has pretty high impact. It's very simple to do, but affects a great number of files. Because of that, I'll put it off until the Bocoup work has been completed. > Deprecate Helpers.docs in favour of constants > --------------------------------------------- > > Key: COUCHDB-2474 > URL: https://issues.apache.org/jira/browse/COUCHDB-2474 > Project: CouchDB > Issue Type: Bug > Security Level: public(Regular issues) > Components: Fauxton > Reporter: Ben Keen > Assignee: Ben Keen > > Right now we're using `Helpers.docs` to store a map of key-value pairs for documentation URLs. Now we have a central constants file that does exactly the same thing. > Once this is done we should remove `Helpers.getDocUrl()` as well and just pass the URL (stored in constants) right to the API Url tray template. -- This message was sent by Atlassian JIRA (v6.3.4#6332)