Skip to content

Commit

Permalink
Add topbar
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Jan 6, 2024
1 parent 9519248 commit 8e3f6af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
17 changes: 13 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ using QuantumControlBase
using Krotov
using Documenter
using DocumenterCitations
using DocumenterInterLinks
using Pkg
using Plots

Expand All @@ -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",
Expand All @@ -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")
3 changes: 2 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit 8e3f6af

Please sign in to comment.