Skip to content

Commit d77cf7f

Browse files
committed
Typos
1 parent fdf47f1 commit d77cf7f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/inventory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inventory = Inventory(; project, version="", root_url="", items=[])
2626
```
2727
2828
with a mandatory `project` argument instantiates an `inventory` with the
29-
[`IventoryItems`](@ref InventoryItem) in `items`. If `items` is not given, the
29+
[`InventoryItems`](@ref InventoryItem) in `items`. If `items` is not given, the
3030
resulting empty `inventory` can have [`InventoryItems`](@ref InventoryItem)
3131
added afterwards via [`push!`](@extref Julia Base.push!).
3232

src/inventory_item.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For convenience, an `InventoryItem` can also be instantiated from a mapping
1818
[cross-referencing syntax](@extref sphinx usage/referencing):
1919
2020
```julia
21-
item = IventoryItem(
21+
item = InventoryItem(
2222
":domain:role:`name`" => uri;
2323
dispname=<name>,
2424
priority=(<domain == "std" ? -1 : 1>)
@@ -30,7 +30,7 @@ for `role="label"` or `role="doc"`, and `"jl"` otherwise. The `role` is
3030
mandatory for code objects. For non-code objects,
3131
3232
```julia
33-
item = IventoryItem(
33+
item = InventoryItem(
3434
"title" => uri;
3535
dispname=<title>,
3636
priority=-1
@@ -39,7 +39,7 @@ item = IventoryItem(
3939
4040
indicates a link to a section header in the documentation of a project. The
4141
`name` will be a sluggified version of the title, making the `item` equivalent
42-
to ```item = IventoryItem(":std:label:`name`" => uri; dispname=title,
42+
to ```item = InventoryItem(":std:label:`name`" => uri; dispname=title,
4343
priority=-1)```.
4444
4545
# Attributes

test/test_inventory_item.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ using IOCapture: IOCapture
9090
end
9191

9292

93-
@testset "IventoryItem on 32-bit" begin
93+
@testset "InventoryItem on 32-bit" begin
9494
item = InventoryItem("f" => "#f"; priority=Int32(1))
9595
@test item.priority == 1
9696
item = InventoryItem("f" => "#f"; priority=Int64(1))
@@ -104,7 +104,7 @@ end
104104
end
105105

106106

107-
@testset "invalid IventoryItem" begin
107+
@testset "invalid InventoryItem" begin
108108
@test_throws ArgumentError begin
109109
InventoryItem(
110110
"`makedocs`" => "https://documenter.juliadocs.org/stable/lib/public/#Documenter.makedocs"

0 commit comments

Comments
 (0)