diff --git a/library/index.qmd b/library/index.qmd index f5bf26d8b..f6cc00435 100644 --- a/library/index.qmd +++ b/library/index.qmd @@ -3,8 +3,58 @@ title: "Turing Libraries" search: false toc: false include-in-header: - - text: | - + - text: | + + + listing: - id: libraries-main template: table.ejs diff --git a/library/main.yml b/library/main.yml index 5af4ecd8e..699c4286c 100644 --- a/library/main.yml +++ b/library/main.yml @@ -83,10 +83,11 @@ description: "Convenient callbacks for sampling in Turing.jl" category: utilities - name: TuringBenchmarking - api: https://turinglang.org/TuringBenchmarking.jl/ - github: https://github.com/TuringLang/TuringBenchmarking.jl + api: https://turinglang.org/Deprecated/TuringBenchmarking/ + github: https://github.com/TuringLang/Deprecated/tree/main/TuringBenchmarking description: "Tools to benchmark and check Turing models" category: utilities + status: deprecated - name: MCMCChains api: https://turinglang.org/MCMCChains.jl/ diff --git a/library/table.ejs b/library/table.ejs index 8fd036bfd..ad13b3904 100644 --- a/library/table.ejs +++ b/library/table.ejs @@ -1,14 +1,22 @@ - +
+
+ + + + + + + + <% for (const item of items) { %> - -<% if (item.api !== "") { %> - -<% } %> - - + + + + <% } %>
PackageAPIGitHubDescription
<%- item.name %>APIGitHub<%- item.description %><%- item.name %><% if(item.status==="deprecated"){ %>Deprecated<% } %><% if(item.api){ %>API<% } else { %>—<% } %>GitHub<%- item.description %>
+ diff --git a/theming/theme-dark.scss b/theming/theme-dark.scss index caa2c5b29..9c4361b91 100644 --- a/theming/theme-dark.scss +++ b/theming/theme-dark.scss @@ -137,3 +137,36 @@ p { --bs-tooltip-color: $black !important; --bs-tooltip-bg: $white !important; } + +// table background & text +.packages-table { + background-color: $background-body !important; + color: $li !important; +} + +// cell borders +.packages-table th, +.packages-table td { + border-bottom-color: $gray-900 !important; +} + +// header row +.packages-table thead { + background-color: $gray-900 !important; +} + +// zebra stripes +.packages-table tbody tr:nth-child(odd) { + background-color: darken($gray-900, 5%) !important; +} + +// hover state +.packages-table tbody tr:hover { + background-color: lighten($background-nav, 5%) !important; +} + +// “Deprecated” badge styling +.badge.deprecated { + color: $white !important; + background-color: $red !important; +} \ No newline at end of file