-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b592166
commit 71f1505
Showing
1 changed file
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,23 @@ DocMeta.setdocmeta!( | |
recursive = true, | ||
) | ||
|
||
const page_rename = Dict("developer.md" => "Developer docs") # Without the numbers | ||
const numbered_pages = [ | ||
file for file in readdir(joinpath(@__DIR__, "src")) if | ||
file != "index.md" && splitext(file)[2] == ".md" | ||
] | ||
|
||
makedocs(; | ||
modules = [GalerkinToolkit], | ||
authors = "Francesc Verdugo <[email protected]> and contributors", | ||
repo = "https://github.com/fverdugo/GalerkinToolkit.jl/blob/{commit}{path}#{line}", | ||
authors = "Francesc Verdugo <[email protected]> and contributors", | ||
sitename = "GalerkinToolkit.jl", | ||
format = Documenter.HTML(; canonical = "https://fverdugo.github.io/GalerkinToolkit.jl"), | ||
pages = ["index.md"; numbered_pages], | ||
format = Documenter.HTML(; | ||
prettyurls = get(ENV, "CI", "false") == "true", | ||
canonical = "https://fverdugo.github.io/GalerkinToolkit.jl", | ||
assets = String[], | ||
), | ||
pages = [ | ||
"Home" => "index.md", | ||
"Reference" => [ | ||
"Mesh" => "reference/mesh.md", | ||
"Integration" => "reference/integration.md", | ||
"Interpolation" => "reference/interpolation.md", | ||
], | ||
], | ||
) | ||
|
||
deploydocs(; repo = "github.com/fverdugo/GalerkinToolkit.jl") | ||
deploydocs(; repo = "github.com/fverdugo/GalerkinToolkit.jl", devbranch = "main") |