Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 17, 2024
1 parent f332f8c commit a674a34
Show file tree
Hide file tree
Showing 25 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion latest/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 043b756c1ebb2e7f06887969aefee1b5
config: 9fec82138593cf5a3bf49023dbffc521
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified latest/.doctrees/commands/networks.doctree
Binary file not shown.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_accounts.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_compile.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_ethereum.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_node.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_pm.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/ape_test.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/api.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/cli.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/contracts.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/exceptions.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/managers.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/plugins.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/types.doctree
Binary file not shown.
Binary file modified latest/.doctrees/methoddocs/utils.doctree
Binary file not shown.
Binary file modified latest/.doctrees/userguides/config.doctree
Binary file not shown.
10 changes: 10 additions & 0 deletions latest/_sources/userguides/config.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ However, here is a list of common-use cases requiring the `ape-config.yaml` file
2. Setting up project dependencies: See the [dependencies](#dependencies) section.
3. Declaring your project's plugins: See the [plugins](#plugins) section.

**Environment Variables**: `ape-config.yaml` files support environment-variable expansion.
Simply include environment variables (with the `$` prefix) in your config file and Ape will automatically expand them.

```yaml
plugin:
secret_rpc: $MY_SECRET_RPC
```

This helps keep your secrets out of Ape!

## Contracts Folder

Specify a different path to your `contracts/` directory.
Expand Down
2 changes: 1 addition & 1 deletion latest/commands/networks.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ <h2>list<a class="headerlink" href="#networks-list" title="Permalink to this hea
<dd><p>Filter the results by network</p>
<dl class="field-list simple">
<dt class="field-odd">Options<span class="colon">:</span></dt>
<dd class="field-odd"><p>mainnet-fork | sepolia | sepolia-fork | local | holesky | mainnet | holesky-fork</p>
<dd class="field-odd"><p>sepolia-fork | sepolia | local | holesky | mainnet | mainnet-fork | holesky-fork</p>
</dd>
</dl>
</dd></dl>
Expand Down
4 changes: 2 additions & 2 deletions latest/methoddocs/ape_node.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion latest/methoddocs/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@
<dd class="field-even"><p>Configured settings parsed from a config file.</p>
</dd>
<dt class="field-odd">Return type<span class="colon">:</span></dt>
<dd class="field-odd"><p>Dict (dict)</p>
<dd class="field-odd"><p>dict</p>
</dd>
</dl>
</dd></dl>
Expand Down
2 changes: 1 addition & 1 deletion latest/searchindex.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions latest/userguides/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@ <h1>Configure Ape<a class="headerlink" href="#configure-ape" title="Permalink to
<li><p>Setting up project dependencies: See the <a class="reference external" href="#dependencies">dependencies</a> section.</p></li>
<li><p>Declaring your project’s plugins: See the <a class="reference external" href="#plugins">plugins</a> section.</p></li>
</ol>
<p><strong>Environment Variables</strong>: <code class="docutils literal notranslate"><span class="pre">ape-config.yaml</span></code> files support environment-variable expansion.
Simply include environment variables (with the <code class="docutils literal notranslate"><span class="pre">$</span></code> prefix) in your config file and Ape will automatically expand them.</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">plugin</span><span class="p">:</span>
<span class="w"> </span><span class="nt">secret_rpc</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">$MY_SECRET_RPC</span>
</pre></div>
</div>
<p>This helps keep your secrets out of Ape!</p>
<section id="contracts-folder">
<h2>Contracts Folder<a class="headerlink" href="#contracts-folder" title="Permalink to this heading"></a></h2>
<p>Specify a different path to your <code class="docutils literal notranslate"><span class="pre">contracts/</span></code> directory.
Expand Down

0 comments on commit a674a34

Please sign in to comment.