Skip to content

Commit a4566a5

Browse files
authored
Merge pull request #843 from stan-dev/toolbar-update
Update in prep for new website
2 parents 9306813 + b087184 commit a4566a5

File tree

16 files changed

+20
-1112
lines changed

16 files changed

+20
-1112
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/quarto-config"]
2+
path = src/quarto-config
3+
url = https://github.com/stan-dev/quarto-config

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ pipeline {
3434
steps{
3535
checkout([$class: 'GitSCM',
3636
branches: [[name: '*/master']],
37-
doGenerateSubmoduleConfigurations: false,
38-
extensions: [],
39-
submoduleCfg: [],
37+
extensions: [
38+
submodules: [recursiveSubmodules: true]
39+
],
4040
userRemoteConfigs: [[url: "https://github.com/stan-dev/docs.git", credentialsId: 'a630aebc-6861-4e69-b497-fd7f496ec46b']]]
4141
)
4242

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

6565
script {

generate_redirects.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/_quarto.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ website:
4141
navbar:
4242
logo: "img/logo_tm.png"
4343
logo-alt: "Stan logo"
44+
logo-href: https://mc-stan.org/
4445
title: false
4546
left:
46-
- text: "Overview"
47+
- text: "Documentation"
4748
href: index.qmd
4849
- text: "Stan Users Guide"
4950
href: stan-users-guide/index.qmd
@@ -265,16 +266,16 @@ website:
265266
format:
266267
html:
267268
theme:
268-
light: [cosmo, theming/theme.scss]
269-
dark: [cosmo, theming/theme-dark.scss]
269+
light: [cosmo, quarto-config/theme.scss]
270+
dark: [cosmo, quarto-config/theme-dark.scss]
270271
syntax-definitions:
271-
- theming/stan.xml
272+
- quarto-config/stan.xml
272273
highlight-style:
273-
light: theming/tango.theme
274-
dark: theming/nord.theme
274+
light: quarto-config/tango.theme
275+
dark: quarto-config/nord.theme
275276
code-copy: true
276277
code-overflow: wrap
277-
css: theming/quarto_styles.css
278+
css: quarto-config/quarto_styles.css
278279
toc: true
279280
grid:
280281
sidebar-width: 250px

src/cmdstan-guide/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ format:
1919
include-in-header: "../header.tex"
2020
toc-title: "Table of Contents"
2121
syntax-definitions:
22-
- ../theming/stan.xml
22+
- ../quarto-config/stan.xml
2323
highlight-style: tango
2424
keep-tex: false
2525
colorlinks: true

src/functions-reference/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ format:
1919
include-after-body: "../postamble.tex"
2020
toc-title: "Table of Contents"
2121
syntax-definitions:
22-
- ../theming/stan.xml
22+
- ../quarto-config/stan.xml
2323
keep-tex: false
2424
highlight-style: tango
2525
colorlinks: true

src/quarto-config

Submodule quarto-config added at 1536838

src/reference-manual/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ format:
2020
toc-title: "Table of Contents"
2121
highlight-style: tango
2222
syntax-definitions:
23-
- ../theming/stan.xml
23+
- ../quarto-config/stan.xml
2424
keep-tex: false
2525
colorlinks: true
2626
linkcolor: darkblue

src/stan-users-guide/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ format:
1919
include-in-header: "../header.tex"
2020
toc-title: "Table of Contents"
2121
syntax-definitions:
22-
- ../theming/stan.xml
22+
- ../quarto-config/stan.xml
2323
highlight-style: tango
2424
keep-tex: false
2525
colorlinks: true

src/theming/nord.theme

Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

Comments
 (0)