summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-03 15:53:34 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-03-03 15:53:34 -0500
commitd93aaed7919f0449d387aed6c6ee3aaff85a12eb (patch)
treef31e998cae4b6ec478d366f7997b0a892d89a328 /doc
parent59379d0205fdbdb90553d1f5cef666e7e72a8927 (diff)
* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
* rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo.
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/recentchangesdiff.mdwn6
-rw-r--r--doc/style.css3
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/plugins/recentchangesdiff.mdwn b/doc/plugins/recentchangesdiff.mdwn
new file mode 100644
index 000000000..f805eabe1
--- /dev/null
+++ b/doc/plugins/recentchangesdiff.mdwn
@@ -0,0 +1,6 @@
+[[template id=plugin name=recentchangesdiff core=0 author="[[Joey]]"]]
+
+This plugin extends the [[recentchanges]] plugin, adding a diff for each
+change. The diffs are by default hidden from display on the recentchanges
+page, but will display in its feeds. The [[rcs]] must have implemented
+support for the `rcs_diff()` function for any diffs to be generated.
diff --git a/doc/style.css b/doc/style.css
index 026d2c881..f9a69c4f1 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -92,6 +92,9 @@ div.recentchanges {
.recentchanges .desc {
display: none;
}
+.recentchanges .diff {
+ display: none;
+}
.recentchanges .committer {
float: left;
margin: 0;