11using Pkg
2- Pkg. develop (path= joinpath (@__DIR__ , " .." ))
2+ if Base. VERSION < v " 1.11"
3+ Pkg. develop (path= joinpath (@__DIR__ , " .." ))
4+ end
35
46using Documenter
57using QuantumPropagators
@@ -64,6 +66,17 @@ links = InterLinks(
6466 " DrWatson" => " https://juliadynamics.github.io/DrWatson.jl/stable/" ,
6567)
6668
69+ fallbacks = DocumenterInterLinks. ExternalFallbacks (
70+ " GRAPE-Background" => " @extref GRAPE :std:label:`GRAPE-Background`" ,
71+ " QuantumGradientGenerators.GradVector" => " @extref QuantumGradientGenerators :jl:type:`QuantumGradientGenerators.GradVector`" ,
72+ " howto_parameterized" => " @extref QuantumPropagators :std:label:`howto_parameterized`" ,
73+ " KrotovResult" => " @extref Krotov :jl:type:`Krotov.KrotovResult`" ,
74+ " KrotovWrk" => " @extref Krotov :jl:type:`Krotov.KrotovWrk`" ,
75+ " GrapeResult" => " @extref GRAPE :jl:type:`GRAPE.GrapeResult`" ,
76+ " GrapeWrk" => " @extref GRAPE :jl:type:`GRAPE.GrapeWrk`" ;
77+ automatic = false ,
78+ )
79+
6780println (" Starting makedocs" )
6881
6982include (" generate_api.jl" )
@@ -76,7 +89,7 @@ if get(ENV, "DOCUMENTER_WARN_ONLY", "0") == "1" # cf. test/init.jl
7689end
7790
7891makedocs (;
79- plugins= [bib, links],
92+ plugins= [bib, links, fallbacks ],
8093 authors= AUTHORS,
8194 sitename= " QuantumControl.jl" ,
8295 # Link checking is disabled in REPL, see `devrepl.jl`.
@@ -121,7 +134,6 @@ makedocs(;
121134 " QuantumControl" => " api/quantum_control.md" ,
122135 " Reference" => " api/reference.md" ,
123136 " Subpackages" => [" QuantumPropagators" => " api/quantum_propagators.md" ,],
124- " Externals" => " api_externals.md" ,
125137 " Index" => " api/quantum_control_index.md" ,
126138 ],
127139 " References" => " references.md" ,
0 commit comments