Skip to content

Commit 9ae1ed0

Browse files
authored
Simplify documentation pages configuration
1 parent 383204d commit 9ae1ed0

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

docs/make.jl

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,6 @@ using Documenter
33

44
DocMeta.setdocmeta!(JuDO, :DocTestSetup, :(using JuDO); recursive=true)
55

6-
const _PAGES = [
7-
"Home" => "index.md",
8-
9-
# Section for your Examples
10-
"Tutorials" => [
11-
"Getting Started" => "tutorials/getting_started.md",
12-
"Cart-Pole Swing-Up" => "tutorials/cartpole.md",
13-
"Space Shuttle Reentry" => "tutorials/shuttle.md",
14-
],
15-
16-
# Section for your Types and Functions
17-
"API Reference" => [
18-
"Public Interface" => "reference/public.md",
19-
"Types" => "reference/types.md",
20-
"Internals" => "reference/internals.md",
21-
],
22-
]
23-
246
makedocs(;
257
modules=[JuDO],
268
authors="Haochen Tao <[email protected]> and contributors",
@@ -32,7 +14,9 @@ makedocs(;
3214
edit_link="dev",
3315
assets=String[],
3416
),
35-
pages=_PAGES,
17+
pages=[
18+
"Home" => "index.md",
19+
],
3620
)
3721

3822
deploydocs(;

0 commit comments

Comments
 (0)