Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc project instantiation #279

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Use [Changelog.jl](https://github.com/JuliaDocs/Changelog.jl) to generate the changelog, and add it to the documentation. ([#277])
- Use [Changelog.jl](https://github.com/JuliaDocs/Changelog.jl) to generate the changelog, and add it to the documentation. ([#277], [#279])
- `test_project_extras` prints failures the same on all julia versions. In particular, 1.11 and nightly are no outliers. ([#275])


Expand Down
10 changes: 7 additions & 3 deletions docs/instantiate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ cd(docs_directory) do
Pkg.instantiate()

# Remove Aqua again from docs/Project.toml
project_toml = TOML.parsefile(joinpath(docs_directory, "Project.toml"))
delete!(project_toml["deps"], "Aqua")
lines = readlines(joinpath(docs_directory, "Project.toml"))
open(joinpath(docs_directory, "Project.toml"), "w") do io
TOML.print(io, project_toml)
for line in lines
if line == "Aqua = \"4c88cf16-eb10-579e-8560-4a9242c79595\""
continue
end
println(io, line)
end
end
end
Loading