Link to plugin code that generated this specific doc (by version tag)

This commit is contained in:
Pete Fritchman 2011-05-21 17:28:16 -07:00
parent a97410c0a3
commit 9610df66ba
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,8 @@ require "bluecloth" # for markdown parsing
$: << Dir.pwd
$: << File.join(File.dirname(__FILE__), "..", "lib")
require File.join(File.dirname(__FILE__), "..", "VERSION")
class LogStashConfigDocGenerator
COMMENT_RE = /^ *#(?: (.*)| *$)/

View file

@ -78,4 +78,4 @@ This is what it might look like in your config file:
<hr>
This is documentation from <a href="https://github.com/logstash/logstash/blob/master/<%= file %>"><%= file %>
This is documentation from <a href="https://github.com/logstash/logstash/blob/v<%= LOGSTASH_VERSION %>/<%= file %>"><%= file %>