From c2c371275901121f689a21e5723b0c792c89fcc9 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 29 Sep 2014 14:44:26 +0100 Subject: [PATCH] Fix comment pre-amble in README --- README.adoc | 4 +++- src/main/ruby/readme.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 5305d14..a77e806 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,6 @@ -// Do not edit this file (go to /home/dsyer/dev/cloud/scripts/bus/src/main/ruby/../../../src/main/asciidoc/README.adoc instead)= Spring Platform Bus +// Do not edit this file (go instead to src/main/asciidoc) + += Spring Platform Bus Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. diff --git a/src/main/ruby/readme.rb b/src/main/ruby/readme.rb index 348507c..2f532aa 100644 --- a/src/main/ruby/readme.rb +++ b/src/main/ruby/readme.rb @@ -31,7 +31,7 @@ module SpringCloud def render_file file, options = {} srcDir = File.dirname(file) - out = ["// Do not edit this file (go to #{file} instead)",""] + out = ["// Do not edit this file (go instead to src/main/asciidoc)\n","\n"] File.new(file).each do |line| self.process(out, srcDir, line) end