Skip to content

Commit

Permalink
More Revise-friendly "README injection"
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 26, 2019
1 parent f806c41 commit 2198e78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Kaleido.jl
@@ -1,8 +1,10 @@
module Kaleido

# Use README as the docstring of the module `Kaleido`:
@doc let path = joinpath(dirname(@__DIR__), "README.md")
include_dependency(path)
replace(read(path, String), "```julia" => "```jldoctest README")
end ->
module Kaleido
end Kaleido

export
@batchlens,
Expand Down

0 comments on commit 2198e78

Please sign in to comment.