Skip to content

Commit

Permalink
Update for Documenter.jl v1 and Julia v1.10 (#3416)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium authored Jan 19, 2024
1 parent 3e29027 commit d45c99a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"

[compat]
Documenter = "0.27"
Documenter = "1"
8 changes: 4 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -42,11 +43,10 @@ makedocs(
hide("Internals" => "lib/internals.md"),
]
],
strict = true
)

# Deploy built documentation from Travis.
# =======================================
# Deploy built documentation.
# ===========================

deploydocs(
# options
Expand Down
4 changes: 2 additions & 2 deletions docs/src/man/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
```
2 changes: 1 addition & 1 deletion src/abstractdataframe/iteration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d45c99a

Please sign in to comment.