Skip to content

Commit ea89024

Browse files
committed
Don't error for missing docs in docs build
1 parent 27bd715 commit ea89024

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ makedocs(;
1313
canonical="https://ITensor.github.io/ITensors.jl", edit_link="main", assets=String[]
1414
),
1515
pages=["Home" => "index.md"],
16+
warnonly=Documenter.except(:missing_docs),
1617
)
1718

1819
deploydocs(; repo="github.com/ITensor/ITensors.jl", devbranch="main", push_preview=true)

src/SiteTypes/sitetype.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
using ChainRulesCore: @ignore_derivatives
22
using ..ITensors:
3-
ITensors, Index, ITensor, itensor, addtags, dag, onehot, prime, product, swapprime, tags
3+
ITensors, Index, ITensor, itensor, addtags, dag, onehot, prime, swapprime, tags
4+
5+
# TODO: Need to define.
6+
# using ..ITensors: product
47

58
@eval struct SiteType{T}
69
(f::Type{<:SiteType})() = $(Expr(:new, :f))

0 commit comments

Comments
 (0)