1 Star 0 Fork 0

破茧-宇/spring-cloud-openfeign

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Guardfile 481 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dave Syer 提交于 2015-03-20 11:46 . Add link to github in rendered docs
require 'asciidoctor'
require 'erb'
options = {:mkdirs => true, :safe => :unsafe, :attributes => ['linkcss', 'allow-uri-read']}
guard 'shell' do
watch(/^docs\/[A-Z-a-z][^#]*\.adoc$/) {|m|
Asciidoctor.load_file('docs/src/main/asciidoc/README.adoc', :to_file => './README.adoc', safe: :safe, parse: false, attributes: 'allow-uri-read')
Asciidoctor.render_file('docs/src/main/asciidoc/spring-cloud-netflix.adoc', options.merge(:to_dir => 'target/generated-docs'))
}
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pj2016_302/spring-cloud-openfeign.git
git@gitee.com:pj2016_302/spring-cloud-openfeign.git
pj2016_302
spring-cloud-openfeign
spring-cloud-openfeign
main

搜索帮助