Skip to content

Commit 9714735

Browse files
committed
Update make.jl
1 parent d711baa commit 9714735

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/make.jl

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ makedocs(
77
authors = "xin jing",
88
format = Documenter.HTML(
99
# 启用 pretty URLs,移除 .html 后缀
10-
prettyurls = get(ENV, "CI", nothing) == "true",
10+
prettyurls = false, # 修改这里,禁用 prettyurls
1111
# 设置文档的规范 URL
1212
canonical = "https://chooron.github.io/HydroModels.jl",
1313
# 设置资源文件
1414
assets = ["assets/icons.ico"],
1515
# 配置侧边栏
1616
collapselevel = 2,
17-
sidebar_sitename = true,
18-
# # 添加 favicon
19-
# favicon = "assets/icons.ico"
17+
sidebar_sitename = true
2018
),
2119
# 配置模块
2220
modules = [HydroModels],
@@ -37,5 +35,6 @@ makedocs(
3735
deploydocs(
3836
repo = "github.com/chooron/HydroModels.jl",
3937
devbranch = "main",
40-
push_preview = true
38+
push_preview = true,
39+
target = "build" # 确保这里指定了正确的构建目录
4140
)

0 commit comments

Comments
 (0)