Skip to content

Commit 90b2660

Browse files
committed
Add interlinks to referenced packages
1 parent ffcff80 commit 90b2660

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[deps]
22
ArviZExampleData = "2f96bb34-afd9-46ae-bcd0-9b2d4372fe3c"
33
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4+
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"
45
InferenceObjects = "b5cf5a8d-e756-4ee3-b014-01d49d192c00"
56
MCMCDiagnosticTools = "be115224-59cd-429b-ad48-344e309966f0"
67
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
@@ -9,3 +10,4 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
910

1011
[compat]
1112
Documenter = "1"
13+
DocumenterInterLinks = "1"

docs/make.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
using InferenceObjects
22
using Documenter
3+
using DocumenterInterLinks
34
using NCDatasets: NCDatasets # load extension
45

56
DocMeta.setdocmeta!(
67
InferenceObjects, :DocTestSetup, :(using InferenceObjects); recursive=true
78
)
89

10+
links = InterLinks(
11+
"NCDatasets" => "https://alexander-barth.github.io/NCDatasets.jl/stable/",
12+
"PosteriorStats" => "https://julia.arviz.org/PosteriorStats/stable/",
13+
"MCMCDiagnosticTools" => "https://julia.arviz.org/MCMCDiagnosticTools/stable/",
14+
)
15+
916
doctestfilters = [
1017
r"\s+\"created_at\" => .*", # ignore timestamps in doctests
1118
]
@@ -28,6 +35,7 @@ makedocs(;
2835
],
2936
doctestfilters=doctestfilters,
3037
warnonly=:missing_docs,
38+
plugins=[links],
3139
)
3240

3341
# run doctests on extensions

0 commit comments

Comments
 (0)