From 531cd203f387f8358a2e15da5f6171f5871ea688 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 20 Apr 2011 20:16:31 -0400 Subject: [PATCH] Support Markdown rendering. Use Wicket GoogleCharts from Maven. --- gitblit.properties | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gitblit.properties b/gitblit.properties index a482810..ae3866d 100644 --- a/gitblit.properties +++ b/gitblit.properties @@ -48,7 +48,7 @@ # This is the message display above the repositories table. # This can point to a file with HTML content. -web.repositoriesMessage = Welcome to Git:Blit!<br>A quick and easy way to host your own Git repositories.<br>Built with <a href="http://eclipse.org/jgit">JGit</a>, <a href="http://wicket.apache.org">Wicket</a>, <a href="http://code.google.com/p/google-code-prettify/">google-code-prettify</a>, <a href="http://eclipse.org/jetty">Jetty</a>, <a href="http://www.slf4j.org">SLF4J</a>, <a href="http://logging.apache.org/log4j">Log4j</a>, and <a href="http://jcommander.org">JCommander</a>. +web.repositoriesMessage = Welcome to Git:Blit!<br>A quick and easy way to host your own Git repositories.<br>Built with <a href="http://eclipse.org/jgit">JGit</a>, <a href="http://wicket.apache.org">Wicket</a>, <a href="http://https://github.com/wicketstuff/core/wiki/GoogleCharts">WicketStuff googlecharts</a>, <a href="http://markdown.tautua.org">MarkdownPapers</a>, <a href="http://eclipse.org/jetty">Jetty</a>, <a href="http://www.slf4j.org">SLF4J</a>, <a href="http://logging.apache.org/log4j">Log4j</a>, <a href="http://code.google.com/p/google-code-prettify/">google-code-prettify</a>, and <a href="http://jcommander.org">JCommander</a>. # Use the client timezone when formatting dates. # This uses AJAX to determine the browser's timezone and enables Wicket @@ -65,7 +65,7 @@ # The number of commits to display on the summary page # Value must exceed 0 else default of 20 is used -web.summaryCommitCount = 20 +web.summaryCommitCount = 16 # The number of tags/heads to display on the summary page # Value must exceed 0 else default of 5 is used @@ -77,6 +77,9 @@ # Registered extensions for google-code-prettify web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb + +# Registered extensions for markdown transformation +web.markdownExtensions = md mkd markdown # Image extensions web.imageExtensions = bmp jpg gif png @@ -103,11 +106,11 @@ # Example per-repository regex substitutions overrides global #regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a> -# Enable ticgit pages for all repositories (if ticgit branch is present) -ticgit.global = false +# Enable tickets pages for all repositories (if ticgit branch is present) +tickets.global = false -# Enable ticgit pages for specified repository (if ticgit branch is present) -#ticgit.myrepository = true +# Enable tickets pages for specified repository (if ticgit branch is present) +#tickets.myrepository = true # # Server Settings -- Gitblit v1.9.1