Skip to content

Commit e874799

Browse files
committed
Started work on moving to new theme
1 parent aabb521 commit e874799

File tree

3 files changed

+157
-1
lines changed

3 files changed

+157
-1
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib actions#where-to-find-help
3+
on:
4+
pull_request:
5+
# build dev site on merged pushes
6+
push:
7+
branches: [main, master]
8+
# build full site on releases
9+
release:
10+
types: [published]
11+
workflow_dispatch:
12+
13+
name: pkgdown.yaml
14+
15+
jobs:
16+
pkgdown:
17+
runs-on: ubuntu-latest
18+
# Only restrict concurrency for non-PR jobs
19+
concurrency:
20+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+
cancel-in-progress: true
22+
env:
23+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
24+
permissions:
25+
contents: write
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: r-lib/actions/setup-pandoc@v2
30+
31+
- uses: r-lib/actions/setup-r@v2
32+
with:
33+
use-public-rspm: true
34+
35+
- uses: r-lib/actions/setup-r-dependencies@v2
36+
with:
37+
extra-packages: any::pkgdown, local::., stan-dev/pkgdown-config
38+
39+
- name: Build site
40+
run: |
41+
pkgdown::build_site_github_pages(
42+
lazy = FALSE, # change to TRUE if runner times out.
43+
run_dont_run = TRUE,
44+
new_process = TRUE
45+
)
46+
shell: Rscript {0}
47+
48+
- name: Deploy to GitHub pages 🚀
49+
uses: JamesIves/github-pages-deploy-action@v4
50+
with:
51+
clean: false
52+
branch: gh-pages
53+
folder: docs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rstanarm <img src="man/figures/stanlogo.png" align="right" width="120" />
1+
# rstanarm <img src="man/figures/logo.svg" align="right" width="120" />
22

33
<!-- badges: start -->
44
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/rstanarm?color=blue)](https://cran.r-project.org/package=rstanarm)

_pkgdown.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
url: https://mc-stan.org/rstanarm
2+
3+
destination: "."
4+
5+
template:
6+
package: pkgdownconfig
7+
8+
navbar:
9+
title: "rstanarm"
10+
11+
structure:
12+
left: [home, vignettes, functions, news, pkgs, stan]
13+
right: [search, bluesky, forum, github, lightswitch]
14+
15+
components:
16+
pkgs:
17+
text: Other Packages
18+
menu:
19+
- text: bayesplot
20+
href: https://mc-stan.org/bayesplot
21+
- text: cmdstanr
22+
href: https://mc-stan.org/cmdstanr
23+
- text: loo
24+
href: https://mc-stan.org/loo
25+
- text: posterior
26+
href: https://mc-stan.org/posterior
27+
- text: projpred
28+
href: https://mc-stan.org/projpred
29+
- text: rstan
30+
href: https://mc-stan.org/rstan
31+
- text: rstantools
32+
href: https://mc-stan.org/rstantools
33+
- text: shinystan
34+
href: https://mc-stan.org/shinystan
35+
36+
articles:
37+
- title: "Getting Started"
38+
desc: >
39+
These vignettes provide a preliminary introduction to rstanarm and
40+
discuss the prior distributions available.
41+
contents:
42+
- rstanarm
43+
- priors
44+
- title: "Modeling functions"
45+
desc: >
46+
These vignettes provide instructions on how to use the modeling
47+
functions in rstanarm.
48+
contents:
49+
- binomial
50+
- count
51+
- continuous
52+
- aov
53+
- lm
54+
- betareg
55+
- polr
56+
- glmer
57+
- jm
58+
- title: "Additional tutorials on specific modeling techniques and applications"
59+
desc: >
60+
These vignettes provide additional tutorials on using rstanarm
61+
for specific purposes once you are comfortable using the package
62+
in general.
63+
contents:
64+
- mrp
65+
- pooling
66+
- ab-testing
67+
68+
reference:
69+
- title: "About rstanarm"
70+
desc: >
71+
These pages provides a summary of the functionality available in rstanarm.
72+
contents:
73+
- rstanarm-package
74+
- available-models
75+
- available-algorithms
76+
- title: "Fitting models"
77+
desc: >
78+
Functions for model fitting.
79+
contents:
80+
- starts_with("stan_")
81+
- priors
82+
- title: "Methods"
83+
desc: >
84+
Functions to work with fitted model objects.
85+
contents:
86+
- stanreg-objects
87+
- ends_with("stanreg")
88+
- starts_with("posterior_")
89+
- ps_check
90+
- ends_with("stanmvreg")
91+
- ends_with("stanjm")
92+
- title: "Additional documentation"
93+
desc: >
94+
Misc. other help pages.
95+
contents:
96+
- rstanarm-datasets
97+
- example_model
98+
- example_jm
99+
- stanreg_list
100+
- adapt_delta
101+
- QR-argument
102+
- neg_binomial_2
103+
- rstanarm-deprecated

0 commit comments

Comments
 (0)