Skip to content

Commit e37beaa

Browse files
JuliaBUGS: update Documeter version (#378)
Monorepo packages are prefixed with folder name so tag documentation build requires `tag_prefix` but it is not supported by old Documenter.jl versions. https://github.com/TuringLang/JuliaBUGS.jl/blob/d032e614af5c2bfa8abf603ab8b03294754c5d1b/.github/workflows/Docs.yml#L41 Now the issues is that new Documenter.jl version is causing docs failure because we are calling Julia standard library functions in docs (I am not sure of this), I am assuming it looking at these functions https://github.com/TuringLang/JuliaBUGS.jl/blob/d032e614af5c2bfa8abf603ab8b03294754c5d1b/JuliaBUGS/docs/src/api/functions.md?plain=1#L10C1-L31C1
1 parent 977711a commit e37beaa

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/Docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- 'JuliaBUGS/docs/**'
1515
- 'JuliaBUGS/src/**'
1616
- '.github/workflows/Docs.yml'
17+
workflow_dispatch:
1718

1819
concurrency:
1920
# Skip intermediate builds: always.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*.jl.*.cov
44

55
# Documentation build artifacts
6-
docs/build/
7-
docs/site/
6+
JuliaBUGS/docs/build/
7+
JuliaBUGS/docs/site/
88

99
# Julia dependency lockfile - auto-generated
1010
Manifest.toml

JuliaBUGS/docs/Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
JuliaBUGS = "ba9fb4c0-828e-4473-b6a1-cd2560fee5bf"
34
MetaGraphsNext = "fa8bd995-216d-47f1-8a91-f3b68fbeb377"
45

56
[compat]
6-
Documenter = "0.27"
7+
Documenter = "1.14"

JuliaBUGS/docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using JuliaBUGS.BUGSPrimitives
55

66
makedocs(;
77
sitename="JuliaBUGS.jl",
8+
warnonly=[:cross_references, :doctest],
89
pages=[
910
"Home" => "index.md",
1011
"Example" => "example.md",

0 commit comments

Comments
 (0)