-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathmake.jl
More file actions
55 lines (51 loc) · 1.79 KB
/
make.jl
File metadata and controls
55 lines (51 loc) · 1.79 KB
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
using ITensorMPS
using ITensors
using Documenter: Documenter, DocMeta, deploydocs, makedocs
DocMeta.setdocmeta!(ITensorMPS, :DocTestSetup, :(using ITensorMPS); recursive=true)
DocMeta.setdocmeta!(ITensors, :DocTestSetup, :(using ITensors); recursive=true)
include("make_index.jl")
makedocs(;
# Allows using ITensors.jl docstrings in ITensorMPS.jl documentation:
# https://github.com/JuliaDocs/Documenter.jl/issues/1734
modules=[ITensorMPS, ITensors],
authors="ITensor developers <support@itensor.org> and contributors",
sitename="ITensorMPS.jl",
format=Documenter.HTML(;
canonical="https://itensor.github.io/ITensorMPS.jl",
edit_link="main",
assets=["assets/favicon.ico"],
prettyurls=false,
),
pages=[
"Home" => "index.md",
"Tutorials" => [
"DMRG" => "tutorials/DMRG.md",
"Quantum Number Conserving DMRG" => "tutorials/QN_DMRG.md",
"MPS Time Evolution" => "tutorials/MPSTimeEvolution.md",
],
"Code Examples" => [
"MPS and MPO Examples" => "examples/MPSandMPO.md",
"DMRG Examples" => "examples/DMRG.md",
"Physics (SiteType) System Examples" => "examples/Physics.md",
],
"Documentation" => [
"MPS and MPO" => "MPSandMPO.md",
"SiteType and op, state, val functions" => "SiteType.md",
"SiteTypes Included with ITensor" => "IncludedSiteTypes.md",
"DMRG" => [
"DMRG.md",
"Sweeps.md",
"ProjMPO.md",
"ProjMPOSum.md",
"Observer.md",
"DMRGObserver.md",
],
"OpSum" => "OpSum.md",
],
"Frequently Asked Questions" =>
["DMRG FAQs" => "faq/DMRG.md", "Quantum Number (QN) FAQs" => "faq/QN.md"],
"HDF5 File Formats" => "HDF5FileFormats.md",
],
warnonly=true,
)
deploydocs(; repo="github.com/ITensor/ITensorMPS.jl", devbranch="main", push_preview=true)