]> source.dussan.org Git - gitblit.git/commitdiff
Doc: Update built-in docs with missing pages and links
authorFlorian Zschocke <florian.zschocke@devolo.de>
Mon, 27 Jan 2020 20:53:15 +0000 (21:53 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Mon, 27 Jan 2020 21:03:17 +0000 (22:03 +0100)
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.

build.xml

index ca356d34558b763a1ff000274c019e1344b97236..768d6c0b522502ad143782cb2804083f71be2793 100644 (file)
--- a/build.xml
+++ b/build.xml
                                                        <page name="bugtraq" src="setup_bugtraq.mkd" />\r
                                                        <page name="mirrors" src="setup_mirrors.mkd" />\r
                                                        <page name="scaling" src="setup_scaling.mkd" />\r
+                                                       <page name="fail2ban" src="setup_fail2ban.mkd" />\r
+                                                       <page name="filestore (Git LFS)" src="setup_filestore.mkd" />\r
                                                        <divider />\r
                                                        <page name="Gitblit as a viewer" src="setup_viewer.mkd" />\r
                                                </menu>\r
                                                <link name="Ohloh" src="http://www.ohloh.net/p/gitblit" />\r
                                        </menu>\r
                                </structure>\r
-                               \r
+\r
+                               <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />\r
+\r
                                <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />\r
-                               \r
-                               <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;" />\r
+\r
+                               <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;" />\r
+                               <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;" />\r
                                <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;" />\r
                                <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;" />\r
 \r