Skip to content

Commit

Permalink
update make.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed Feb 27, 2024
1 parent eb19d5f commit 6fc0112
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

17 changes: 17 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ open(joinpath(@__DIR__, "src", "man", "code_of_conduct.md"), "w") do io
println(io, "> ", line)
end
end
open(joinpath(@__DIR__, "src", "man", "contributing.md"), "w") do io
# Point to source license file
println(io, """
```@meta
EditURL = "https://github.com/JuliaGeodynamics/GeophysicalModelGenerator.jl/blob/main/CONTRIBUTING.md"
```
""")
# Write the modified contents
println(io, "# [Contributing](@id contributing)")
println(io, "")
for line in eachline(joinpath(dirname(@__DIR__), "CONTRIBUTING.md"))
line = replace(line, "[LICENSE.md](LICENSE.md)" => "[License](@ref)")
line = replace(line, "[AUTHORS.md](AUTHORS.md)" => "[Authors](@ref)")
# line = replace(line, "[AUTHORS.md](AUTHORS.md)" => "[Authors](@ref)")
println(io, "> ", line)
end
end

makedocs(;
modules=[GeophysicalModelGenerator],
Expand Down

0 comments on commit 6fc0112

Please sign in to comment.