Skip to content

Commit

Permalink
Merge pull request #851 from stan-dev/other-docs-new-tab
Browse files Browse the repository at this point in the history
Open links to docs hosted elsewhere in new tabs
  • Loading branch information
WardBrian authored Jan 15, 2025
2 parents 1eb5a51 + 538e76c commit 2c3c942
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions extract_function_sigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
import contextlib
import subprocess


if "functions-reference" not in os.getenv("QUARTO_PROJECT_INPUT_FILES", "").replace("functions-reference/functions_index.qmd", ""):
print("Functions reference didn't change, skipping index update")
exit(0)

@contextlib.contextmanager
def pushd(new_dir):
previous_dir = os.getcwd()
Expand Down
16 changes: 15 additions & 1 deletion src/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,34 +57,48 @@ website:
href: cmdstan-guide/index.qmd
- text: "CmdStanPy"
url: https://mc-stan.org/cmdstanpy
target: "_blank"
- text: "CmdStanR"
url: https://mc-stan.org/cmdstanr
target: "_blank"
- text: "PyStan"
url: https://mc-stan.org/users/interfaces/pystan.html
url: https://pystan.readthedocs.io/en/latest/
target: "_blank"
- text: "RStan"
url: https://mc-stan.org/rstan
target: "_blank"
- text: "Stan.jl"
url: http://stanjulia.github.io/Stan.jl/stable/INTRO/
target: "_blank"
- text: "Other Packages"
menu:
- text: "bayesplot"
href: https://mc-stan.org/bayesplot/
target: "_blank"
- text: "BridgeStan"
href: https://roualdes.github.io/bridgestan/latest/
target: "_blank"
- text: "brms"
url: https://paul-buerkner.github.io/brms/
target: "_blank"
- text: "loo"
href: https://mc-stan.org/loo/
target: "_blank"
- text: "posterior"
url: https://mc-stan.org/posterior
target: "_blank"
- text: "projpred"
url: https://mc-stan.org/projpred
target: "_blank"
- text: "rstanarm"
url: https://mc-stan.org/rstanarm
target: "_blank"
- text: "rstantools"
url: https://mc-stan.org/rstantools
target: "_blank"
- text: "shinystan"
url: https://mc-stan.org/shinystan
target: "_blank"


tools:
Expand Down

0 comments on commit 2c3c942

Please sign in to comment.