From e61d32e81261432a83629b9032012df37ca56bc7 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Wed, 10 Jan 2024 16:40:39 +0900 Subject: [PATCH 1/5] update the Documenter compat --- docs/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Project.toml b/docs/Project.toml index ebe348a76b..f6a9f940ec 100755 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -11,4 +11,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] -Documenter = "0.27" +Documenter = "1" From 9dd83d5b21c09561c66b0a237ae74d35564d25c4 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Wed, 10 Jan 2024 16:40:58 +0900 Subject: [PATCH 2/5] update docs/make.jl for Documenter v1 --- docs/make.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index fa64782dac..a5d5a4f4e3 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -16,7 +16,8 @@ makedocs( format = Documenter.HTML( canonical = "https://juliadata.github.io/DataFrames.jl/stable/", assets = ["assets/favicon.ico"], - edit_link = "main" + edit_link = "main", + size_threshold_ignore = ["man/basics.md", "lib/functions.md"], ), pages = Any[ "Introduction" => "index.md", @@ -42,11 +43,10 @@ makedocs( hide("Internals" => "lib/internals.md"), ] ], - strict = true ) -# Deploy built documentation from Travis. -# ======================================= +# Deploy built documentation. +# =========================== deploydocs( # options From ba809070347f99757b6b9a119a41880974492aaa Mon Sep 17 00:00:00 2001 From: hyrodium Date: Wed, 10 Jan 2024 16:41:54 +0900 Subject: [PATCH 3/5] update jldoctest for Julia v1.10 --- docs/src/man/getting_started.md | 4 ++-- src/abstractdataframe/iteration.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/man/getting_started.md b/docs/src/man/getting_started.md index 7e1194f565..b13b6b1efc 100644 --- a/docs/src/man/getting_started.md +++ b/docs/src/man/getting_started.md @@ -443,7 +443,7 @@ A particular common case of a collection that supports the a vector of `NamedTuple`s: ```jldoctest dataframe julia> v = [(a=1, b=2), (a=3, b=4)] -2-element Vector{NamedTuple{(:a, :b), Tuple{Int64, Int64}}}: +2-element Vector{@NamedTuple{a::Int64, b::Int64}}: (a = 1, b = 2) (a = 3, b = 4) @@ -460,7 +460,7 @@ You can also easily convert a data frame back to a vector of `NamedTuple`s: julia> using Tables julia> Tables.rowtable(df) -2-element Vector{NamedTuple{(:a, :b), Tuple{Int64, Int64}}}: +2-element Vector{@NamedTuple{a::Int64, b::Int64}}: (a = 1, b = 2) (a = 3, b = 4) ``` diff --git a/src/abstractdataframe/iteration.jl b/src/abstractdataframe/iteration.jl index 6f6abc6208..22589d3c87 100644 --- a/src/abstractdataframe/iteration.jl +++ b/src/abstractdataframe/iteration.jl @@ -57,7 +57,7 @@ julia> eachrow(df) 4 │ 4 14 julia> copy.(eachrow(df)) -4-element Vector{NamedTuple{(:x, :y), Tuple{Int64, Int64}}}: +4-element Vector{@NamedTuple{x::Int64, y::Int64}}: (x = 1, y = 11) (x = 2, y = 12) (x = 3, y = 13) From 66e6e265ffb4ecbd844799896b01cd20b48d2a42 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Wed, 10 Jan 2024 21:42:45 +0900 Subject: [PATCH 4/5] add julia compat for docs/Project.toml --- docs/Project.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Project.toml b/docs/Project.toml index f6a9f940ec..677a81cdb6 100755 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -12,3 +12,4 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] Documenter = "1" +julia = "1.10" # For jldoctest From 86d2eacf86422fe9f3f2b86fa0a0db163dd1c667 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Tue, 16 Jan 2024 20:54:02 +0900 Subject: [PATCH 5/5] Try removing julia compat in docs/Project.toml and check v1.10 will be used in CI --- docs/Project.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/Project.toml b/docs/Project.toml index 677a81cdb6..f6a9f940ec 100755 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -12,4 +12,3 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] Documenter = "1" -julia = "1.10" # For jldoctest