Skip to content

Commit d62b1a5

Browse files
author
Documenter.jl
committed
build based on 014b1cf
1 parent 4dc2ecd commit d62b1a5

File tree

8 files changed

+137
-73
lines changed

8 files changed

+137
-73
lines changed

dev/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.12.5","generation_timestamp":"2026-02-19T21:55:13","documenter_version":"1.16.1"}}
1+
{"documenter":{"julia_version":"1.12.5","generation_timestamp":"2026-02-26T22:08:55","documenter_version":"1.17.0"}}

dev/api/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/assets/Manifest.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ version = "0.1.6"
149149

150150
[[deps.BracketingNonlinearSolve]]
151151
deps = ["CommonSolve", "ConcreteStructs", "NonlinearSolveBase", "PrecompileTools", "Reexport", "SciMLBase"]
152-
git-tree-sha1 = "dad06225f21dc7d06dbad29a6b7763e7fc37c4e4"
152+
git-tree-sha1 = "fad1448f07155b299bfb925ebf22f5d553bdfb6e"
153153
uuid = "70df07ce-3d50-431d-a3e7-ca6ddb60ac1e"
154-
version = "1.8.0"
154+
version = "1.10.0"
155155
weakdeps = ["ChainRulesCore", "ForwardDiff"]
156156

157157
[deps.BracketingNonlinearSolve.extensions]
@@ -291,9 +291,9 @@ version = "1.11.0"
291291

