Skip to content

Commit

Permalink
Added docstring for Artifacts.jl (#52913)
Browse files Browse the repository at this point in the history
This is a part of issue #52725.

---------

Co-authored-by: Steven G. Johnson <[email protected]>
Co-authored-by: Max Horn <[email protected]>
(cherry picked from commit 15e2af2)
  • Loading branch information
jam-khan authored and IanButterworth committed Apr 11, 2024
1 parent feceefe commit 08cd1a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
Artifacts.jl is a Julia module that is used for managing and accessing
artifacts in Julia packages. Artifacts are containers for
platform-specific binaries, datasets, text, or any other kind of data
that would be convenient to place within an immutable, life-cycled datastore.
"""
module Artifacts

import Base: get, SHA1
Expand Down
4 changes: 4 additions & 0 deletions stdlib/Artifacts/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,7 @@ end
@test length(Base.manifest_names) == n
@test length(Base.preferences_names) == n
end

@testset "Docstrings" begin
@test isempty(Docs.undocumented_names(Artifacts))
end

0 comments on commit 08cd1a5

Please sign in to comment.