Skip to content

Commit

Permalink
Publish docs @ 91e891f
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 16, 2025
1 parent 292b88c commit e1ab492
Show file tree
Hide file tree
Showing 82 changed files with 358 additions and 356 deletions.
127 changes: 64 additions & 63 deletions 404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion developers/compiler/design-overview/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ <h2 class="anchored" data-anchor-id="metadata"><code>Metadata</code></h2>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/compiler/minituring-compiler/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ <h1>Consider a probabilistic model defined by</h1>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/compiler/minituring-contexts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ <h2 class="anchored" data-anchor-id="contexts-within-contexts">Contexts within c
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/compiler/model-manual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ <h1 class="title">Manually Defining a Model</h1>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ <h4 class="anchored" data-anchor-id="a-word-on-consistency">A Word on Consistenc
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/inference/abstractmcmc-interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ <h2 class="anchored" data-anchor-id="conclusion">Conclusion</h2>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/inference/abstractmcmc-turing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ <h2 class="anchored" data-anchor-id="summary-importance-sampling-step-by-step">4
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/inference/implementing-samplers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ <h2 class="anchored" data-anchor-id="summary">Summary</h2>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion developers/inference/variational-inference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ <h4 class="anchored" data-anchor-id="back-to-vi">Back to VI</h4>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion robots.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sitemap: https://turinglang.org/sitemap.xml
Sitemap: https://turinglang.org/docs/sitemap.xml
152 changes: 76 additions & 76 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,155 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://turinglang.org/tutorials/15-gaussian-processes/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/15-gaussian-processes/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-00-getting-started/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-00-getting-started/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-13-using-turing-performance-tips/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-13-using-turing-performance-tips/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/00-introduction/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/00-introduction/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/usage-modifying-logprob/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/usage-modifying-logprob/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-10-using-turing-autodiff/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-10-using-turing-autodiff/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/12-gplvm/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/12-gplvm/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/usage-custom-distribution/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/usage-custom-distribution/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/02-logistic-regression/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/02-logistic-regression/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/05-linear-regression/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/05-linear-regression/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/06-infinite-mixture-model/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/06-infinite-mixture-model/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/01-gaussian-mixture-model/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/01-gaussian-mixture-model/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-17-mode-estimation/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-17-mode-estimation/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-11-using-turing-dynamichmc/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-11-using-turing-dynamichmc/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/09-variational-inference/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/09-variational-inference/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/contributing/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/contributing/index.html</loc>
<lastmod>2025-01-16T15:53:18.871Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/inference/implementing-samplers/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/inference/implementing-samplers/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/inference/abstractmcmc-turing/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/inference/abstractmcmc-turing/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/compiler/minituring-contexts/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/compiler/minituring-contexts/index.html</loc>
<lastmod>2025-01-16T15:53:18.871Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/compiler/design-overview/index.html</loc>
<lastmod>2025-01-16T15:34:08.587Z</lastmod>
<loc>https://turinglang.org/docs/developers/compiler/design-overview/index.html</loc>
<lastmod>2025-01-16T15:53:18.871Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/compiler/minituring-compiler/index.html</loc>
<lastmod>2025-01-16T15:34:08.587Z</lastmod>
<loc>https://turinglang.org/docs/developers/compiler/minituring-compiler/index.html</loc>
<lastmod>2025-01-16T15:53:18.871Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/compiler/model-manual/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/compiler/model-manual/index.html</loc>
<lastmod>2025-01-16T15:53:18.871Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/inference/variational-inference/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/inference/variational-inference/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/developers/inference/abstractmcmc-interface/index.html</loc>
<lastmod>2025-01-16T15:34:08.588Z</lastmod>
<loc>https://turinglang.org/docs/developers/inference/abstractmcmc-interface/index.html</loc>
<lastmod>2025-01-16T15:53:18.872Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-16-using-turing-external-samplers/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-16-using-turing-external-samplers/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-12-using-turing-guide/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-12-using-turing-guide/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/04-hidden-markov-model/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/04-hidden-markov-model/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/usage-generated-quantities/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/usage-generated-quantities/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/07-poisson-regression/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/07-poisson-regression/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-08-using-turing/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-08-using-turing/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/03-bayesian-neural-network/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/03-bayesian-neural-network/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/08-multinomial-logistic-regression/index.html</loc>
<lastmod>2025-01-16T15:34:08.589Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/08-multinomial-logistic-regression/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/usage-probability-interface/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/usage-probability-interface/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/10-bayesian-differential-equations/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/10-bayesian-differential-equations/index.html</loc>
<lastmod>2025-01-16T15:53:18.873Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/11-probabilistic-pca/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/11-probabilistic-pca/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/13-seasonal-time-series/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/13-seasonal-time-series/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-09-using-turing-advanced/index.html</loc>
<lastmod>2025-01-16T15:34:08.590Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-09-using-turing-advanced/index.html</loc>
<lastmod>2025-01-16T15:53:18.874Z</lastmod>
</url>
<url>
<loc>https://turinglang.org/tutorials/docs-15-using-turing-sampler-viz/index.html</loc>
<lastmod>2025-01-16T15:34:08.591Z</lastmod>
<loc>https://turinglang.org/docs/tutorials/docs-15-using-turing-sampler-viz/index.html</loc>
<lastmod>2025-01-16T15:53:18.875Z</lastmod>
</url>
</urlset>
2 changes: 1 addition & 1 deletion tutorials/00-introduction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ <h3 class="anchored" data-anchor-id="coin-flipping-with-turing">Coin Flipping Wi
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/01-gaussian-mixture-model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2234,7 +2234,7 @@ <h2 class="anchored" data-anchor-id="inferred-assignments---marginalized-model">
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/02-logistic-regression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15651,7 +15651,7 @@ <h2 class="anchored" data-anchor-id="making-predictions">Making Predictions</h2>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/03-bayesian-neural-network/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ <h2 class="anchored" data-anchor-id="prediction-visualization">Prediction Visual
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/04-hidden-markov-model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ <h2 class="anchored" data-anchor-id="simple-state-detection">Simple State Detect
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/05-linear-regression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ <h2 class="anchored" data-anchor-id="comparing-to-ols">Comparing to OLS</h2>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/06-infinite-mixture-model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ <h4 class="anchored" data-anchor-id="chinese-restaurant-process">Chinese Restaur
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
2 changes: 1 addition & 1 deletion tutorials/07-poisson-regression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ <h1>Removing the Warmup Samples</h1>
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/turinglang\.org\/");
var filterRegex = new RegExp("https:\/\/turinglang\.org\/docs\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
Expand Down
Loading

0 comments on commit e1ab492

Please sign in to comment.