Skip to content

Commit ebdcf92

Browse files
committed
Merge branch 'main' into dependabot/github_actions/actions/checkout-5
2 parents 6a0031e + f076f24 commit ebdcf92

18 files changed

Lines changed: 2867 additions & 21 deletions

.github/workflows/CI.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
tags: ['*']
7+
tags:
8+
- v**
89
pull_request:
910
workflow_dispatch:
1011
concurrency:
@@ -64,7 +65,7 @@ jobs:
6465
- uses: actions/checkout@v5
6566
- uses: julia-actions/setup-julia@v2
6667
with:
67-
version: '1'
68+
version: '1.11'
6869
- uses: julia-actions/cache@v2
6970
- name: Configure doc environment
7071
shell: julia --project=docs --color=yes {0}

Makefile

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
.PHONY: help docs docs-serve docs-clean test format check-format clean deps deps-docs deps-scripts benchmark benchmark-compare
2+
3+
4+
DOCSRC = docs
5+
DOCTARGET = $(DOCSRC)/build
6+
7+
JULIA ?= julia
8+
JULIAFLAGS ?= --project=.
9+
JULIAFLAGSDOCS ?= --project=$(DOCSRC)
10+
11+
# Colors for terminal output
12+
ifdef NO_COLOR
13+
GREEN :=
14+
YELLOW :=
15+
WHITE :=
16+
RESET :=
17+
else
18+
GREEN := $(shell tput -Txterm setaf 2)
19+
YELLOW := $(shell tput -Txterm setaf 3)
20+
WHITE := $(shell tput -Txterm setaf 7)
21+
RESET := $(shell tput -Txterm sgr0)
22+
endif
23+
24+
# Default target
25+
.DEFAULT_GOAL := help
26+
27+
## Show help for each of the Makefile targets
28+
help:
29+
@echo ''
30+
@echo 'PLACEHOLDERNAME_CHANGE_MAKEFILE_LINE_22.jl Makefile ${YELLOW}targets${RESET}:'
31+
@echo ''
32+
@echo '${GREEN}Documentation commands:${RESET}'
33+
@echo ' ${YELLOW}docs${RESET} Build the documentation'
34+
@echo ' ${YELLOW}docs-init${RESET} Install documentation requirements'
35+
@echo ' ${YELLOW}docs-serve${RESET} Serve documentation locally for preview in browser'
36+
@echo ' ${YELLOW}docs-clean${RESET} Clean the documentation build directory'
37+
@echo ''
38+
@echo '${GREEN}Development commands:${RESET}'
39+
@echo ' ${YELLOW}deps${RESET} Install project dependencies'
40+
@echo ' ${YELLOW}deps-docs${RESET} Install documentation dependencies'
41+
@echo ' ${YELLOW}test${RESET} Run project tests'
42+
@echo ' ${YELLOW}clean${RESET} Clean all generated files'
43+
@echo ''
44+
@echo '${GREEN}Help:${RESET}'
45+
@echo ' ${YELLOW}help${RESET} Show this help message'
46+
@echo ''
47+
@echo '${GREEN}Environment variables:${RESET}'
48+
@echo ' ${YELLOW}NO_COLOR${RESET} Set this variable to any value to disable colored output'
49+
@echo ''
50+
51+
## Documentation commands:
52+
docs: deps-docs ## Build the documentation
53+
$(JULIA) $(JULIAFLAGSDOCS) docs/make.jl
54+
55+
docs-init: deps-docs ## Serve documentation locally for preview in browser
56+
$(JULIA) $(JULIAFLAGSDOCS) -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
57+
58+
docs-serve: deps-docs ## Serve documentation locally for preview in browser
59+
$(JULIA) $(JULIAFLAGSDOCS) -e 'using LiveServer; LiveServer.servedocs(launch_browser=true, port=5678)'
60+
61+
docs-clean: ## Clean the documentation build directory
62+
rm -rf $(DOCTARGET)
63+
64+
## Development commands:
65+
deps: ## Install project dependencies
66+
$(JULIA) $(JULIAFLAGS) -e 'using Pkg; Pkg.instantiate()'
67+
68+
deps-docs: ## Install documentation dependencies
69+
$(JULIA) $(JULIAFLAGSDOCS) -e 'using Pkg; Pkg.develop(path="."); Pkg.instantiate()'
70+
71+
test: deps ## Run project tests
72+
$(JULIA) $(JULIAFLAGS) -e 'using Pkg; Pkg.test(test_args = split("$(test_args)") .|> string)'
73+
74+
clean: docs-clean ## Clean all generated files
75+
rm -rf .julia/compiled

