Skip to content

Commit

Permalink
Adding reference.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekeMarshall committed Feb 11, 2024
1 parent 4f59c04 commit d834f43
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 5 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NamedArrays = "86f7a689-2022-50b4-a561-43c23ac3c673"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
Skipper = "fc65d762-6112-4b1c-b428-ad0792653d81"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ EcoVeg = "a2c99ba7-3265-411d-b6fc-9affb657b665"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NamedArrays = "86f7a689-2022-50b4-a561-43c23ac3c673"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
Skipper = "fc65d762-6112-4b1c-b428-ad0792653d81"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ makedocs(;
),
pages=[
"Home" => "index.md",
"Reference" => "reference.md"
],
)

Expand Down
2 changes: 1 addition & 1 deletion docs/setup_docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ setup_docs = quote
using PrettyTables
using Statistics
using Suppressor
using Skipper

# Setup:
theme(:wong)
Random.seed!(2023)
www_path = "$(pwd())/docs/src/www"
end;
13 changes: 9 additions & 4 deletions docs/src/_intro.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ using EcoVeg

`EcoVeg.jl` is a package containing functions for the analysis of vegetation plot sample data....

## Example Pluto Notebook
in vegetation science using the Julia programming language [@bezanson2017]

Solves two language problem [@roesch2023]

Aims to collate functionality found in JUICE, vegan, MAVIS into a single location with a user-friendly API and transparent methodologies.

## Example Pluto Notebook

### Local Tour

Expand All @@ -28,18 +33,18 @@ All notebooks are contained in `docs/pluto`.

## Installation

You can install the latest stable release from the general registry:
To install the latest stable release of `EcoVeg`:

```{.julia}
using Pkg
Pkg.add("EcoVeg")
```

The development version can be installed as follows:
To install the development version of `Ecoveg`:

```{.julia}
using Pkg
Pkg.add(url="https://github.com/ZekeMarshall/EcoVeg.jl")
Pkg.add(url="https://github.com/ZekeMarshall/EcoVeg.jl", rev = "develop")
```

## Usage Example
Expand Down
9 changes: 9 additions & 0 deletions docs/src/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```@meta
CurrentModule = EcoVeg
```

<!-- ![](assets/wide_logo.png) -->

Documentation for [EcoVeg.jl](https://github.com/ZekeMarhshall/EcoVeg.jl).

{{< include _intro.qmd >}}
4 changes: 4 additions & 0 deletions docs/src/methods/SyntopicTables.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ using CSV
using BenchmarkTools
using SparseArrays
using Statistics
using Skipper
```

## Create example data
Expand Down Expand Up @@ -72,6 +73,9 @@ nzfunc(f, A; dims=:) = _nzfunc(f, A, dims)
@elapsed nzfunc(minimum, mat, dims=1)
@btime map(x -> minimum(skip(iszero, x)), eachcol(mat))
@btime mapslices(x -> minimum(skip(iszero, x)), mat, dims=1)
```

## Composing a syntopic table
Expand Down
35 changes: 35 additions & 0 deletions docs/src/reference.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
```@meta
CurrentModule = EcoVeg
```

# Reference


## Content

```@contents
Pages = ["_reference.md"]
```

## Index

```@index
```

## Public Interface

```@autodocs
Modules = [
EcoVeg,
]
Private = false
```

## Internal functions

```@autodocs
Modules = [
EcoVeg,
]
Public = false
```

0 comments on commit d834f43

Please sign in to comment.