Skip to content

Commit 879d73a

Browse files
authored
Merge pull request #309 from stan-dev/rely-more-on-pkgdown-config
Updated layout and restrict concurrency on non-pr jobs only
2 parents 240e82e + 3429984 commit 879d73a

File tree

3 files changed

+20
-26
lines changed

3 files changed

+20
-26
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111

1212
name: pkgdown.yaml
1313

14-
concurrency:
15-
group: pages
16-
cancel-in-progress: true
17-
1814
jobs:
1915
pkgdown:
2016
runs-on: ubuntu-latest
17+
# Only restrict concurrency for non-PR jobs
18+
concurrency:
19+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20+
cancel-in-progress: true
2121
env:
2222
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2323
permissions:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# loo <img src="man/figures/stanlogo.png" align="right" width="120" />
1+
# loo <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/loo?color=blue)](https://cran.r-project.org/web/packages/loo)

_pkgdown.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,40 @@
11
url: https://mc-stan.org/loo/
2+
23
destination: "docs/"
4+
35
template:
46
package: pkgdownconfig
7+
58
development:
69
mode: auto
710

811
navbar:
912
title: "loo"
1013

1114
structure:
12-
left: [home, vignettes, functions, pkgs, news, stan]
13-
right: [search, bluesky, twitter, forum, github, lightswitch]
15+
left: [home, vignettes, functions, news, pkgs, stan]
16+
right: [search, bluesky, forum, github, lightswitch]
1417

1518
components:
16-
home:
17-
icon: fa-home fa-lg
18-
href: index.html
19-
vignettes:
20-
text: Vignettes
21-
href: articles/index.html
22-
functions:
23-
text: Functions
24-
href: reference/index.html
2519
pkgs:
2620
text: Other Packages
2721
menu:
28-
- text: rstan
29-
href: https://mc-stan.org/rstan
30-
- text: cmdstanr
31-
href: https://mc-stan.org/cmdstanr
32-
- text: rstanarm
33-
href: https://mc-stan.org/rstanarm
3422
- text: bayesplot
3523
href: https://mc-stan.org/bayesplot
36-
- text: shinystan
37-
href: https://mc-stan.org/shinystan
24+
- text: cmdstanr
25+
href: https://mc-stan.org/cmdstanr
26+
- text: posterior
27+
href: https://mc-stan.org/posterior
3828
- text: projpred
3929
href: https://mc-stan.org/projpred
30+
- text: rstan
31+
href: https://mc-stan.org/rstan
32+
- text: rstanarm
33+
href: https://mc-stan.org/rstanarm
4034
- text: rstantools
4135
href: https://mc-stan.org/rstantools
42-
- text: posterior
43-
href: https://mc-stan.org/posterior
36+
- text: shinystan
37+
href: https://mc-stan.org/shinystan
4438

4539
articles:
4640
- title: Getting started

0 commit comments

Comments
 (0)