Add skeleton docs
This commit is contained in:
11
Guardfile
Normal file
11
Guardfile
Normal file
@@ -0,0 +1,11 @@
|
||||
require 'asciidoctor'
|
||||
require 'erb'
|
||||
|
||||
options = {:mkdirs => true, :safe => :unsafe, :attributes => 'linkcss'}
|
||||
|
||||
guard 'shell' do
|
||||
watch(/^[A-Za-z].*\.adoc$/) {|m|
|
||||
Asciidoctor.render_file('src/main/adoc/README.adoc', options.merge(:to_file => './README.md'))
|
||||
Asciidoctor.render_file('src/main/adoc/spring-cloud-bus.adoc', options.merge(:to_dir => 'target/docs'))
|
||||
}
|
||||
end
|
||||
1
src/main/adoc/spring-cloud-bus.adoc
Normal file
1
src/main/adoc/spring-cloud-bus.adoc
Normal file
@@ -0,0 +1 @@
|
||||
= Spring Platform Bus
|
||||
Reference in New Issue
Block a user