diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 9adc545..23d872e 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-24T12:40:46","documenter_version":"1.5.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-08-31T12:41:47","documenter_version":"1.6.0"}} \ No newline at end of file diff --git a/dev/assets/documenter.js b/dev/assets/documenter.js index b2bdd43..82252a1 100644 --- a/dev/assets/documenter.js +++ b/dev/assets/documenter.js @@ -77,30 +77,35 @@ require(['jquery'], function($) { let timer = 0; var isExpanded = true; -$(document).on("click", ".docstring header", function () { - let articleToggleTitle = "Expand docstring"; - - debounce(() => { - if ($(this).siblings("section").is(":visible")) { - $(this) - .find(".docstring-article-toggle-button") - .removeClass("fa-chevron-down") - .addClass("fa-chevron-right"); - } else { - $(this) - .find(".docstring-article-toggle-button") - .removeClass("fa-chevron-right") - .addClass("fa-chevron-down"); +$(document).on( + "click", + ".docstring .docstring-article-toggle-button", + function () { + let articleToggleTitle = "Expand docstring"; + const parent = $(this).parent(); + + debounce(() => { + if (parent.siblings("section").is(":visible")) { + parent + .find("a.docstring-article-toggle-button") + .removeClass("fa-chevron-down") + .addClass("fa-chevron-right"); + } else { + parent + .find("a.docstring-article-toggle-button") + .removeClass("fa-chevron-right") + .addClass("fa-chevron-down"); - articleToggleTitle = "Collapse docstring"; - } + articleToggleTitle = "Collapse docstring"; + } - $(this) - .find(".docstring-article-toggle-button") - .prop("title", articleToggleTitle); - $(this).siblings("section").slideToggle(); - }); -}); + parent + .children(".docstring-article-toggle-button") + .prop("title", articleToggleTitle); + parent.siblings("section").slideToggle(); + }); + } +); $(document).on("click", ".docs-article-toggle-button", function (event) { let articleToggleTitle = "Expand docstring"; @@ -110,7 +115,7 @@ $(document).on("click", ".docs-article-toggle-button", function (event) { debounce(() => { if (isExpanded) { $(this).removeClass("fa-chevron-up").addClass("fa-chevron-down"); - $(".docstring-article-toggle-button") + $("a.docstring-article-toggle-button") .removeClass("fa-chevron-down") .addClass("fa-chevron-right"); @@ -119,7 +124,7 @@ $(document).on("click", ".docs-article-toggle-button", function (event) { $(".docstring section").slideUp(animationSpeed); } else { $(this).removeClass("fa-chevron-down").addClass("fa-chevron-up"); - $(".docstring-article-toggle-button") + $("a.docstring-article-toggle-button") .removeClass("fa-chevron-right") .addClass("fa-chevron-down"); diff --git a/dev/ellipsisnotation/index.html b/dev/ellipsisnotation/index.html index 99e6eea..748d834 100644 --- a/dev/ellipsisnotation/index.html +++ b/dev/ellipsisnotation/index.html @@ -1,5 +1,5 @@ -API · EllipsisNotation.jl

API

EllipsisNotation.:..Constant

Implementation of the notation .. for indexing arrays. It's similar to the Python ... in that it means 'all the columns before (or after)'.

.. slurps dimensions greedily, meaning that the first occurrence of .. in an index expression creates as many slices as possible. Other instances of .. afterward are treated simply as slices. Usually, you should only use one instance of .. in an indexing expression to avoid possible confusion.

Example

julia> A = Array{Int}(undef, 2, 4, 2);
+API · EllipsisNotation.jl

API

EllipsisNotation.:..Constant

Implementation of the notation .. for indexing arrays. It's similar to the Python ... in that it means 'all the columns before (or after)'.

.. slurps dimensions greedily, meaning that the first occurrence of .. in an index expression creates as many slices as possible. Other instances of .. afterward are treated simply as slices. Usually, you should only use one instance of .. in an indexing expression to avoid possible confusion.

Example

julia> A = Array{Int}(undef, 2, 4, 2);
 
 julia> A[.., 1] = [2 1 4 5
                    2 2 3 6];
@@ -23,4 +23,4 @@
             6 7];
 
 julia> B == reshape(A[1, ..], 4, 2)
-true
source
+true
source
diff --git a/dev/index.html b/dev/index.html index c6db819..cfde52c 100644 --- a/dev/index.html +++ b/dev/index.html @@ -31,9 +31,9 @@ julia> size(C[1:1, .., 1:1]) (1, 3, 3, 3, 1)

Note: .. slurps dimensions greedily, meaning that the first occurrence of .. in an index expression creates as many slices as possible. Other instances of .. afterwards are treated simply as slices. Usually, you should only use one instance of .. in an indexing expression to avoid possible confusion.

Warning: .. does not work when indexing also with end or begin. For example, A = randn(2,3,4); A[.., 1:end] will not give the intended result. This is a known limitation, and is not likely to be fixed until some necessary changes in the Julia language itself are implemented. See https://github.com/ChrisRackauckas/EllipsisNotation.jl/issues/19 for more details.

Contributing

Acknowledgements

I would like to acknowledge M. Schauer for the .. notation implementation. He had the original idea, I just extended it and put it into a package because of how useful it has been to me.

Reproducibility

The documentation of this SciML package was built using these direct dependencies,
Status `~/work/EllipsisNotation.jl/EllipsisNotation.jl/docs/Project.toml`
-  [e30172f5] Documenter v1.5.0
-  [da5c29d0] EllipsisNotation v1.8.0 `~/work/EllipsisNotation.jl/EllipsisNotation.jl`
and using this machine and Julia version.
Julia Version 1.10.4
-Commit 48d4fd48430 (2024-06-04 10:41 UTC)
+  [e30172f5] Documenter v1.6.0
+  [da5c29d0] EllipsisNotation v1.8.0 `~/work/EllipsisNotation.jl/EllipsisNotation.jl`
and using this machine and Julia version.
Julia Version 1.10.5
+Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
 Build Info:
   Official https://julialang.org/ release
 Platform Info:
@@ -51,7 +51,7 @@
   [f70d9fcc] CommonWorldInvalidations v1.0.0
   [34da2185] Compat v4.16.0
   [ffbed154] DocStringExtensions v0.9.3
-  [e30172f5] Documenter v1.5.0
+  [e30172f5] Documenter v1.6.0
   [da5c29d0] EllipsisNotation v1.8.0 `~/work/EllipsisNotation.jl/EllipsisNotation.jl`
   [d7ba0133] Git v1.3.1
   [b5f81e59] IOCapture v0.2.5
@@ -108,6 +108,6 @@
   [4536629a] OpenBLAS_jll v0.3.23+4
   [efcefdf7] PCRE2_jll v10.42.0+1
   [83775a58] Zlib_jll v1.2.13+1
-  [8e850b90] libblastrampoline_jll v5.8.0+1
+  [8e850b90] libblastrampoline_jll v5.11.0+0
   [8e850ede] nghttp2_jll v1.52.0+1
-  [3f19e933] p7zip_jll v17.4.0+2

You can also download the manifest file and the project file.

+ [3f19e933] p7zip_jll v17.4.0+2

You can also download the manifest file and the project file.