diff --git a/docs/make.jl b/docs/make.jl index 8aabd7d8..319c21e0 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -28,7 +28,7 @@ function generate_indexmd_from_readmemd() text_index = replace(text_index, r"https://github.com/hyrodium/BasicBSpline\.jl/assets/.*" => "![](math/differentiability.mp4)") text_index = replace(text_index, "```julia\njulia>" => "```julia-repl\njulia>") text_index = replace(text_index, "```julia\n" => "```@example readme\n") - text_index = replace(text_index, r"```\n!\[\]\(docs/src/img/(.*?)plotly\.png\)" => s"savefig(\"readme-\1plotly.html\") # hide\nnothing # hide\n```\n```@raw html\n\n```") + text_index = replace(text_index, r"```\n!\[\]\(docs/src/img/(.*?)plotly\.png\)" => s"savefig(\"readme-\1plotly.html\") # hide\nnothing # hide\n```\n```@raw html\n\n```") text_index = replace(text_index, r"```\n!\[\]\(docs/src/img/(.*?)\.png\)" => s"savefig(\"readme-\1.png\") # hide\nnothing # hide\n```\n![](readme-\1.png)") text_index = replace(text_index, "![](docs/src/img" => "![](img") text_index = replace(text_index, "![](img/sine-curve.svg)" => "![](sine-curve.svg)")