Skip to content

Commit d768579

Browse files
Extend readme and docs
1 parent 5a92fa3 commit d768579

File tree

4 files changed

+37
-6
lines changed

4 files changed

+37
-6
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main # update to match your development branch (master, main, dev, trunk, ...)
7+
tags: [*v]
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
permissions:
13+
actions: write
14+
contents: write
15+
pull-requests: read
16+
statuses: write
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: julia-actions/setup-julia@v2
21+
with:
22+
version: "1"
23+
- uses: julia-actions/cache@v2
24+
- name: Install dependencies
25+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
26+
- name: Build and deploy
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
29+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
30+
run: julia --project=docs/ docs/make.jl

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ The dataset has the following copyright notice
66
> Copyright (c) [2016] [A. Carlier, K. Leonard, S. Hahmann, G. Morin, M. Collins]
77
and is licensed under an MIT-License.
88

9+
The whole dataset is 1.8 MB large (zipped) and is only downloaded once when you
10+
use this package.
11+
912
## Quickstart
1013

11-
Install this package from the Genreal Registry:
14+
Install this package from the General Registry:
1215
```julia
1316
julia> ]
1417
pkg> add The2DShapeStructureDataset

docs/make.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ makedocs(
55
sitename = "The2DShapeStructureDataset",
66
format = Documenter.HTML(),
77
modules = [The2DShapeStructureDataset],
8-
remotes = nothing,
98
)
109

1110
# Documenter can also automatically deploy documentation to gh-pages.
1211
# See "Hosting Documentation" and deploydocs() in the Documenter manual
1312
# for more information.
14-
#=deploydocs(
15-
repo = "<repository url>"
16-
)=#
13+
deploydocs(
14+
repo = "github.com/microscopic-image-analysis/The2DShapeStructureDataset.jl.git"
15+
)

src/The2DShapeStructureDataset.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module The2DShapeStructureDataset
22
@doc read(joinpath(dirname(@__DIR__), "README.md"), String) The2DShapeStructureDataset
33

4-
54
using Downloads
65
using ZipArchives
76
using JSON3

0 commit comments

Comments
 (0)