File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ document.addEventListener("DOMContentLoaded", function() {
13
13
var suffix = 'stable/' ;
14
14
if ( footerMessageElement && ( footerMessageElement . textContent . includes ( '+dev' ) || footerMessageElement . textContent . includes ( '-dev' ) ) ) {
15
15
suffix = 'dev/' ;
16
+ } else if ( window . location . href . includes ( '/dev/' ) ) {
17
+ suffix = 'dev/' ;
16
18
}
17
19
var packages = [
18
20
"QuantumPropagators.jl" ,
@@ -42,6 +44,7 @@ document.addEventListener("DOMContentLoaded", function() {
42
44
</div>
43
45
<a class="nav-link nav-item ${ name === 'QuantumPropagators.jl' ? 'current' : '' } " href="${ name === 'QuantumPropagators.jl' ? '' : 'https://juliaquantumcontrol.github.io/QuantumPropagators.jl/' + suffix } ">QuantumPropagators.jl</a>
44
46
<a class="nav-link nav-item ${ name === 'QuantumControl.jl' ? 'current' : '' } " href="${ name === 'QuantumControl.jl' ? '' : 'https://juliaquantumcontrol.github.io/QuantumControl.jl/' + suffix } ">QuantumControl.jl</a>
47
+ <a class="nav-link nav-item ${ name . includes ( 'Examples' ) ? 'current' : '' } " href="${ name . includes ( 'Examples' ) ? '' : 'https://juliaquantumcontrol.github.io/QuantumControlExamples.jl/' + suffix } ">Examples</a>
45
48
</div>
46
49
<button id="multidoc-toggler">
47
50
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
You can’t perform that action at this time.
0 commit comments