Skip to content

Commit

Permalink
Merge branch 'main' into compathelper/new_version/2023-10-08-14-40-41…
Browse files Browse the repository at this point in the history
…-034-01108292635
  • Loading branch information
sethaxen committed Dec 17, 2023
2 parents d3e2a8b + 2cfd6af commit e783bbf
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 17 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- cron: "0 0 * * *"

env:
CMDSTAN_VERSION: "2.25.0"
CMDSTAN_VERSION: "2.33.1"
CMDSTAN_PATH: "${{ GITHUB.WORKSPACE }}/.cmdstan/"
JULIA_NUM_THREADS: 2

Expand All @@ -30,6 +30,12 @@ jobs:
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('docs/CondaPkg.toml') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache CmdStan
id: cache-cmdstan
uses: actions/cache@v2
with:
path: ${{ env.CMDSTAN_PATH }}
key: cmdstan-${{ env.CMDSTAN_VERSION }}-${{ runner.os }}
- name: Download and build CmdStan
if: steps.cache-cmdstan.outputs.cache-hit != 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ CairoMakie = "0.8.9, 0.9, 0.10"
DataFrames = "1"
DimensionalData = "0.23, 0.24"
Distributions = "0.25"
Documenter = "0.27"
EvoTrees = "0.14.8, 0.15"
Documenter = "1"
EvoTrees = "0.14.8, 0.15, 0.16"
MCMCDiagnosticTools = "0.3"
MLJBase = "1"
MLJIteration = "0.6"
Expand Down
16 changes: 12 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ doctestfilters = [
r"\s+\"created_at\" => .*", # ignore timestamps in doctests
]

prettyurls = haskey(ENV, "CI")

warnonly = [
:missing_docs, # we don't reexport or document all of MCMCDiagnosticTools
:cross_references, # we reference the pages built by PlutoStaticHTML with pretty relative URLs
:linkcheck, # avoid checking links to pages built with PlutoStaticHTML
]

makedocs(;
modules,
sitename="ArviZ.jl",
Expand All @@ -90,16 +98,16 @@ makedocs(;
],
checkdocs=:exports,
format=Documenter.HTML(;
prettyurls=haskey(ENV, "CI"),
prettyurls,
size_threshold=2 * 10^6, # 2Mb, needed since PlutoStaticHTML embeds images in markdown
assets=["assets/favicon.ico", "assets/custom.css"],
sidebar_sitename=false,
canonical="stable",
analytics="G-W1G68W77YV",
),
doctestfilters,
linkcheck=true,
analytics="G-W1G68W77YV",
# allow linkcheck to fail so we can use pretty links to PlutoStaticHTML notebooks
strict=Documenter.except(:footnote, :linkcheck, :missing_docs),
warnonly,
)

deploydocs(; repo="github.com/arviz-devs/ArviZ.jl.git", devbranch="main", push_preview=true)
12 changes: 6 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ ArviZ.jl is a Julia meta-package for exploratory analysis of Bayesian models.
It is part of the [ArviZ project](https://www.arviz.org/), which also includes a related [Python package](https://python.arviz.org/).

ArviZ consists of and re-exports the following subpackages, along with extensions integrating them with InferenceObjects:
- [InferenceObjects.jl](https://julia.arviz.org/InferenceObjects): a base package implementing the [`InferenceData`](@ref) type with utilities for building, saving, and working with it
- [MCMCDiagnosticTools.jl](https://julia.arviz.org/MCMCDiagnosticTools): diagnostics for Markov Chain Monte Carlo methods
- [PSIS.jl](https://julia.arviz.org/PSIS): Pareto-smoothed importance sampling
- [PosteriorStats.jl](https://julia.arviz.org/PosteriorStats): common statistical analyses for the Bayesian workflow
- [InferenceObjects.jl](https://julia.arviz.org/InferenceObjects/): a base package implementing the [`InferenceData`](@ref) type with utilities for building, saving, and working with it
- [MCMCDiagnosticTools.jl](https://julia.arviz.org/MCMCDiagnosticTools/): diagnostics for Markov Chain Monte Carlo methods
- [PSIS.jl](https://julia.arviz.org/PSIS/): Pareto-smoothed importance sampling
- [PosteriorStats.jl](https://julia.arviz.org/PosteriorStats/): common statistical analyses for the Bayesian workflow

Additional functionality can be loaded with the following packages:
- [ArviZExampleData.jl](https://julia.arviz.org/ArviZExampleData): example `InferenceData` objects, useful for demonstration and testing
- [ArviZPythonPlots.jl](https://julia.arviz.org/ArviZPythonPlots): Python ArviZ's library of plotting functions for Julia types
- [ArviZExampleData.jl](https://julia.arviz.org/ArviZExampleData/): example `InferenceData` objects, useful for demonstration and testing
- [ArviZPythonPlots.jl](https://julia.arviz.org/ArviZPythonPlots/): Python ArviZ's library of plotting functions for Julia types

See the navigation bar for more useful packages.

Expand Down
8 changes: 4 additions & 4 deletions docs/src/quickstart.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### A Pluto.jl notebook ###
# v0.19.16
# v0.19.36

using Markdown
using InteractiveUtils
Expand Down Expand Up @@ -299,14 +299,14 @@ begin
schools_code = """
data {
int<lower=0> J;
real y[J];
real<lower=0> sigma[J];
array[J] real y;
array[J] real<lower=0> sigma;
}
parameters {
real mu;
real<lower=0> tau;
real theta[J];
array[J] real theta;
}
model {
Expand Down

0 comments on commit e783bbf

Please sign in to comment.