Skip to content

Commit

Permalink
Setup Documenter
Browse files Browse the repository at this point in the history
Closes issue #10.
  • Loading branch information
ahojukka5 committed Jul 24, 2018
1 parent 32cbf10 commit 70e3167
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
docs/site
10 changes: 10 additions & 0 deletions docs/deploy.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/BoundingSphere.jl/blob/master/LICENSE

using Documenter

deploydocs(
repo = "github.com/JuliaFEM/BoundingSphere.jl.git",
julia = "0.6",
deps = nothing,
make = nothing)
12 changes: 12 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/BoundingSphere.jl/blob/master/LICENSE

using Documenter
using BoundingSphere

makedocs(modules=[BoundingSphere],
format = :html,
checkdocs = :all,
sitename = "BoundingSphere.jl",
analytics = "UA-83590644-1",
pages = ["index.md", "api.md"])
5 changes: 5 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## API Documentation

```@autodocs
Modules = [BoundingSphere]
```
10 changes: 10 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Introduction

Package contains algorithms to calculate smallest enclosing sphere for a given
set of points in N dimensions.

```@meta
DocTestSetup = quote
using BoundingSphere
end
```

0 comments on commit 70e3167

Please sign in to comment.