Skip to content

Commit

Permalink
separate pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jun 1, 2022
1 parent 65b7bcd commit be31e4c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
19 changes: 3 additions & 16 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Documenter, NonlinearSolve

include("pages.jl")

makedocs(
sitename="NonlinearSolve.jl",
authors="Chris Rackauckas",
Expand All @@ -8,22 +10,7 @@ makedocs(
format = Documenter.HTML(analytics = "UA-90474609-3",
assets = ["assets/favicon.ico"],
canonical="https://nonlinearsolve.sciml.ai/stable/"),
pages=[
"Home" => "index.md",
"Tutorials" => Any[
"tutorials/nonlinear.md",
"tutorials/iterator_interface.md"
],
"Basics" => Any[
"basics/NonlinearProblem.md",
"basics/NonlinearFunctions.md",
"basics/FAQ.md"
],
"Solvers" => Any[
"solvers/NonlinearSystemSolvers.md",
"solvers/BracketingSolvers.md"
]
]
pages=pages
)

deploydocs(
Expand Down
18 changes: 18 additions & 0 deletions docs/pages.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Put in a separate page so it can be used by SciMLDocs.jl

pages=[
"Home" => "index.md",
"Tutorials" => Any[
"tutorials/nonlinear.md",
"tutorials/iterator_interface.md"
],
"Basics" => Any[
"basics/NonlinearProblem.md",
"basics/NonlinearFunctions.md",
"basics/FAQ.md"
],
"Solvers" => Any[
"solvers/NonlinearSystemSolvers.md",
"solvers/BracketingSolvers.md"
]
]

0 comments on commit be31e4c

Please sign in to comment.