#950 lines_count added into the dmsft macro description

This commit is contained in:
Karel Pičman 2019-01-15 18:04:22 +01:00
parent 1e21d7f828
commit 26140d6115

View File

@ -131,7 +131,7 @@ Redmine::WikiFormatting::Macros.register do
# dmsft - link to the document's content preview
desc "Wiki link to DMSF document's content preview:\n\n" +
"{{dmsft(file_id)}}\n\n" +
"{{dmsft(file_id, line_counts)}}\n\n" +
"_file_id_ can be found in the document's details."
macro :dmsft do |obj, args|
raise ArgumentError if args.length < 2 # Requires file id and lines number