|
1 | | -using Documenter, MathematicalSystems |
| 1 | +using Documenter, MathematicalSystems, DocumenterCitations |
2 | 2 | import LazySets |
3 | 3 |
|
4 | 4 | DocMeta.setdocmeta!(MathematicalSystems, :DocTestSetup, |
5 | 5 | :(using MathematicalSystems); recursive=true) |
6 | 6 |
|
| 7 | +bib = CitationBibliography(joinpath(@__DIR__, "src", "refs.bib"); style=:alpha) |
| 8 | + |
7 | 9 | makedocs(; sitename="MathematicalSystems.jl", |
8 | 10 | modules=[MathematicalSystems], |
9 | 11 | format=Documenter.HTML(; prettyurls=get(ENV, "CI", nothing) == "true", |
10 | | - assets=["assets/aligned.css"], size_threshold_warn=150 * 2^10), |
| 12 | + assets=["assets/aligned.css", "assets/citations.css"], |
| 13 | + size_threshold_warn=150 * 2^10), |
11 | 14 | pagesonly=true, |
| 15 | + plugins=[bib], |
12 | 16 | pages=["Home" => "index.md", |
13 | 17 | "Manual" => Any["Overview of System Types" => "man/systems.md"], |
14 | 18 | "Library" => Any["Types" => "lib/types.md", |
15 | 19 | "Methods" => "lib/methods.md", |
16 | 20 | "Internals" => "lib/internals.md"], |
| 21 | + "Bibliography" => "bibliography.md", |
17 | 22 | "About" => "about.md"]) |
18 | 23 |
|
19 | 24 | deploydocs(; repo="github.com/JuliaReach/MathematicalSystems.jl.git", |
|
0 commit comments