Project.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ExponentialFamilyProjection"
22
uuid = "17f509fa-9a96-44ba-99b2-1c5f01f0931b"
33
authors = ["Mykola Lukashchuk <m.lukashchuk@tue.nl>", "Dmitry Bagaev <bvdmitri@gmail.com>", "Albert Podusenko <albert@lazydynamics.com>"]
4-
version = "3.0.1"
4+
version = "3.1.1"
55

66
[deps]
77
BayesBase = "b4ee3484-f114-42fe-b91c-797d54a0c67e"
@@ -27,13 +27,13 @@ BayesBase = "1.5.0"
2727
Bumper = "0.6"
2828
Distributions = "0.25"
2929
ExponentialFamily = "2.0.0"
30-
ExponentialFamilyManifolds = "3.0.0"
30+
ExponentialFamilyManifolds = "3.0.2"
3131
FastCholesky = "1.3"
3232
FillArrays = "1"
33-
ForwardDiff = "0.10.36"
33+
ForwardDiff = "0.10.36, 1"
3434
LinearAlgebra = "1.10"
35-
Manifolds = "0.10"
36-
ManifoldsBase = "1"
35+
Manifolds = "0.11"
36+
ManifoldsBase = "2"
3737
Manopt = "0.5"
3838
Random = "1.10"
3939
RecursiveArrayTools = "3.2"
@@ -50,10 +50,11 @@ ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
5050
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
5151
Manifolds = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e"
5252
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
53+
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
5354
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
5455
RollingFunctions = "b0e4dd01-7b14-53d8-9b45-175a3e362653"
5556
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
5657
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5758

5859
[targets]
59-
test = ["Test", "Aqua", "BenchmarkTools", "Plots", "ForwardDiff", "Manifolds", "ReTestItems", "RollingFunctions", "JET", "StableRNGs"]
60+
test = ["Test", "Aqua", "BenchmarkTools", "Plots", "Printf", "ForwardDiff", "Manifolds", "ReTestItems", "RollingFunctions", "JET", "StableRNGs"]

docs/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[deps]
22
BayesBase = "b4ee3484-f114-42fe-b91c-797d54a0c67e"
3+
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
34
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
45
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
6+
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
57
ExponentialFamily = "62312e5e-252a-4322-ace9-a5f4bf9b357b"
68
ExponentialFamilyManifolds = "5c9727c4-3b82-4ab3-b165-76e2eb971b08"
79
ExponentialFamilyProjection = "17f509fa-9a96-44ba-99b2-1c5f01f0931b"
10+
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
811
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
912
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
13+
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"

docs/make.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ makedocs(;
1616
canonical = "https://reactivebayes.github.io/ExponentialFamilyProjection.jl",
1717
edit_link = "main",
1818
assets = String[],
19-
repolink="github.com/ReactiveBayes/ExponentialFamilyProjection.jl",
19+
repolink="https://github.com/ReactiveBayes/ExponentialFamilyProjection.jl"
2020
),
2121
pages = ["Home" => "index.md"],
22-
repo = "github.com/ReactiveBayes/ExponentialFamilyProjection.jl",
2322
)
2423

2524
deploydocs(;

0 commit comments

Comments
 (0)