Skip to content

Commit 7c5febd

Browse files
authored
Update for Documenter.jl v1 (JuliaArrays#1211)
* update the version of Documenter.jl * fix doctests
1 parent d80455d commit 7c5febd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
44

55
[compat]
6-
Documenter = "~0.27"
6+
Documenter = "1"

src/deque.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Return a new `StaticVector` with `item` inserted on the end of `vec`.
66
# Examples
77
```jldoctest
88
julia> push(@SVector[1, 2, 3], 4)
9-
4-element SArray{Tuple{4},Int64,1,4} with indices SOneTo(4):
9+
4-element SVector{4, Int64} with indices SOneTo(4):
1010
1
1111
2
1212
3
@@ -31,7 +31,7 @@ Return a new `StaticVector` with `item` inserted at the beginning of `vec`.
3131
# Examples
3232
```jldoctest
3333
julia> pushfirst(@SVector[1, 2, 3, 4], 5)
34-
5-element SArray{Tuple{5},Int64,1,5} with indices SOneTo(5):
34+
5-element SVector{5, Int64} with indices SOneTo(5):
3535
5
3636
1
3737
2
@@ -57,7 +57,7 @@ Return a new vector with `item` inserted into `vec` at the given `index`.
5757
# Examples
5858
```jldoctest
5959
julia> insert(@SVector[6, 5, 4, 2, 1], 4, 3)
60-
6-element SArray{Tuple{6},Int64,1,6} with indices SOneTo(6):
60+
6-element SVector{6, Int64} with indices SOneTo(6):
6161
6
6262
5
6363
4
@@ -89,7 +89,7 @@ Return a new vector with the last item in `vec` removed.
8989
# Examples
9090
```jldoctest
9191
julia> pop(@SVector[1,2,3])
92-
2-element SArray{Tuple{2},Int64,1,2} with indices SOneTo(2):
92+
2-element SVector{2, Int64} with indices SOneTo(2):
9393
1
9494
2
9595
```
@@ -112,7 +112,7 @@ Return a new vector with the first item in `vec` removed.
112112
# Examples
113113
```jldoctest
114114
julia> popfirst(@SVector[1,2,3])
115-
2-element SArray{Tuple{2},Int64,1,2} with indices SOneTo(2):
115+
2-element SVector{2, Int64} with indices SOneTo(2):
116116
2
117117
3
118118
```
@@ -135,7 +135,7 @@ Return a new vector with the item at the given `index` removed.
135135
# Examples
136136
```jldoctest
137137
julia> deleteat(@SVector[6, 5, 4, 3, 2, 1], 2)
138-
5-element SArray{Tuple{5},Int64,1,5} with indices SOneTo(5):
138+
5-element SVector{5, Int64} with indices SOneTo(5):
139139
6
140140
4
141141
3
@@ -171,13 +171,13 @@ Return a new array with the item at `index` replaced by `x`.
171171
# Examples
172172
```jldoctest
173173
julia> setindex(@SVector[1,2,3], 4, 2)
174-
3-element SArray{Tuple{3},Int64,1,3} with indices SOneTo(3):
174+
3-element SVector{3, Int64} with indices SOneTo(3):
175175
1
176176
4
177177
3
178178
179179
julia> setindex(@SMatrix[2 4; 6 8], 1, 2)
180-
2×2 SArray{Tuple{2,2},Int64,2,4} with indices SOneTo(2)×SOneTo(2):
180+
2×2 SMatrix{2, 2, Int64, 4} with indices SOneTo(2)×SOneTo(2):
181181
2 4
182182
1 8
183183
```

0 commit comments

Comments
 (0)