-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Changelog.jl for changelog maintenance (#277)
- Loading branch information
1 parent
0de74ea
commit 38f393d
Showing
7 changed files
with
193 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
.DS_Store | ||
/docs/build/ | ||
/docs/site/ | ||
/docs/src/release-notes.md | ||
Manifest.toml |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
[deps] | ||
Changelog = "5217a498-cd5d-4ec6-b8c2-9b85a09b6e3e" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
|
||
[compat] | ||
Changelog = "1" | ||
Documenter = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using Changelog | ||
|
||
Changelog.generate( | ||
Changelog.CommonMark(), | ||
joinpath(@__DIR__, "..", "CHANGELOG.md"); | ||
repo = "JuliaTesting/Aqua.jl", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This script can be used to quickly instantiate the docs/Project.toml environment. | ||
using Pkg, TOML | ||
|
||
package_directory = joinpath(@__DIR__, "..") | ||
docs_directory = isempty(ARGS) ? @__DIR__() : joinpath(pwd(), ARGS[1]) | ||
cd(docs_directory) do | ||
Pkg.activate(docs_directory) | ||
Pkg.develop(PackageSpec(path = package_directory)) | ||
Pkg.instantiate() | ||
|
||
# Remove Aqua again from docs/Project.toml | ||
project_toml = TOML.parsefile(joinpath(docs_directory, "Project.toml")) | ||
delete!(project_toml["deps"], "Aqua") | ||
open(joinpath(docs_directory, "Project.toml"), "w") do io | ||
TOML.print(io, project_toml) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters