summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2020-01-27 21:53:15 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2020-01-27 22:03:17 +0100
commitb4b0cfa6065ca4b83577503b607e5db1286b876a (patch)
tree4c083cc86b3f795c6a50d8e6f497e3497bfa1a97 /build.xml
parentc28e21611538f1977e89d847bdaf181b659f89ed (diff)
downloadgitblit-b4b0cfa6065ca4b83577503b607e5db1286b876a.tar.gz
gitblit-b4b0cfa6065ca4b83577503b607e5db1286b876a.zip
Doc: Update built-in docs with missing pages and links
Add pages for `fail2ban` and GFS to the `generateDocs` target, so that they also show up in the documentation on GO etc. Also adjust the links to issues and commits. Add the replacement of the download base URL.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index ca356d34..768d6c0b 100644
--- a/build.xml
+++ b/build.xml
@@ -949,6 +949,8 @@
<page name="bugtraq" src="setup_bugtraq.mkd" />
<page name="mirrors" src="setup_mirrors.mkd" />
<page name="scaling" src="setup_scaling.mkd" />
+ <page name="fail2ban" src="setup_fail2ban.mkd" />
+ <page name="filestore (Git LFS)" src="setup_filestore.mkd" />
<divider />
<page name="Gitblit as a viewer" src="setup_viewer.mkd" />
</menu>
@@ -996,10 +998,13 @@
<link name="Ohloh" src="http://www.ohloh.net/p/gitblit" />
</menu>
</structure>
-
+
+ <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
+
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
-
- <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />
+
+ <regex searchPattern="\b(commit)(\s*[#]?|-){0,1}([0-9a-fA-F]{5,})\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/commit/$3'&gt;commit $3&lt;/a&gt;" />
+ <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/issues/$3'&gt;issue $3&lt;/a&gt;" />
<regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />
<regex searchPattern="\b(ticket)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://dev.gitblit.com/tickets/gitblit.git/$3'&gt;ticket $3&lt;/a&gt;" />