couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 309a569
Date Fri, 18 Oct 2013 19:36:48 GMT
Updated Branches:
  refs/heads/master 7b95e2e1d -> 309a569ef


Remove {} chars from API reference links.

While browsers shows them correctly JIRA, StackOverflow and others
in-form URL parsers aren't likes them and breaks the referencing.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/dc9980c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/dc9980c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/dc9980c1

Branch: refs/heads/master
Commit: dc9980c121747fd4b66b169fb7d5e068a4b175c1
Parents: 7b95e2e
Author: Alexander Shorin <kxepal@apache.org>
Authored: Fri Oct 18 23:35:27 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Fri Oct 18 23:35:27 2013 +0400

----------------------------------------------------------------------
 share/doc/ext/httpdomain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/dc9980c1/share/doc/ext/httpdomain.py
----------------------------------------------------------------------
diff --git a/share/doc/ext/httpdomain.py b/share/doc/ext/httpdomain.py
index d5d5652..d5df2b7 100644
--- a/share/doc/ext/httpdomain.py
+++ b/share/doc/ext/httpdomain.py
@@ -214,7 +214,7 @@ def sort_by_method(entries):
 
 
 def http_resource_anchor(method, path):
-    path = re.sub(r'[<>:/]', '-', path)
+    path = re.sub(r'[{}]', '', re.sub(r'[<>:/]', '-', path))
     return method.lower() + '-' + path
 
 


Mime
View raw message