From f0feb32eab8c01af8a2a9073a15410a2747093e1 Mon Sep 17 00:00:00 2001
From: Simon Steiger <106233551+simonsteiger@users.noreply.github.com>
Date: Tue, 22 Oct 2024 18:43:59 +0200
Subject: [PATCH 01/88] first part of new landing page (#1)
* very basic redesign
* make buttons interactive
---
_quarto.yml | 11 ++++-----
index.qmd | 30 ++++++++++++++++++++++++
theming/dark.scss | 15 ++++++++++++
theming/light.scss | 11 +++++++++
theming/rules/_buttons.scss | 24 +++++++++++++++++++
theming/rules/_cards.scss | 17 ++++++++++++++
theming/rules/_navbar.scss | 4 ++++
theming/variables/_borders.scss | 6 +++++
theming/variables/_colorsdark.scss | 36 +++++++++++++++++++++++++++++
theming/variables/_colorslight.scss | 34 +++++++++++++++++++++++++++
10 files changed, 182 insertions(+), 6 deletions(-)
create mode 100644 theming/dark.scss
create mode 100644 theming/light.scss
create mode 100644 theming/rules/_buttons.scss
create mode 100644 theming/rules/_cards.scss
create mode 100644 theming/rules/_navbar.scss
create mode 100644 theming/variables/_borders.scss
create mode 100644 theming/variables/_colorsdark.scss
create mode 100644 theming/variables/_colorslight.scss
diff --git a/_quarto.yml b/_quarto.yml
index 16db4adaa..ccf8c1341 100644
--- a/_quarto.yml
+++ b/_quarto.yml
@@ -17,8 +17,8 @@ website:
navbar:
logo: "assets/images/turing-logo.svg"
logo-href: https://turinglang.org/
- background: "#073c44"
- foreground: "#ffffff"
+ #background: "#073c44"
+ #foreground: "#ffffff"
left:
- text: Get Started
href: https://turinglang.org/docs/getting-started/
@@ -39,7 +39,7 @@ website:
href: https://github.com/TuringLang
page-footer:
- background: "#073c44"
+ #background: "#073c44"
left: |
Turing is created by Hong Ge, and lovingly maintained by the core team of volunteers.
The contents of this website are © 2018–2025 under the terms of the MIT License.
@@ -61,9 +61,8 @@ website:
format:
html:
theme:
- light: cosmo
- dark: [cosmo, theming/theme-dark.scss]
- css: theming/styles.css
+ light: [cosmo, theming/light.scss]
+ dark: [cosmo, theming/dark.scss]
toc: true
smooth-scroll: true
code-overflow: wrap
diff --git a/index.qmd b/index.qmd
index d2bf8a679..36c9ef99f 100644
--- a/index.qmd
+++ b/index.qmd
@@ -8,6 +8,35 @@ description: |
Turing.jl is a probabilistic programming language and Bayesian modelling framework for the Julia programming language.
---
+
Get support from and discuss with other users. -
Familiarize yourself with the Turing.jl API. -
Learn to tackle specific problems with Turing.jl. -
A list of inofficial tutorials using Turing.jl. -
A list of talks on the Turing.jl ecosystem. -
Placeholder for Turing-Workshop repo link. -
- Get support from and discuss with other users. + Learn about all the packages that are part of The Turing Organization.
From e22578622bf937b2dd82336fde666a1e9bb5f732 Mon Sep 17 00:00:00 2001 From: simonsteigerAn example of the Beeysian workflow.
+Placeholder for intro text on list of talks which are available online
+Placeholder for intro text on list of inofficial tutorials
+- Learn about all the packages that are part of The Turing Organization. + Learn about all the packages that are part of the TuringLang organization.
- Familiarize yourself with the Turing.jl API. + Familiarize yourself with the mechanics of Turing.jl.
@@ -162,7 +161,7 @@ end Official tutorials- Learn to tackle specific problems with Turing.jl. + Learn to tackle specific modelling problems with Turing.jl.
Placeholder for intro text on list of inofficial tutorials
+This list contains a few other written resources for learning Turing. If you have written something and would like to share it with the community, please get in touch!
<%- item['reading-time'] %> min
+<% if (item.description) { %> +<%- item.description %>
+<% } %> + +<%- item.author %> +<%- item.date %> + + +<% } %> +``` \ No newline at end of file diff --git a/_includes/news/news.qmd b/_includes/news/news.qmd new file mode 100644 index 000000000..baabbfc4f --- /dev/null +++ b/_includes/news/news.qmd @@ -0,0 +1,15 @@ +--- +listing: + - id: news-carousel + contents: + - "news/posts/*/index.qmd" + template: _includes/news/_news-carousel.ejs + sort: "date desc" +--- + +### News + +::: {#news-carousel} +::: + +[See all news →](news/) diff --git a/index.qmd b/index.qmd index 449a77967..7bc9d9acb 100644 --- a/index.qmd +++ b/index.qmd @@ -28,7 +28,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos ::::: -{{< include _includes/news.qmd >}} +{{< include _includes/news/news.qmd >}} ### Learn more @@ -128,3 +128,6 @@ Placeholder text introducing the Bayesian Workflow diagram from the ACM special {{< include _includes//citation/cite.qmd >}}+ Learn about all the packages that are part of the TuringLang organization. +
+ + ++ Familiarize yourself with the mechanics of Turing.jl. +
+ + ++ Learn to tackle specific modelling problems with Turing.jl. +
+ +<%- item['reading-time'] %> min
-<% if (item.description) { %> -<%- item.description %>
-<% } %> - -<%- item.author %> -<%- item.date %> - - -<% } %> +- Learn about all the packages that are part of the TuringLang organization. -
- - -- Familiarize yourself with the mechanics of Turing.jl. -
- - -- Learn to tackle specific modelling problems with Turing.jl. -
- -MIT
Licensed Open Source ProjectIf you use Turing.jl in your research, please consider citing our paper.
- -::: {.example-code style="max-width: 800px; margin: auto; text-align: left;"} - -```{.bibtex .code-overflow-scroll} +MIT
Licensed Open Source ProjectIf you use Turing.jl in your research, please consider citing our papers.
++Fjelde, T. E., Xu, K., Widmann, D., Tarek, M., Pfiffer, C., Trapp, M., Axen, S. D., Sun, X., Hauru, M., Yong, P., Tebbutt, W., Ghahramani, Z., & Ge, H. (2025). Turing.jl: a general-purpose probabilistic programming language. ACM Transactions on Probabilistic Machine Learning. Just Accepted. +
++@article{10.1145/3711897, +author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong}, +title = {Turing.jl: a general-purpose probabilistic programming language}, +year = {2025}, +publisher = {Association for Computing Machinery}, +address = {New York, NY, USA}, +url = {[https://doi.org/10.1145/3711897](https://doi.org/10.1145/3711897)}, +doi = {10.1145/3711897}, +note = {Just Accepted}, +journal = {ACM Trans. Probab. Mach. Learn.}, +month = feb +} ++
+Ge, H., Xu, K., & Ghahramani, Z. (2018). Turing: a language for flexible probabilistic inference. In Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS) (Vol. 84, pp. 1682-1690). PMLR. +
+@inproceedings{ge2018t, - author = {Hong Ge and Kai Xu and Zoubin Ghahramani}, - title = {Turing: a language for flexible probabilistic inference}, - booktitle = {International Conference on Artificial Intelligence and Statistics, {AISTATS} 2018, 9-11 April 2018, Playa Blanca, Lanzarote, Canary Islands, Spain}, - pages = {1682--1690}, - year = {2018}, - url = {[http://proceedings.mlr.press/v84/ge18b.html](http://proceedings.mlr.press/v84/ge18b.html)}, - biburl = {[https://dblp.org/rec/bib/conf/aistats/GeXG18](https://dblp.org/rec/bib/conf/aistats/GeXG18)}, +author = {Hong Ge and Kai Xu and Zoubin Ghahramani}, +title = {Turing: a language for flexible probabilistic inference}, +booktitle = {International Conference on Artificial Intelligence and Statistics, {AISTATS} 2018, 9-11 April 2018, Playa Blanca, Lanzarote, Canary Islands, Spain}, +pages = {1682--1690}, +year = {2018}, +url = {[http://proceedings.mlr.press/v84/ge18b.html](http://proceedings.mlr.press/v84/ge18b.html)}, +biburl = {[https://dblp.org/rec/bib/conf/aistats/GeXG18](https://dblp.org/rec/bib/conf/aistats/GeXG18)}, +} ++
+ We are proud to collaborate with leading organizations and universities at the forefront of research and innovation. +
+MIT
Licensed Open Source ProjectIf you use Turing.jl in your research, please consider citing our papers.
--Fjelde, T. E., Xu, K., Widmann, D., Tarek, M., Pfiffer, C., Trapp, M., Axen, S. D., Sun, X., Hauru, M., Yong, P., Tebbutt, W., Ghahramani, Z., & Ge, H. (2025). Turing.jl: a general-purpose probabilistic programming language. ACM Transactions on Probabilistic Machine Learning. Just Accepted. -
--@article{10.1145/3711897, -author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong}, -title = {Turing.jl: a general-purpose probabilistic programming language}, -year = {2025}, -publisher = {Association for Computing Machinery}, -address = {New York, NY, USA}, -url = {https://doi.org/10.1145/3711897}, -doi = {10.1145/3711897}, -note = {Just Accepted}, -journal = {ACM Trans. Probab. Mach. Learn.}, -month = feb +Turing.jl is an
+MIT
Licensed Open Source ProjectIf you use Turing.jl in your research, please consider citing our papers.
+ +
+ Fjelde, T. E., Xu, K., Widmann, D., Tarek, M., Pfiffer, C., Trapp, M., Axen, S. D., Sun, X., Hauru, M., Yong, P., Tebbutt, W., Ghahramani, Z., & Ge, H. (2025). Turing.jl: a general-purpose probabilistic programming language. ACM Transactions on Probabilistic Machine Learning. Just Accepted. +
++@article{Fjelde2025Turing, + author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong}, + title = {Turing.jl: a general-purpose probabilistic programming language}, + journal = {ACM Transactions on Probabilistic Machine Learning}, + year = {2025}, + publisher = {Association for Computing Machinery}, + doi = {10.1145/3711897}, + note = {Just Accepted}, + url = {https://doi.org/10.1145/3711897} } --
-Ge, H., Xu, K., & Ghahramani, Z. (2018). Turing: a language for flexible probabilistic inference. In Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS) (Vol. 84, pp. 1682-1690). PMLR. -
--@inproceedings{ge2018t, -author = {Hong Ge and Kai Xu and Zoubin Ghahramani}, -title = {Turing: a language for flexible probabilistic inference}, -booktitle = {International Conference on Artificial Intelligence and Statistics, {AISTATS} 2018, 9-11 April 2018, Playa Blanca, Lanzarote, Canary Islands, Spain}, -pages = {1682--1690}, -year = {2018}, -url = {http://proceedings.mlr.press/v84/ge18b.html}, -biburl = {https://dblp.org/rec/bib/conf/aistats/GeXG18}, ++ +
+ Ge, H., Xu, K., & Ghahramani, Z. (2018). Turing: a language for flexible probabilistic inference. In Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS) (Vol. 84, pp. 1682-1690). PMLR. +
++@inproceedings{Ge2018Turing, + author = {Ge, Hong and Xu, Kai and Ghahramani, Zoubin}, + title = {Turing: a language for flexible probabilistic inference}, + booktitle = {Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS)}, + series = {Proceedings of Machine Learning Research}, + volume = {84}, + pages = {1682--1690}, + year = {2018}, + publisher = {PMLR}, + url = {http://proceedings.mlr.press/v84/ge18b.html} } --
Start Your Journey
@@ -38,7 +36,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecosBegin with the basics. Our step-by-step tutorials will guide you from installation to your first probabilistic models.
@@ -48,7 +46,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecosDive into advanced models, explore the rich package ecosystem, and learn how to cite Turing.jl in your work.
@@ -58,7 +56,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecosJoin our community, contribute to the project on GitHub, and connect with fellow developers on Slack.
@@ -73,6 +71,12 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecosWe are proud to collaborate with leading organizations and universities at the forefront of research and innovation.
From 1bebdd97dd63341aa3ba6f5c64c2a4a44a84ac5c Mon Sep 17 00:00:00 2001 From: Shravan GoswamiDive into advanced models, explore the rich package ecosystem, and learn how to cite Turing.jl in your work.
- We are proud to collaborate with leading organizations and universities at the forefront of research and innovation. + Turing.jl is currently being developed at leading research organisations.
<%- item.description %>
+ + <% if (item.category) { %> +Read the latest from the Turing team.
+A selection of tutorials to get you started.
+A powerful and flexible probabilistic programming language for Julia.
+The Turing ecosystem is built on a foundation of powerful, composable packages.
+The backend for model specification and inference.
+A BUGS-like DSL for defining and fitting Bayesian models.
+Bayesian generalized linear models (GLMs) with Turing.
+An efficient implementation of Hamiltonian Monte Carlo.
+A selection of tutorials to get you started.
A powerful and flexible probabilistic programming language for Julia.
- Turing.jl is currently being developed at leading research organisations. -
-MIT
Licensed Open Source ProjectIf you use Turing.jl in your research, please consider citing our papers.
-- Fjelde, T. E., Xu, K., Widmann, D., Tarek, M., Pfiffer, C., Trapp, M., Axen, S. D., Sun, X., Hauru, M., Yong, P., Tebbutt, W., Ghahramani, Z., & Ge, H. (2025). Turing.jl: a general-purpose probabilistic programming language. ACM Transactions on Probabilistic Machine Learning. Just Accepted. -
--@article{Fjelde2025Turing, +
A BUGS-like DSL for defining and fitting Bayesian models.
+A modern implementation of the BUGS probabilistic programming language in Julia.
Bayesian generalized linear models (GLMs) with Turing.
+Bayesian Generalized Linear models using `@formula` syntax and returns an instantiated Turing model.