diff --git a/docs/Project.toml b/docs/Project.toml index ebe348a76..f6a9f940e 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" diff --git a/docs/make.jl b/docs/make.jl index fa64782da..a5d5a4f4e 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 diff --git a/docs/src/man/getting_started.md b/docs/src/man/getting_started.md index 7e1194f56..b13b6b1ef 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 6f6abc620..22589d3c8 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)