Skip to content

Commit 7b06e42

Browse files
committed
remove protocol in deploydocs + format
1 parent 3d92597 commit 7b06e42

1 file changed

Lines changed: 30 additions & 16 deletions

File tree

‎docs/make.jl‎

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,39 @@ using DocumenterCitations
33
# using TensorKitSectors, TensorKit
44
using MultiTensorKit
55

6-
pages = ["Home" => "index.md",
7-
"Manual" => ["man/fusioncats.md", "man/multifusioncats.md", "man/extension.md", "man/implementation.md"],
8-
"Library" => "lib/library.md",
9-
"References" => "references.md"]
6+
pages = [
7+
"Home" => "index.md",
8+
"Manual" => ["man/fusioncats.md", "man/multifusioncats.md", "man/extension.md", "man/implementation.md"],
9+
"Library" => "lib/library.md",
10+
"References" => "references.md",
11+
]
1012

1113
# bibliography
1214
bibpath = joinpath(@__DIR__, "src", "assets", "MTKrefs.bib")
13-
bib = CitationBibliography(bibpath; style=:authoryear)
15+
bib = CitationBibliography(bibpath; style = :authoryear)
1416

15-
mathengine = MathJax3(Dict(:loader => Dict("load" => ["[tex]/physics"]),
16-
:tex => Dict("inlineMath" => [["\$", "\$"], ["\\(", "\\)"]],
17-
"tags" => "ams",
18-
"packages" => ["base", "ams", "autoload", "physics",
19-
"mathtools"])))
17+
mathengine = MathJax3(
18+
Dict(
19+
:loader => Dict("load" => ["[tex]/physics"]),
20+
:tex => Dict(
21+
"inlineMath" => [["\$", "\$"], ["\\(", "\\)"]],
22+
"tags" => "ams",
23+
"packages" => [
24+
"base", "ams", "autoload", "physics",
25+
"mathtools",
26+
]
27+
)
28+
)
29+
)
2030

21-
makedocs(; sitename="MultiTensorKit.jl", modules=[MultiTensorKit],
22-
authors="Boris De Vos, Laurens Lootens and Lukas Devos",
23-
pages=pages, pagesonly=true, plugins=[bib],
24-
format=Documenter.HTML(; prettyurls=true, mathengine=mathengine,
25-
assets=["assets/custom.css"]))
31+
makedocs(;
32+
sitename = "MultiTensorKit.jl", modules = [MultiTensorKit],
33+
authors = "Boris De Vos, Laurens Lootens and Lukas Devos",
34+
pages = pages, pagesonly = true, plugins = [bib],
35+
format = Documenter.HTML(;
36+
prettyurls = true, mathengine = mathengine,
37+
assets = ["assets/custom.css"]
38+
)
39+
)
2640

27-
deploydocs(; repo="https://github.com/QuantumKitHub/MultiTensorKit.jl", push_preview = true)
41+
deploydocs(; repo = "github.com/QuantumKitHub/MultiTensorKit.jl", push_preview = true)

0 commit comments

Comments
 (0)