-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmake.jl
67 lines (63 loc) · 2.61 KB
/
make.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
using Revise # for interactive work on docs
push!(LOAD_PATH,"../src/")
using Documenter
using DocumenterCitations, DocumenterMermaid
using QuantumSavory
using QuantumSavory.StatesZoo, QuantumSavory.ProtocolZoo, QuantumSavory.CircuitZoo
using QuantumInterface
DocMeta.setdocmeta!(QuantumSavory, :DocTestSetup, :(using QuantumSavory, QuantumSavory.StatesZoo, QuantumSavory.ProtocolZoo, QuantumSavory.CircuitZoo); recursive=true)
function main()
bib = CitationBibliography(joinpath(@__DIR__,"src/references.bib"), style=:authoryear)
makedocs(
plugins = [bib],
doctest = false,
clean = true,
warnonly = [:missing_docs],
sitename = "QuantumSavory.jl",
format = Documenter.HTML(
assets=["assets/custom.css"]
),
modules = [QuantumSavory, QuantumSavory.StatesZoo, QuantumSavory.ProtocolZoo, QuantumSavory.CircuitZoo, QuantumInterface],
authors = "Stefan Krastanov",
pages = [
"QuantumSavory.jl" => "index.md",
"Getting Started Manual" => "manual.md",
"Explanations" => [
"explanations.md",
"Register Interface" => "register_interface.md",
"Properties and Backgrounds" => "propbackgrounds.md",
"Symbolic Expressions" => "symbolics.md",
"Tagging and Querying" => "tag_query.md",
"Visualizations" => "visualizations.md",
],
"How-To Guides" => [
"howto.md",
"1st-gen Repeater - low level implementation" => "howto/firstgenrepeater/firstgenrepeater.md",
"1st-gen Repeater - Clifford formalism" => "howto/firstgenrepeater/firstgenrepeater-clifford.md",
"1st-gen Repeater - simpler implementation" => "howto/firstgenrepeater_v2/firstgenrepeater_v2.md",
"Congestion on a Repeater Chain" => "howto/congestionchain/congestionchain.md",
"Cluster States in Atomic Memories" => "howto/colorcentermodularcluster/colorcentermodularcluster.md",
"Entanglement Switch" => "howto/simpleswitch/simpleswitch.md",
],
"Tutorials" => [
"tutorial.md",
"Gate Duration" => "tutorial/noninstantgate.md",
"State Explorer" => "tutorial/state_explorer.md",
#"Message queues" => "tutorial/message_queues.md", TODO
#"Depolarization and Pauli Noise" => "tutorial/depolarization_and_pauli.md", TODO
],
"References" => [
"references.md",
"API" => "API.md",
"CircuitZoo API" => "API_CircuitZoo.md",
"StatesZoo API" => "API_StatesZoo.md",
"ProtocolZoo API" => "API_ProtocolZoo.md",
"Bibliography" => "bibliography.md",
],
]
)
deploydocs(
repo = "github.com/QuantumSavory/QuantumSavory.jl.git"
)
end
main()