292292
[[deps.DiffEqBase]]
293293
deps = ["ArrayInterface", "BracketingNonlinearSolve", "ConcreteStructs", "DocStringExtensions", "FastBroadcast", "FastClosures", "FastPower", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "Logging", "Markdown", "MuladdMacro", "PrecompileTools", "Printf", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SciMLStructures", "Setfield", "Static", "StaticArraysCore", "SymbolicIndexingInterface", "TruncatedStacktraces"]
294-
git-tree-sha1 = "450d2277df09cd48c65d7651a7c92759244ab299"
294+
git-tree-sha1 = "63613a73dd21fed5bf5ebb3e3b183e7e902b02b2"
295295
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
296-
version = "6.205.1"
296+
version = "6.210.0"
297297

298298
[deps.DiffEqBase.extensions]
299299
DiffEqBaseCUDAExt = "CUDA"
@@ -444,19 +444,19 @@ version = "0.9.5"
444444

445445
[[deps.Documenter]]
446446
deps = ["ANSIColoredPrinters", "AbstractTrees", "Base64", "CodecZlib", "Dates", "DocStringExtensions", "Downloads", "Git", "IOCapture", "InteractiveUtils", "JSON", "Logging", "Markdown", "MarkdownAST", "Pkg", "PrecompileTools", "REPL", "RegistryInstances", "SHA", "TOML", "Test", "Unicode"]
447-
git-tree-sha1 = "b37458ae37d8bdb643d763451585cd8d0e5b4a9e"
447+
git-tree-sha1 = "56e9c37b5e7c3b4f080ab1da18d72d5c290e184a"
448448
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
449-
version = "1.16.1"
449+
version = "1.17.0"
450450

451451
[[deps.Downloads]]
452452
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
453453
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
454454
version = "1.7.0"
455455

456456
[[deps.EnumX]]
457-
git-tree-sha1 = "7bebc8aad6ee6217c78c5ddcf7ed289d65d0263e"
457+
git-tree-sha1 = "c49898e8438c828577f04b92fc9368c388ac783c"
458458
uuid = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
459-
version = "1.0.6"
459+
version = "1.0.7"
460460

461461
[[deps.Enzyme]]
462462
deps = ["CEnum", "EnzymeCore", "Enzyme_jll", "GPUCompiler", "InteractiveUtils", "LLVM", "Libdl", "LinearAlgebra", "ObjectFile", "PrecompileTools", "Preferences", "Printf", "Random", "SparseArrays"]
@@ -1015,9 +1015,9 @@ version = "1.3.0"
10151015

10161016
[[deps.NonlinearSolveBase]]
10171017
deps = ["ADTypes", "Adapt", "ArrayInterface", "CommonSolve", "Compat", "ConcreteStructs", "DifferentiationInterface", "EnzymeCore", "FastClosures", "LinearAlgebra", "LogExpFunctions", "Markdown", "MaybeInplace", "PreallocationTools", "Preferences", "Printf", "RecursiveArrayTools", "SciMLBase", "SciMLJacobianOperators", "SciMLLogging", "SciMLOperators", "SciMLStructures", "Setfield", "StaticArraysCore", "SymbolicIndexingInterface", "TimerOutputs"]
1018-
git-tree-sha1 = "37fafbc6299df165db942a4f1dc057f6f688827c"
1018+
git-tree-sha1 = "7208e90967acd77aa6b4d46ac65cc5ac1643794c"
10191019
uuid = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
1020-
version = "2.12.0"
1020+
version = "2.14.0"
10211021

10221022
[deps.NonlinearSolveBase.extensions]
10231023
NonlinearSolveBaseBandedMatricesExt = "BandedMatrices"
@@ -1100,10 +1100,10 @@ uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
11001100
version = "1.8.1"
11011101

11021102
[[deps.OrdinaryDiffEqCore]]
1103-
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "ConcreteStructs", "DataStructures", "DiffEqBase", "DocStringExtensions", "EnumX", "EnzymeCore", "FastBroadcast", "FastClosures", "FastPower", "FillArrays", "FunctionWrappersWrappers", "InteractiveUtils", "LinearAlgebra", "Logging", "MacroTools", "MuladdMacro", "Polyester", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLLogging", "SciMLOperators", "SciMLStructures", "Static", "StaticArrayInterface", "StaticArraysCore", "SymbolicIndexingInterface", "TruncatedStacktraces"]
1104-
git-tree-sha1 = "61ebd6dbcb288df48ab2dc0020d4a615cf335d5e"
1103+
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "ConcreteStructs", "DataStructures", "DiffEqBase", "DocStringExtensions", "EnumX", "EnzymeCore", "FastBroadcast", "FastClosures", "FastPower", "FillArrays", "FunctionWrappersWrappers", "InteractiveUtils", "LinearAlgebra", "Logging", "MacroTools", "MuladdMacro", "Polyester", "PrecompileTools", "Preferences", "Random", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLLogging", "SciMLOperators", "SciMLStructures", "Static", "StaticArrayInterface", "StaticArraysCore", "SymbolicIndexingInterface", "TruncatedStacktraces"]
1104+
git-tree-sha1 = "636f422f2204426505557dc08a4d1bba85037363"
11051105
uuid = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
1106-
version = "3.5.2"
1106+
version = "3.10.0"
11071107

11081108
[deps.OrdinaryDiffEqCore.extensions]
11091109
OrdinaryDiffEqCoreMooncakeExt = "Mooncake"
@@ -1191,19 +1191,19 @@ version = "1.3.3"
11911191

11921192
[[deps.Preferences]]
11931193
deps = ["TOML"]
1194-
git-tree-sha1 = "522f093a29b31a93e34eaea17ba055d850edea28"
1194+
git-tree-sha1 = "8b770b60760d4451834fe79dd483e318eee709c4"
11951195
uuid = "21216c6a-2e73-6563-6e65-726566657250"
1196-
version = "1.5.1"
1196+
version = "1.5.2"
11971197

11981198
[[deps.Printf]]
11991199
deps = ["Unicode"]
12001200
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
12011201
version = "1.11.0"
12021202

12031203
[[deps.PtrArrays]]
1204-
git-tree-sha1 = "1d36ef11a9aaf1e8b74dacc6a731dd1de8fd493d"
1204+
git-tree-sha1 = "4fbbafbc6251b883f4d2705356f3641f3652a7fe"
12051205
uuid = "43287f4e-b6f4-7ad1-bb20-aadabca52c3d"
1206-
version = "1.3.0"
1206+
version = "1.4.0"
12071207

12081208
[[deps.QuadGK]]
12091209
deps = ["DataStructures", "LinearAlgebra"]
@@ -1335,9 +1335,9 @@ version = "0.1.0"
13351335

13361336
[[deps.SciMLBase]]
13371337
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "Moshi", "PreallocationTools", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLLogging", "SciMLOperators", "SciMLPublic", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
1338-
git-tree-sha1 = "ded87d3f28247e7a96055d20db61fa3bab8ed3dc"
1338+
git-tree-sha1 = "d370a38786ebbb9cd5ec386b76d57e50e88c823c"
13391339
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1340-
version = "2.139.0"
1340+
version = "2.144.2"
13411341

13421342
[deps.SciMLBase.extensions]
13431343
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
@@ -1424,7 +1424,7 @@ version = "7.96.0"
14241424

14251425
[[deps.SciMLStructures]]
14261426
deps = ["ArrayInterface", "PrecompileTools"]
1427-
path = "/home/runner/work/SciMLStructures.jl/SciMLStructures.jl"
1427+
path = "/home/chrisrackauckas/github-runners/demeter4-5/_work/SciMLStructures.jl/SciMLStructures.jl"
14281428
uuid = "53ae85a6-f571-4167-b2af-e1d143709226"
14291429
version = "1.10.0"
14301430

@@ -1503,9 +1503,9 @@ version = "1.9.0"
15031503

15041504
[[deps.StaticArrays]]
15051505
deps = ["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"]
1506-
git-tree-sha1 = "eee1b9ad8b29ef0d936e3ec9838c7ec089620308"
1506+
git-tree-sha1 = "0f529006004a8be48f1be25f3451186579392d47"
15071507
uuid = "90137ffa-7385-5640-81b9-e52037218182"
1508-
version = "1.9.16"
1508+
version = "1.9.17"
15091509
weakdeps = ["ChainRulesCore", "Statistics"]
15101510

15111511
[deps.StaticArrays.extensions]

dev/assets/documenter.js

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/assets/warner.js

Lines changed: 61 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,40 @@ function maybeAddWarning() {
3737
closer.addEventListener("click", function () {
3838
document.body.removeChild(div);
3939
});
40-
const href = window.documenterBaseURL + "/../" + window.DOCUMENTER_STABLE;
40+
var target_href =
41+
window.documenterBaseURL + "/../" + window.DOCUMENTER_STABLE;
42+
43+
// try to stay on the same page when linking to the stable version
44+
// get the current page path relative to the version root
45+
var current_page = window.location.pathname;
46+
47+
// resolve the documenterBaseURL to an absolute path
48+
// documenterBaseURL is a relative path (usually "."), so we need to resolve it
49+
var base_url_absolute = new URL(documenterBaseURL, window.location.href)
50+
.pathname;
51+
if (!base_url_absolute.endsWith("/")) {
52+
base_url_absolute = base_url_absolute + "/";
53+
}
54+
55+
// extract the page path after the version directory
56+
// e.g., if we're on /stable/man/guide.html, we want "man/guide.html"
57+
var page_path = "";
58+
if (current_page.startsWith(base_url_absolute)) {
59+
page_path = current_page.substring(base_url_absolute.length);
60+
}
61+
62+
// construct the target URL with the same page path
63+
var target_url = target_href;
64+
if (page_path && page_path !== "" && page_path !== "index.html") {
65+
// ensure target_href ends with a slash before appending page path
66+
if (!target_url.endsWith("/")) {
67+
target_url = target_url + "/";
68+
}
69+
target_url = target_url + page_path;
70+
}
71+
72+
// preserve the anchor (hash) from the current page
73+
var current_hash = window.location.hash;
4174

4275
// Determine if this is a development version or an older release
4376
let warningMessage = "";
@@ -51,12 +84,35 @@ function maybeAddWarning() {
5184
"This documentation is for an <strong>older version</strong> that may be missing recent changes.<br>";
5285
}
5386

54-
warningMessage +=
55-
'<a href="' +
56-
href +
57-
'">Click here to go to the documentation for the latest stable release.</a>';
87+
// Create the link element with same-page navigation
88+
const link = document.createElement("a");
89+
link.href = target_url + current_hash;
90+
link.textContent =
91+
"Click here to go to the documentation for the latest stable release.";
92+
93+
// If we're trying to stay on the same page, verify it exists first
94+
if (page_path && page_path !== "" && page_path !== "index.html") {
95+
link.addEventListener("click", function (e) {
96+
e.preventDefault();
97+
// check if the target page exists, fallback to homepage if it doesn't
98+
fetch(target_url, { method: "HEAD" })
99+
.then(function (response) {
100+
if (response.ok) {
101+
window.location.href = target_url + current_hash;
102+
} else {
103+
// page doesn't exist in the target version, go to homepage
104+
window.location.href = target_href;
105+
}
106+
})
107+
.catch(function (error) {
108+
// network error or other failure - use homepage
109+
window.location.href = target_href;
110+
});
111+
});
112+
}
58113

59114
div.innerHTML = warningMessage;
115+
div.appendChild(link);
60116
div.appendChild(closer);
61117
document.body.appendChild(div);
62118
}

0 commit comments

Comments
 (0)