Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmueboe committed Jun 12, 2024
1 parent 35b1341 commit 68c3b96
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 10 deletions.
7 changes: 7 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
StereoSSAM = "4c4340ea-7f9e-46b4-8512-61f1f6c41a11"

[compat]
Documenter = "1.3"
23 changes: 22 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
using Documenter
using DocumenterInterLinks
using StereoSSAM

makedocs(; sitename="StereoSSAM.jl")
links = InterLinks(
# "CategoricalArrays" => "https://categoricalarrays.juliadata.org/stable/",
# "DimensionalData" => "https://rafaqz.github.io/DimensionalData.jl/dev/",
"Muon" => "https://scverse.org/Muon.jl/dev/",
"SparseArrays" => (
"https://docs.julialang.org/en/v1/stdlib/SparseArrays/",
"https://docs.julialang.org/en/v1/objects.inv",
),
)

makedocs(;
sitename="StereoSSAM.jl",
pages=[
"Home" => "index.md",
"Example analysis" => "examples/ExampleAnalysis.md",
"Reference API" => "api.md",
],
authors="Niklas Müller-Bötticher",
plugins=[links],
format=Documenter.HTML(; size_threshold_ignore=["examples/ExampleAnalysis.md"]),
)
20 changes: 20 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Reference API

Documentation for `StereoSSAM.jl`'s public interface.

## Index

```@index
Pages = ["api.md"]
```

## API

```@autodocs
Modules = [
StereoSSAM.IO,
StereoSSAM.Utils,
StereoSSAM.KDE,
StereoSSAM.LocalMax,
]
```
23 changes: 14 additions & 9 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# StereoSSAM.jl Documentation
# StereoSSAM.jl

```@contents
```
TODO general introduction

## Functions
reference to python repo

```@autodocs
Modules = [StereoSSAM]
```
## Citation

If you use `StereoSSAM.jl` for your research please consider citing
TODO

## Index

```@index
```
```@contents
Pages = [
"examples/ExampleAnalysis.md",
"api.md",
]
Depth = 3
```

0 comments on commit 68c3b96

Please sign in to comment.