Skip to content

Commit c90b66b

Browse files
Krastanovclaude
andcommitted
Copy CHANGELOG.md into docs/src during doc build
The README (used as the docs landing page) links to CHANGELOG.md, so it must be available in docs/src for Documenter to resolve the link. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 466e508 commit c90b66b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/make.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ cp(
1717
normpath(@__FILE__, "../src/index.md");
1818
force=true,
1919
)
20+
cp(
21+
normpath(@__FILE__, "../../CHANGELOG.md"),
22+
normpath(@__FILE__, "../src/CHANGELOG.md");
23+
force=true,
24+
)
2025

2126
function get_title(markdown_file_path::AbstractString)
2227
first_line = open(markdown_file_path) do io
@@ -111,3 +116,4 @@ deploydocs(; repo="github.com/JuliaGraphs/Graphs.jl.git", target="build")
111116
rm(normpath(@__FILE__, "../src/contributing.md"))
112117
rm(normpath(@__FILE__, "../src/license.md"))
113118
rm(normpath(@__FILE__, "../src/index.md"))
119+
rm(normpath(@__FILE__, "../src/CHANGELOG.md"))

0 commit comments

Comments
 (0)