diff --git a/docs/make.jl b/docs/make.jl index 5af8e1d..e0dc827 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,6 +2,7 @@ using QuantumControlBase using Krotov using Documenter using DocumenterCitations +using DocumenterInterLinks using Pkg using Plots @@ -27,15 +28,23 @@ bib = CitationBibliography(joinpath(@__DIR__, "src", "refs.bib"); style=:numeric makedocs(; plugins=[bib], + modules=[Krotov], authors=AUTHORS, sitename="Krotov.jl", - modules=[Krotov], format=Documenter.HTML(; prettyurls=true, canonical="https://juliaquantumcontrol.github.io/Krotov.jl", - assets=String["assets/citations.css"], + assets=[ + "assets/citations.css", + asset( + "https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.css" + ), + asset( + "https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.js" + ), + ], + mathengine=KaTeX(), footer="[$NAME.jl]($GITHUB) v$VERSION docs powered by [Documenter.jl](https://github.com/JuliaDocs/Documenter.jl).", - mathengine=KaTeX() ), pages=[ "Home" => "index.md", @@ -57,4 +66,4 @@ println("Finished makedocs") rm(joinpath(@__DIR__, "build", "examples", ".gitignore")) -deploydocs(; repo="github.com/JuliaQuantumControl/Krotov.jl") +deploydocs(; repo="github.com/JuliaQuantumControl/Krotov.jl", devbranch="master") diff --git a/test/Project.toml b/test/Project.toml index fa6d142..7f4511c 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -5,6 +5,7 @@ Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037" Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244" +DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656" Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899" Krotov = "b05dcdc7-62f6-4360-bf2c-0898bba419de" @@ -30,5 +31,5 @@ TwoQubitWeylChamber = "cad078a0-0012-46f4-b55e-a945d44e115b" UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228" [compat] -julia = "1.6" Documenter = "1.1" +julia = "1.6"