-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathmake.jl
26 lines (23 loc) · 880 Bytes
/
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
using Documenter, PythonCall
include("customdocs.jl")
makedocs(
sitename = "PythonCall & JuliaCall",
modules = [PythonCall],
format = Documenter.HTML(assets = ["assets/favicon.ico"]),
warnonly = [:missing_docs], # avoid raising error when docs are missing
pages = [
"Home" => "index.md",
"The Julia module PythonCall" =>
["Guide" => "pythoncall.md", "Reference" => "pythoncall-reference.md"],
"The Python module JuliaCall" =>
["Guide" => "juliacall.md", "Reference" => "juliacall-reference.md"],
"Conversion" => [
"Julia to Python" => "conversion-to-python.md",
"Python to Julia" => "conversion-to-julia.md",
],
"compat.md",
"faq.md",
"releasenotes.md",
],
)
deploydocs(repo = raw"github.com/JuliaPy/PythonCall.jl.git", push_preview = true)