diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-22 10:36:05 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-11-22 10:36:05 -0500 |
commit | 3daba4304dba818d54eb9b74d8d35df5aab8fee5 (patch) | |
tree | a490212e57fb5151789dc711b119369c00537493 /build.xml | |
parent | e1b00bd19810736ea5244e3dbb8cf09525127315 (diff) | |
download | gitblit-3daba4304dba818d54eb9b74d8d35df5aab8fee5.tar.gz gitblit-3daba4304dba818d54eb9b74d8d35df5aab8fee5.zip |
Add pull request linking in changelog to generated documentation
Change-Id: I06dbc0fdad93c042d783c97378429856bd9111bf
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -661,6 +661,7 @@ <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
<regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>" />
+ <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://github.com/gitblit/gitblit/pull/$3'>pull request #$3</a>" />
<!-- Set the logo from the mx:doc resources -->
<logo file="${project.resources.dir}/gitblt_25_white.png" />
@@ -953,7 +954,8 @@ <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
<regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>" />
-
+ <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://github.com/gitblit/gitblit/pull/$3'>pull request #$3</a>" />
+
<!-- Set the logo from the mx:doc resources -->
<logo file="${project.resources.dir}/gitblt_25_white.png" />
<favicon file="${project.resources.dir}/gitblt-favicon.png" />
|