Skip to content

Commit

Permalink
Update API documentation page (#122)
Browse files Browse the repository at this point in the history
* update API documentation page

* add section for ZGroup
* use autodocs block for Compressors to include all the types

* rename API reference page
  • Loading branch information
ziw-liu authored Jul 5, 2023
1 parent b988d67 commit 74da985
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ makedocs(
pages = [
"Home" => "index.md",
"Tutorial" => "tutorial.md",
"Function Reference" => "reference.md",
"API Reference" => "reference.md",
"Storage Backends" => "storage.md",
"Accessing cloud data Examples" => "s3examples.md",
"Operations on Zarr Arrays" => "operations.md",
Expand Down
17 changes: 13 additions & 4 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
## Array creation
# API reference

## Arrays

```@docs
zcreate
zzeros
```

## Group hierarchy

```@autodocs
Modules = [Zarr]
Pages = ["ZGroup.jl"]
```

## Compressors

```@docs
Zarr.BloscCompressor
Zarr.NoCompressor
```@autodocs
Modules = [Zarr]
Pages = ["Compressors.jl"]
```

0 comments on commit 74da985

Please sign in to comment.