Skip to content

Commit

Permalink
Improve on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
henry2004y committed Apr 3, 2021
1 parent 275708e commit 6da2fe2
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Batsrus"
uuid = "e74ebddf-6ac1-4047-a0e5-c32c99e57753"
authors = ["Hongyang Zhou <[email protected]>"]
version = "0.2.5"
version = "0.2.6"

[deps]
FortranFiles = "c58ffaec-ab22-586d-bfc5-781a99fd0b10"
Expand Down
31 changes: 19 additions & 12 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
using Documenter, Batsrus
using Batsrus, Documenter

#push!(LOAD_PATH,"../src/")

makedocs(
sitename="Batsrus",
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true"
)
makedocs(;
modules=[Batsrus],
authors="Hongyang Zhou <[email protected]>",
repo="https://github.com/henry2004y/Batsrus.jl/blob/{commit}{path}#L{line}",
sitename="Batsrus.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://henry2004y.github.io/Batsrus.jl",
assets=String[],
),
pages=[
"Home" => "index.md",
"Example" => "examples.md",
"Internal" => "internal.md",
"Log" => "log.md",
],
)

deploydocs(
repo = "github.com/henry2004y/Batsrus.jl.git",
target = "build",
branch = "gh-pages"
deploydocs(;
repo="github.com/henry2004y/Batsrus.jl",
)
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Batsrus.jl Documentation
# Batsrus.jl

## Overview

Expand Down
9 changes: 0 additions & 9 deletions docs/src/man/functions.md

This file was deleted.

17 changes: 17 additions & 0 deletions docs/src/man/internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# APIs

## Public types in module `Batsrus`:

```@autodocs
Modules = [Batsrus]
Private = false
Order = [:type]
```

## Functions exported from `Batsrus`:

```@autodocs
Modules = [Batsrus]
Private = false
Order = [:function]
```
9 changes: 0 additions & 9 deletions docs/src/man/types.md

This file was deleted.

0 comments on commit 6da2fe2

Please sign in to comment.