-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathmake.jl
More file actions
32 lines (28 loc) · 1.11 KB
/
make.jl
File metadata and controls
32 lines (28 loc) · 1.11 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
using Documenter, PythonCall
include("customdocs.jl")
# include the changelog in the docs (called release notes there)
changelog = read("CHANGELOG.md", String)
changelog = replace(changelog, "# Changelog" => "# Release Notes")
write("docs/src/releasenotes.md", changelog)
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",
"v1-migration-guide.md",
],
)
deploydocs(repo = raw"github.com/JuliaPy/PythonCall.jl.git", push_preview = true)