Skip to content

Commit 3015a9c

Browse files
committed
Move theming to common repo
1 parent 4aaf277 commit 3015a9c

File tree

16 files changed

+15
-1108
lines changed

16 files changed

+15
-1108
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 generate_redirects.py redirects.txt
6363
"""
6464

6565
script {

generate_redirects.py

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

src/_quarto.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,16 @@ website:
266266
format:
267267
html:
268268
theme:
269-
light: [cosmo, theming/theme.scss]
270-
dark: [cosmo, theming/theme-dark.scss]
269+
light: [cosmo, quarto-config/theme.scss]
270+
dark: [cosmo, quarto-config/theme-dark.scss]
271271
syntax-definitions:
272-
- theming/stan.xml
272+
- quarto-config/stan.xml
273273
highlight-style:
274-
light: theming/tango.theme
275-
dark: theming/nord.theme
274+
light: quarto-config/tango.theme
275+
dark: quarto-config/nord.theme
276276
code-copy: true
277277
code-overflow: wrap
278-
css: theming/quarto_styles.css
278+
css: quarto-config/quarto_styles.css
279279
toc: true
280280
grid:
281281
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)