Skip to content

Commit

Permalink
doc: fix broken 'Edit on GitHub' link on release notes page, fixes Ju…
Browse files Browse the repository at this point in the history
  • Loading branch information
belamenso committed Oct 28, 2020
1 parent 10b165a commit 29a6e66
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ str = read(joinpath(@__DIR__, "..", "NEWS.md"), String)
splitted = split(str, "<!--- generated by NEWS-update.jl: -->")
@assert length(splitted) == 2
replaced_links = replace(splitted[1], r"\[\#([0-9]*?)\]" => s"[#\g<1>](https://github.com/JuliaLang/julia/issues/\g<1>)")
write(joinpath(@__DIR__, "src", "NEWS.md"), replaced_links)
write(
joinpath(@__DIR__, "src", "NEWS.md"),
"""
```@meta
EditURL = "https://github.com/JuliaLang/julia/blob/master/NEWS.md"
```
""" * replaced_links)

Manual = [
"manual/getting-started.md",
Expand Down

0 comments on commit 29a6e66

Please sign in to comment.