Skip to content

Commit 0ed0d8e

Browse files
committed
Fix docstring support on 0.3.x
Ref: MichaelHatherly/Docile.jl#64
1 parent 37f6d7a commit 0ed0d8e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/IterativeSolvers.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
module IterativeSolvers
22

33
#Documentation support
4-
VERSION < v"0.4-" && using Docile
4+
#see https://github.com/MichaelHatherly/Docile.jl/issues/64
5+
if VERSION < v"0.4-"
6+
using Docile
7+
macro doc_mstr(text)
8+
Base.triplequoted(text)
9+
end
10+
macro doc_str(text)
11+
text
12+
end
13+
end
514

615
include("common.jl")
716
include("krylov.jl")

0 commit comments

Comments
 (0)