Skip to content

Commit 2a2c5ab

Browse files
author
Shravan Goswami
committed
updated _quarto.yml
1 parent f47a336 commit 2a2c5ab

File tree

4 files changed

+103
-33
lines changed

4 files changed

+103
-33
lines changed

.github/workflows/publish.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
6+
name: Deploy to GitHub Pages
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Julia
17+
uses: julia-actions/setup-julia@v2
18+
with:
19+
version: '1.10'
20+
21+
- name: Set up Quarto
22+
uses: quarto-dev/quarto-actions/setup@v2
23+
with:
24+
version: pre-release
25+
- name: Restore cached _freeze folder
26+
id: cache-primes-restore
27+
uses: actions/cache/restore@v4
28+
with:
29+
path: |
30+
_freeze/
31+
key: ${{ runner.os }}-primes
32+
33+
- name: Render Quarto site
34+
run: quarto render
35+
36+
- name: Save _freeze folder
37+
id: cache-primes-save
38+
uses: actions/cache/save@v4
39+
with:
40+
path: |
41+
_freeze/
42+
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
43+
44+
- name: Deploy to GitHub Pages
45+
uses: JamesIves/github-pages-deploy-action@v4
46+
with:
47+
branch: gh-pages
48+
folder: _site

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ Testing/
1616
/Manifest.toml
1717
/test/Manifest.toml
1818
.vscode
19+
_freeze
20+
_site
21+
.quarto

_quarto.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,61 +48,61 @@ website:
4848
collapse-level: 1
4949
# href: docs/using-turing/getting-started/
5050
contents:
51-
- docs/using-turing/getting-started/index.qmd
51+
- tutorials/docs-00-getting-started/index.qmd
5252
- text: "Quick Start"
53-
href: docs/using-turing/quick-start/index.qmd
54-
- docs/using-turing/guide/index.qmd
55-
- docs/using-turing/advanced-usage/index.qmd
56-
- docs/using-turing/automatic-differentiation/index.qmd
57-
- docs/using-turing/performance-tips/index.qmd
58-
- docs/using-turing/using-dynamichmc/index.qmd
59-
- docs/using-turing/sampler-visualization/index.qmd
53+
href: docs/docs-14-using-turing-quick-start/index.qmd
54+
- tutorials/docs-12-using-turing-guide/index.qmd
55+
- tutorials/docs-09-using-turing-advanced/index.qmd
56+
- tutorials/docs-10-using-turing-autodiff/index.qmd
57+
- tutorials/docs-13-using-turing-performance-tips/index.qmd
58+
- tutorials/docs-11-using-turing-dynamichmc/index.qmd
59+
- tutorials/docs-15-using-turing-sampler-viz/index.qmd
6060
- text: "External Samplers"
61-
href: docs/using-turing/external-samplers/index.qmd
61+
href: tutorials/docs-16-using-turing-external-samplers/index.qmd
6262

6363
- section: "For Developers"
6464
collapse-level: 1
6565
contents:
66-
- docs/for-developers/compiler/index.qmd
67-
- docs/for-developers/interface/index.qmd
68-
- docs/for-developers/abstractmcmc-turing/index.qmd
69-
- docs/for-developers/variational-inference/index.qmd
66+
- tutorials/docs-05-for-developers-compiler/index.qmd
67+
- tutorials/docs-06-for-developers-interface/index.qmd
68+
- tutorials/docs-04-for-developers-abstractmcmc-turing/index.qmd
69+
- tutorials/docs-07-for-developers-variational-inference/index.qmd
7070

7171
- section: "Tutorials"
7272
contents:
73-
- text: Home
74-
href: docs/tutorials/index.qmd
75-
- docs/tutorials/00-introduction/index.qmd
73+
# - text: Home
74+
# href: docs/tutorials/index.qmd
75+
- tutorials/00-introduction/index.qmd
7676
- text: Gaussian Mixture Models
77-
href: docs/tutorials/01-gaussian-mixture-model/index.qmd
78-
- docs/tutorials/02-logistic-regression/index.qmd
79-
- docs/tutorials/03-bayesian-neural-network/index.qmd
77+
href: tutorials/01-gaussian-mixture-model/index.qmd
78+
- tutorials/02-logistic-regression/index.qmd
79+
- tutorials/03-bayesian-neural-network/index.qmd
8080
- text: Hidden Markov Models
81-
href: docs/tutorials/04-hidden-markov-model/index.qmd
82-
- docs/tutorials/05-linear-regression/index.qmd
81+
href: tutorials/04-hidden-markov-model/index.qmd
82+
- tutorials/05-linear-regression/index.qmd
8383
- text: Infinite Mixture Model
84-
href: docs/tutorials/06-infinite-mixture-model/index.qmd
85-
- docs/tutorials/07-poisson-regression/index.qmd
84+
href: tutorials/06-infinite-mixture-model/index.qmd
85+
- tutorials/07-poisson-regression/index.qmd
8686
- text: Multinomial Logistic Regression
87-
href: docs/tutorials/08-multinomial-logistic-regression/index.qmd
87+
href: tutorials/08-multinomial-logistic-regression/index.qmd
8888
- text: Variational Inference
89-
href: docs/tutorials/09-variational-inference/index.qmd
89+
href: tutorials/09-variational-inference/index.qmd
9090
- text: "Bayesian Differential Equations"
91-
href: docs/tutorials/10-bayesian-differential-equations/index.qmd
91+
href: tutorials/10-bayesian-differential-equations/index.qmd
9292
- text: "Probabilistic PCA"
93-
href: docs/tutorials/11-probabilistic-pca/index.qmd
93+
href: tutorials/11-probabilistic-pca/index.qmd
9494
- text: "Gaussian Process LVM"
95-
href: docs/tutorials/12-gplvm/index.qmd
96-
- docs/tutorials/13-seasonal-time-series/index.qmd
95+
href: tutorials/12-gplvm/index.qmd
96+
- tutorials/13-seasonal-time-series/index.qmd
9797
- text: "A Mini Turing Compiler"
98-
href: docs/tutorials/14-minituring/index.qmd
98+
href: tutorials/14-minituring/index.qmd
9999
- text: "Intro to Gaussian Processes"
100-
href: docs/tutorials/15-gaussian-processes/index.qmd
100+
href: tutorials/15-gaussian-processes/index.qmd
101101
- section: "Contributing"
102102
contents:
103103
- text: "How to Contribute"
104-
href: docs/contributing/contributing-guide/index.qmd
105-
- docs/contributing/contributing-style-guide/index.qmd
104+
href: tutorials/docs-01-contributing-guide/index.qmd
105+
- tutorials/docs-02-contributing-style-guide/index.qmd
106106

107107
page-footer:
108108
background: "#073c44"

tutorials/_metadata.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
format:
2+
html:
3+
toc-title: "Table of Contents"
4+
code-fold: false
5+
code-overflow: scroll
6+
execute:
7+
echo: true
8+
output: true
9+
error: true
10+
include-in-header:
11+
- text: |
12+
<style>
13+
a {
14+
text-decoration: none;
15+
}
16+
a:hover {
17+
text-decoration: underline;
18+
}
19+
</style>

0 commit comments

Comments
 (0)