From ba627074fc854a395b169eaef86b412b1072aec2 Mon Sep 17 00:00:00 2001 From: Seth Landry Date: Wed, 29 Jan 2025 03:08:04 -0600 Subject: [PATCH] Update formulae pages to include Linux support Related to #566 --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Homebrew/formulae.brew.sh/issues/566?shareId=XXXX-XXXX-XXXX-XXXX). --- _layouts/formula.html | 2 +- _layouts/formula_json.json | 8 ++++++++ index.html | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_layouts/formula.html b/_layouts/formula.html index 711378446441..9e6d6fe4d8e5 100644 --- a/_layouts/formula.html +++ b/_layouts/formula.html @@ -100,7 +100,7 @@ ✅ {%- endunless -%} - {%- endfor -%} + {%- endfor %} {%- endif %} diff --git a/_layouts/formula_json.json b/_layouts/formula_json.json index 8c1f96477822..dd46f55540e4 100644 --- a/_layouts/formula_json.json +++ b/_layouts/formula_json.json @@ -36,4 +36,12 @@ {%- endunless -%} {%- endfor -%} }, +"dependencies": { + "macos": {{ fdata.dependencies.macos | jsonify }}, + "linux": {{ fdata.dependencies.linux | jsonify }} +}, +"caveats": { + "macos": {{ fdata.caveats.macos | jsonify }}, + "linux": {{ fdata.caveats.linux | jsonify }} +}, "generated_date":"{{ "today" | date: "%F" }}"} diff --git a/index.html b/index.html index 3c3b10431ae3..b2dbad5bad09 100644 --- a/index.html +++ b/index.html @@ -8,3 +8,4 @@

Browse all casks or cask fonts

Analytics data

JSON API documentation

+

Browse Linux formulae