diff --git a/docs/make.jl b/docs/make.jl index 3daeecd1..d8cbf2e7 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,10 +1,10 @@ using Pkg Pkg.activate(@__DIR__) CI = get(ENV, "CI", nothing) == "true" -using Documenter, NCDatasets +using Documenter, NCDatasets, CommonDataModel makedocs( - modules = [NCDatasets], + modules = [NCDatasets, CommonDataModel], sitename= "NCDatasets.jl", doctest = false, format = Documenter.HTML( @@ -21,6 +21,7 @@ makedocs( "Experimental features" => "experimental.md", "Tutorials" => "tutorials.md", ], + checkdocs = :none, ) if CI diff --git a/docs/src/dataset.md b/docs/src/dataset.md index a05e1b33..87c66c4b 100644 --- a/docs/src/dataset.md +++ b/docs/src/dataset.md @@ -31,10 +31,9 @@ Otherwise, we attempt to use standard structures from the Julia standard library ## Groups ```@docs -defGroup(ds::NCDataset,groupname) +defGroup getindex(g::NCDatasets.Groups,groupname::AbstractString) Base.keys(g::NCDatasets.Groups) - groupname(ds::NCDataset) ``` ## Common methods diff --git a/src/groupes.jl b/src/groupes.jl index e69d175d..a2f7c64b 100644 --- a/src/groupes.jl +++ b/src/groupes.jl @@ -32,7 +32,7 @@ function Base.getindex(g::Groups,groupname::SymbolOrString) end """ - defGroup(ds::NCDataset,groupname, attrib = [])) + defGroup(ds::NCDataset,groupname; attrib = [])) Create the group with the name `groupname` in the dataset `ds`. `attrib` is a list of attribute name and attribute value pairs (see `NCDataset`).