forked from JuliaBerry/PiGPIO.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake.jl
More file actions
30 lines (27 loc) · 927 Bytes
/
make.jl
File metadata and controls
30 lines (27 loc) · 927 Bytes
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
using Documenter
using PiGPIO
using Literate
Literate.markdown(joinpath(@__DIR__, "..", "examples", "01_blink.jl"), joinpath(@__DIR__, "src", "examples"))
Literate.markdown(joinpath(@__DIR__, "..", "examples", "02_blink_twice.jl"),joinpath(@__DIR__, "src", "examples"))
Literate.markdown(joinpath(@__DIR__, "..", "examples", "03_rgb.jl"), joinpath(@__DIR__, "src", "examples"))
makedocs(
sitename = "PiGPIO",
format = Documenter.HTML(),
modules = [PiGPIO],
# examples need to be run on a Raspberry Pi
doctest = false,
draft = true,
pages = [
"index.md",
"Tutorial" => "tutorial.md",
"API Docs" => "api.md",
"Examples" => [
"Blink Once" => "examples/01_blink.md",
"Blink Twice" => "examples/02_blink_twice.md",
"Red-Green-Blue" => "examples/03_rgb.md"
]
]
)
deploydocs(;
repo="github.com/JuliaBerry/PiGPIO.jl",
)