diff --git a/.gitignore b/.gitignore index 87baef2c..86a93f47 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ build .vscode *.zarr *.nc +*.tif var *.ipynb_checkpoints diff --git a/Project.toml b/Project.toml index a3ebb7d6..a549797f 100644 --- a/Project.toml +++ b/Project.toml @@ -34,7 +34,7 @@ YAXArrayBase = "90b8fcef-0c2d-428d-9c56-5f86629e9d14" [compat] CFTime = "0.0, 0.1" DataStructures = "0.17, 0.18" -DimensionalData = "0.27" +DimensionalData = "0.27, 0.28" DiskArrayTools = "0.1" DiskArrays = "0.3,0.4" DocStringExtensions = "0.8, 0.9" @@ -54,5 +54,5 @@ Statistics = "1" StatsBase = "0.32, 0.33, 0.34" Tables = "0.2, 1.0" WeightedOnlineStats = "0.3, 0.4, 0.5, 0.6" -YAXArrayBase = "0.6,0.7" +YAXArrayBase = "0.6, 0.7" julia = "1.9" diff --git a/docs/package.json b/docs/package.json index f908fde5..904caf08 100644 --- a/docs/package.json +++ b/docs/package.json @@ -8,6 +8,7 @@ "markdown-it": "^14.0.0", "markdown-it-mathjax3": "^4.3.2", "vitepress-plugin-tabs": "^0.5.0", + "vitepress": "^1.3.4", "vitest": "^1.3.0" } } diff --git a/docs/src/.vitepress/theme/style.css b/docs/src/.vitepress/theme/style.css index b0eec417..80723753 100644 --- a/docs/src/.vitepress/theme/style.css +++ b/docs/src/.vitepress/theme/style.css @@ -264,4 +264,18 @@ mjx-container > svg { /* Style for output code blocks */ .language- { background-color: var(--vp-c-bg-output) !important; +} + +/* Component: Docstring Custom Block */ + +.jldocstring.custom-block { + border: 1px solid var(--vp-c-gray-2); + color: var(--vp-c-text-1) +} + +.jldocstring.custom-block summary { + font-weight: 700; + cursor: pointer; + user-select: none; + margin: 0 0 8px; } \ No newline at end of file diff --git a/docs/src/UserGuide/read.md b/docs/src/UserGuide/read.md index 43bd7164..9b621219 100644 --- a/docs/src/UserGuide/read.md +++ b/docs/src/UserGuide/read.md @@ -53,6 +53,6 @@ using ArchGDAL using Downloads: download path = download("https://github.com/yeesian/ArchGDALDatasets/raw/307f8f0e584a39a050c042849004e6a2bd674f99/gdalworkshop/world.tif", "world.tif") -# ds = open_dataset(path) # this is broken +ds = open_dataset(path) nothing ```` \ No newline at end of file