Skip to content

Commit

Permalink
more fixes to doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Dec 20, 2023
1 parent 350449b commit b245fac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Bravais/src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ end

# ---------------------------------------------------------------------------------------- #

"""
AbstractPoint{D, T} <: StaticVector{D, T}
Abstract supertype of a `D`-dimensional point with elements of type `T`.
"""
abstract type AbstractPoint{D, T} <: StaticVector{D, T} end

parent(p::AbstractPoint) = p.v
Expand Down
9 changes: 8 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ makedocs(
"Lattices" => "lattices.md",
"API" => "api.md",
"Internal API" => "internal-api.md",
]
],
warnonly = Documenter.except(
:autodocs_block, :cross_references, :docs_block, :doctest, :eval_block,
:example_block, :footnote, :linkcheck_remotes, :linkcheck, :meta_block,
:parse_error, :setup_block,
#:missing_docs # necessary due to docstrings from SmithNormalForm vendoring :(
),
clean = true
)

# Documenter can also automatically deploy documentation to gh-pages.
Expand Down
5 changes: 1 addition & 4 deletions docs/src/bravais.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ reciprocalbasis
### Transformations
```@docs
primitivebasismatrix
transform(::DirectBasis, ::AbstractMatrix{<:Real})
transform(::ReciprocalBasis, ::AbstractMatrix{<:Real})
transform(::DirectPoint, ::AbstractMatrix{<:Real})
transform(::ReciprocalPoint, ::AbstractMatrix{<:Real})
transform
primitivize(::Union{AbstractBasis, AbstractPoint}, ::Union{Char, <:Integer})
primitivize(::DirectBasis, ::Union{Char, <:Integer})
primitivize(::ReciprocalBasis, ::Union{Char, <:Integer})
Expand Down

0 comments on commit b245fac

Please sign in to comment.