Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update in prep for new website #843

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/quarto-config"]
path = src/quarto-config
url = https://github.com/stan-dev/quarto-config
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ pipeline {
steps{
checkout([$class: 'GitSCM',
branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
extensions: [
submodules: [recursiveSubmodules: true]
],
userRemoteConfigs: [[url: "https://github.com/stan-dev/docs.git", credentialsId: 'a630aebc-6861-4e69-b497-fd7f496ec46b']]]
)

Expand All @@ -59,7 +59,7 @@ pipeline {
rm -rf ./docs/functions-reference ./docs/reference-manual ./docs/stan-users-guide/ ./docs/cmdstan-guide ./docs/img ./docs/site_libs
cp -r ./docs/$major_version"_"$minor_version/* ./docs/
rm ./docs/*.pdf
python3 generate_redirects.py
python3 src/quarto-config/generate_redirects.py redirects.txt --output_dir=.
"""

script {
Expand Down
34 changes: 0 additions & 34 deletions generate_redirects.py

This file was deleted.

15 changes: 8 additions & 7 deletions src/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ website:
navbar:
logo: "img/logo_tm.png"
logo-alt: "Stan logo"
logo-href: https://mc-stan.org/
title: false
left:
- text: "Overview"
- text: "Documentation"
href: index.qmd
- text: "Stan Users Guide"
href: stan-users-guide/index.qmd
Expand Down Expand Up @@ -265,16 +266,16 @@ website:
format:
html:
theme:
light: [cosmo, theming/theme.scss]
dark: [cosmo, theming/theme-dark.scss]
light: [cosmo, quarto-config/theme.scss]
dark: [cosmo, quarto-config/theme-dark.scss]
syntax-definitions:
- theming/stan.xml
- quarto-config/stan.xml
highlight-style:
light: theming/tango.theme
dark: theming/nord.theme
light: quarto-config/tango.theme
dark: quarto-config/nord.theme
code-copy: true
code-overflow: wrap
css: theming/quarto_styles.css
css: quarto-config/quarto_styles.css
toc: true
grid:
sidebar-width: 250px
Expand Down
2 changes: 1 addition & 1 deletion src/cmdstan-guide/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ format:
include-in-header: "../header.tex"
toc-title: "Table of Contents"
syntax-definitions:
- ../theming/stan.xml
- ../quarto-config/stan.xml
highlight-style: tango
keep-tex: false
colorlinks: true
Expand Down
2 changes: 1 addition & 1 deletion src/functions-reference/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ format:
include-after-body: "../postamble.tex"
toc-title: "Table of Contents"
syntax-definitions:
- ../theming/stan.xml
- ../quarto-config/stan.xml
keep-tex: false
highlight-style: tango
colorlinks: true
Expand Down
1 change: 1 addition & 0 deletions src/quarto-config
Submodule quarto-config added at 153683
2 changes: 1 addition & 1 deletion src/reference-manual/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ format:
toc-title: "Table of Contents"
highlight-style: tango
syntax-definitions:
- ../theming/stan.xml
- ../quarto-config/stan.xml
keep-tex: false
colorlinks: true
linkcolor: darkblue
Expand Down
2 changes: 1 addition & 1 deletion src/stan-users-guide/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ format:
include-in-header: "../header.tex"
toc-title: "Table of Contents"
syntax-definitions:
- ../theming/stan.xml
- ../quarto-config/stan.xml
highlight-style: tango
keep-tex: false
colorlinks: true
Expand Down
182 changes: 0 additions & 182 deletions src/theming/nord.theme

This file was deleted.

Loading