Skip to content

Commit

Permalink
added some doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Marty committed Sep 16, 2013
1 parent 8da3419 commit 2afc8a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions svn_markup.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env ruby
# coding: utf-8
#
# This script adds SVN keyword tags Revision and Date to XML/HTML files, just below the XML header or the DOCTYPE declaration.
# doctype because that's how our "embedded" html pages need to be.
# if one of both headers is not detected, it will assume it's XML and add it.

XML_MARKUP = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"
SVN_MARKUP = "<!--\n$Revision$\n$Date$\n-->"
Expand Down

0 comments on commit 2afc8a4

Please sign in to comment.