We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d711baa commit 9714735Copy full SHA for 9714735
doc/make.jl
@@ -7,16 +7,14 @@ makedocs(
7
authors = "xin jing",
8
format = Documenter.HTML(
9
# 启用 pretty URLs,移除 .html 后缀
10
- prettyurls = get(ENV, "CI", nothing) == "true",
+ prettyurls = false, # 修改这里,禁用 prettyurls
11
# 设置文档的规范 URL
12
canonical = "https://chooron.github.io/HydroModels.jl",
13
# 设置资源文件
14
assets = ["assets/icons.ico"],
15
# 配置侧边栏
16
collapselevel = 2,
17
- sidebar_sitename = true,
18
- # # 添加 favicon
19
- # favicon = "assets/icons.ico"
+ sidebar_sitename = true
20
),
21
# 配置模块
22
modules = [HydroModels],
@@ -37,5 +35,6 @@ makedocs(
37
35
deploydocs(
38
36
repo = "github.com/chooron/HydroModels.jl",
39
devbranch = "main",
40
- push_preview = true
+ push_preview = true,
+ target = "build" # 确保这里指定了正确的构建目录
41
)
0 commit comments