Skip to content

Commit 381acf3

Browse files
authored
Merge pull request #154 from sisl/plot_updates
Compat updates + minor documentation changes
2 parents a856e3c + 4985abb commit 381acf3

File tree

7 files changed

+35
-24
lines changed

7 files changed

+35
-24
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ doc/build/
1313
doc/site/
1414
/docs/build/
1515
/.idea/
16+
17+
Manifest.toml

Project.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "BayesNets"
22
uuid = "ba4760a4-c768-5bed-964b-cf806dc591cb"
3-
version = "3.5.0"
3+
version = "3.5.1"
44

55
[deps]
66
CliqueTrees = "60701a23-6482-424a-84db-faee86b9b1f8"
@@ -9,7 +9,6 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
99
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
1010
Discretizers = "6e83dbb3-75ca-525b-8ae2-3751f0dd50b4"
1111
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
12-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
1312
GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231"
1413
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1514
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
@@ -31,8 +30,7 @@ DataFrames = "0.22,1.0,1.1"
3130
DataStructures = "0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18"
3231
Discretizers = "3.0"
3332
Distributions = "0.17,0.18,0.19,0.20,0.21,0.22,0.23,0.24,0.25"
34-
Documenter = "0.26, 0.27"
35-
GraphPlot = "0.5"
33+
GraphPlot = "0.6"
3634
Graphs = "1.0"
3735
IterTools = "1.3"
3836
LightXML = "0.8,0.9"

docs/Project.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[deps]
2+
BayesNets = "ba4760a4-c768-5bed-964b-cf806dc591cb"
3+
Discretizers = "6e83dbb3-75ca-525b-8ae2-3751f0dd50b4"
4+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5+
RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b"
6+
TikzGraphs = "b4f28e30-c73f-5eaf-a395-8a9db949a742"
7+
TikzPictures = "37f6aa50-8035-52d0-81c2-5a1d08754b2d"
8+
9+
[compat]
10+
Documenter = "1"

docs/make.jl

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
1-
push!(LOAD_PATH, "../src")
2-
import Pkg
3-
Pkg.develop(path=".")
4-
Pkg.add("TikzPictures")
5-
Pkg.add("TikzGraphs")
6-
Pkg.add("Documenter")
7-
Pkg.add("Discretizers")
8-
Pkg.add("RDatasets")
91
using Documenter, BayesNets, TikzGraphs, TikzPictures, Discretizers, RDatasets
102

3+
page_order = [
4+
"index.md",
5+
"install.md",
6+
"usage.md",
7+
"concepts.md",
8+
"api.md"
9+
]
10+
1111
makedocs(
12-
modules = [BayesNets, TikzPictures, TikzGraphs, Discretizers, RDatasets],
12+
modules = [BayesNets],
1313
format = Documenter.HTML(
14-
mathengine = Documenter.MathJax2()
14+
mathengine = Documenter.MathJax2(),
15+
size_threshold_ignore=["api.md"]
1516
),
1617
sitename = "BayesNets.jl",
1718
pages = [
18-
"Table of Contents" => [
19-
"index.md",
20-
"install.md",
21-
"usage.md",
22-
"concepts.md"
23-
]
24-
]
19+
"Table of Contents" => page_order
20+
],
21+
warnonly = [:missing_docs]
2522
)
2623

2724
deploydocs(
2825
repo = "github.com/sisl/BayesNets.jl.git",
26+
push_preview=true
2927
)
30-
return true

docs/src/api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# API Documentation
2+
3+
```@autodocs
4+
Modules = [BayesNets, BayesNets.CPDs, BayesNets.CPDs.ProbabilisticGraphicalModels, BayesNets.Tables]
5+
```

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
### Table of Contents
66

77
```@contents
8-
Pages = ["install.md", "usage.md", "concepts.md]
8+
Pages = Main.page_order
99
```

src/learning.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ end
7070
ScoreComponentCache
7171
Used to store scores in a priority queue such that graph search algorithms know
7272
when a particular construction has already been made.
73-
cache[ⱼ](parentsⱼ, score) for the ith variable with parents parents
7473
"""
7574
const ScoreComponentCache = Vector{PriorityQueue{Vector{Int}, Float64}} # parent indeces -> score
7675

0 commit comments

Comments
 (0)