diff --git a/_layouts/formula.html b/_layouts/formula.html index 711378446441..a399e35d6680 100644 --- a/_layouts/formula.html +++ b/_layouts/formula.html @@ -233,3 +233,47 @@ {%- endfor -%} {%- endfor %} + + +{%- if f.mac_dependencies.size > 0 %} +

macOS Dependencies:

+ + {%- for dep in f.mac_dependencies -%} + + + + + {%- endfor -%} +
{{ dep.name | escape }}{{ dep.version | escape }}
+{%- endif -%} + +{%- if f.linux_dependencies.size > 0 %} +

Linux Dependencies:

+ + {%- for dep in f.linux_dependencies -%} + + + + + {%- endfor -%} +
{{ dep.name | escape }}{{ dep.version | escape }}
+{%- endif -%} + + +{%- if f.mac_caveats -%} +

macOS Caveats:

+ + + + +
{{ f.mac_caveats | escape | replace: soft_indent, hard_indent | strip | newline_to_br }}
+{%- endif -%} + +{%- if f.linux_caveats -%} +

Linux Caveats:

+ + + + +
{{ f.linux_caveats | escape | replace: soft_indent, hard_indent | strip | newline_to_br }}
+{%- endif -%} diff --git a/_layouts/formula_json.json b/_layouts/formula_json.json index 8c1f96477822..90edb5c3b555 100644 --- a/_layouts/formula_json.json +++ b/_layouts/formula_json.json @@ -36,4 +36,8 @@ {%- endunless -%} {%- endfor -%} }, +"mac_dependencies":{{ fdata.mac_dependencies | jsonify }}, +"linux_dependencies":{{ fdata.linux_dependencies | jsonify }}, +"mac_caveats":{{ fdata.mac_caveats | jsonify }}, +"linux_caveats":{{ fdata.linux_caveats | jsonify }}, "generated_date":"{{ "today" | date: "%F" }}"} diff --git a/index.html b/index.html index 3c3b10431ae3..220a703f0b64 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ --- layout: default --- -

Homebrew Formulae is an online package browser for Homebrew – the macOS (and Linux) package manager. For more information on how to install and use Homebrew see our homepage.

+

Homebrew Formulae is an online package browser for Homebrew – the macOS and Linux package manager. For more information on how to install and use Homebrew see our homepage.

Browse all formulae

Browse all casks or