diff options
author | Florian Zschocke <florian.zschocke@devolo.de> | 2020-01-27 21:53:15 +0100 |
---|---|---|
committer | Florian Zschocke <florian.zschocke@devolo.de> | 2020-01-27 22:03:17 +0100 |
commit | b4b0cfa6065ca4b83577503b607e5db1286b876a (patch) | |
tree | 4c083cc86b3f795c6a50d8e6f497e3497bfa1a97 | |
parent | c28e21611538f1977e89d847bdaf181b659f89ed (diff) | |
download | gitblit-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.
-rw-r--r-- | build.xml | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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="<a href='http://code.google.com/p/gitblit/issues/detail?id=$3'>issue $3</a>" />
+
+ <regex searchPattern="\b(commit)(\s*[#]?|-){0,1}([0-9a-fA-F]{5,})\b" replacePattern="<a href='https://github.com/gitblit/gitblit/commit/$3'>commit $3</a>" />
+ <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://github.com/gitblit/gitblit/issues/$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>" />
<regex searchPattern="\b(ticket)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="<a href='https://dev.gitblit.com/tickets/gitblit.git/$3'>ticket $3</a>" />
|