Skip to content

Commit

Permalink
print with a prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Jun 27, 2015
1 parent a392a04 commit 70a360a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/genstdlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function translate(file)
doccing = true
println(io, l)
println(io)
println(io, Markdown.rst(getdoc(mod, func)))
for l in split(Markdown.rst(getdoc(mod, func)), "\n")
println(io, " ", l)
end
println(io)
elseif doccing && (startswith(l, " ") || ismatch(r"^\s*$", l))
else
Expand Down

0 comments on commit 70a360a

Please sign in to comment.