Skip to content

Commit

Permalink
[CI] Publish Documentation for 781f2a9
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 15, 2023
1 parent 8bce5f8 commit a874305
Show file tree
Hide file tree
Showing 3 changed files with 441 additions and 374 deletions.
8 changes: 8 additions & 0 deletions guide/early-access/reference/name-templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -3615,6 +3615,14 @@ <h2 id="_brew"><a class="anchor" href="#_brew"></a>Brew</h2>
<td class="tableblock halign-left valign-top"><p class="tableblock">a list of strings for the livecheck block</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">brewDownloadStrategy</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">custom download strategy</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">brewRequireRelative</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">a list of required files, added as <code>require_relative</code> statements</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">brewCaskName</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">the cask name</p></td>
</tr>
Expand Down
59 changes: 59 additions & 0 deletions guide/early-access/reference/packagers/homebrew.html
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,17 @@ <h2 id="_configuration"><a class="anchor" href="#_configuration"></a>Configurati
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
multiPlatform: false

# Set a custom download strategy. Note that you'll need
# to implement the strategy and add it to your tap repository.
# Example: <a href="https://docs.brew.sh/Formula-Cookbook#url-download-strategies" class="bare">https://docs.brew.sh/Formula-Cookbook#url-download-strategies</a>
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
downloadStrategy: CurlDownloadStrategy

# Adds `require_relative` statements at the top of the formula template.
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
requireRelative:
- custom_download_strategy

# Customize the livecheck block.
# Default is empty.
# <span class="icon"><i class="fa fa-dot-circle"></i></span> <span class="icon"><i class="fa fa-file-alt"></i></span>
Expand Down Expand Up @@ -1246,6 +1257,16 @@ <h2 id="_configuration"><a class="anchor" href="#_configuration"></a>Configurati
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
multiPlatform = false

# Set a custom download strategy. Note that you'll need
# to implement the strategy and add it to your tap repository.
# Example: <a href="https://docs.brew.sh/Formula-Cookbook#url-download-strategies" class="bare">https://docs.brew.sh/Formula-Cookbook#url-download-strategies</a>
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
downloadStrategy = "CurlDownloadStrategy"

# Adds `require_relative` statements at the top of the formula template.
# <span class="icon"><i class="fa fa-dot-circle"></i></span>
requireRelative = ["custom_download_strategy"]

# Customize the livecheck block.
# Default is empty.
# <span class="icon"><i class="fa fa-dot-circle"></i></span> <span class="icon"><i class="fa fa-file-alt"></i></span>
Expand Down Expand Up @@ -1436,6 +1457,18 @@ <h2 id="_configuration"><a class="anchor" href="#_configuration"></a>Configurati
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
"multiPlatform": false,

// Set a custom download strategy. Note that you'll need
// to implement the strategy and add it to your tap repository.
// Example: <a href="https://docs.brew.sh/Formula-Cookbook#url-download-strategies" class="bare">https://docs.brew.sh/Formula-Cookbook#url-download-strategies</a>
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
"downloadStrategy": "CurlDownloadStrategy",

// Adds `require_relative` statements at the top of the formula template.
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
"requireRelative": [
"custom_download_strategy"
],

// Customize the livecheck block.
// Default is empty.
// <span class="icon"><i class="fa fa-dot-circle"></i></span> <span class="icon"><i class="fa fa-file-alt"></i></span>
Expand Down Expand Up @@ -1692,6 +1725,22 @@ <h2 id="_configuration"><a class="anchor" href="#_configuration"></a>Configurati
--&gt;
&lt;multiPlatform&gt;false&lt;/multiPlatform&gt;

&lt;!--
Set a custom download strategy. Note that you'll need
to implement the strategy and add it to your tap repository.
Example: <a href="https://docs.brew.sh/Formula-Cookbook#url-download-strategies" class="bare">https://docs.brew.sh/Formula-Cookbook#url-download-strategies</a>
<span class="icon"><i class="fa fa-dot-circle"></i></span>
--&gt;
&lt;downloadStrategy&gt;CurlDownloadStrategy&lt;/downloadStrategy&gt;

&lt;!--
Adds `require_relative` statements at the top of the formula template.
<span class="icon"><i class="fa fa-dot-circle"></i></span>
--&gt;
&lt;requireRelative&gt;
&lt;require&gt;custom_download_strategy&lt;/require&gt;
&lt;/requireRelative&gt;

&lt;!--
Customize the livecheck block.
Default is empty.
Expand Down Expand Up @@ -1923,6 +1972,16 @@ <h2 id="_configuration"><a class="anchor" href="#_configuration"></a>Configurati
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
multiPlatform = false

// Set a custom download strategy. Note that you'll need
// to implement the strategy and add it to your tap repository.
// Example: <a href="https://docs.brew.sh/Formula-Cookbook#url-download-strategies" class="bare">https://docs.brew.sh/Formula-Cookbook#url-download-strategies</a>
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
downloadStrategy = 'CurlDownloadStrategy'

// Adds `require_relative` statements at the top of the formula template.
// <span class="icon"><i class="fa fa-dot-circle"></i></span>
requireRelative = ['custom_download_strategy']

// Customize the livecheck block.
// Default is empty.
// <span class="icon"><i class="fa fa-dot-circle"></i></span> <span class="icon"><i class="fa fa-file-alt"></i></span>
Expand Down
Loading

0 comments on commit a874305

Please sign in to comment.