1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/docs/_includes/navigation.html
Dylan Frese f76fb81fe2
Add support for adding custom filters
Users of the API may now add their own 'on'-filters by calling
Configuration#add_filter, e.g:
`Capistrano::Configuration.env.add_filter(RegionFilter.new('NE'))`.

An filter object passed into this method must respond to .filter, and
this method should accept an array of Server objects and return a subset
of this array.

Tests have been added that checks that:
  * A filter can be added without throwing an error
  * Trying to add a filter without a filter method throws a
    TypeError
  * An added filter is used to filter a list of servers
  * add_filter accepts a block, and raises an ArgumentError
    if passed both a block and an object.
2016-12-09 18:11:15 -06:00

86 lines
5.5 KiB
HTML

<ul class="side-nav">
<h5>Search</h5>
<form action="https://www.google.com/search" method="get">
<input type="hidden" name="as_sitesearch" value="capistranorb.com">
<input type="search" name="q" placeholder="Search terms" autocomplete="off">
</form>
<li class="divider"></li>
<h5>Hosted Capistrano</h5>
<li><a href="https://www.harrow.io/hosted-capistrano-for-teams/?utm_source=CAP&utm_medium=BAN&utm_term=00001&utm_campaign=00004&utm_campaign=CAP_BAN_00001_00004#hosted-capistrano-for-teams" title="Harrow | Seamless collaboration for software teams">Try The New Cloud Capistrano</a></li>
<li><a href="/documentation/harrow">Learn more</a></li>
<li class="divider"></li>
<h5>Overview</h5>
<li><a href="/documentation/overview/what-is-capistrano/">What is Capistrano?</a></li>
<li class="divider"></li>
<h5>Getting Started</h5>
<li><a href="https://github.com/capistrano/capistrano/blob/master/README.md">The Readme, start here!</a></li>
<li><a href="/documentation/getting-started/installation/">Installation</a></li>
<li><a href="/documentation/getting-started/structure/">Structure</a></li>
<li><a href="/documentation/getting-started/configuration/">Configuration</a></li>
<li><a href="/documentation/getting-started/user-input/">User Input</a></li>
<li><a href="/documentation/getting-started/preparing-your-application/">Preparing Your Application</a></li>
<li><a href="/documentation/getting-started/flow/">Flow</a></li>
<li><a href="/documentation/getting-started/rollbacks/">Rollbacks</a></li>
<li><a href="/documentation/getting-started/cold-start/">Cold Start</a></li>
<li><a href="/documentation/getting-started/tasks/">Tasks</a></li>
<li><a href="/documentation/getting-started/local-tasks/">Local Tasks</a></li>
<li><a href="/documentation/getting-started/before-after/">Before / After Hooks</a></li>
<li><a href="/documentation/getting-started/authentication-and-authorisation/">Authentication &amp; Authorisation</a></li>
<li class="divider"></li>
<h5>Advanced Features</h5>
<li><a href="/documentation/advanced-features/console/">Console</a></li>
<li><a href="/documentation/advanced-features/ptys/">PTYs</a></li>
<li><a href="/documentation/advanced-features/filtering/">Filtering</a></li>
<li><a href="/documentation/advanced-features/properties/">Properties</a></li>
<li><a href="/documentation/advanced-features/property-filtering/">Property Filtering</a></li>
<li><a href="/documentation/advanced-features/host-filtering/">Host filtering</a></li>
<li><a href="/documentation/advanced-features/role-filtering/">Role Filtering</a></li>
<li><a href="/documentation/advanced-features/custom-filters/">Custom Filters</a></li>
<li><a href="/documentation/advanced-features/overriding-capistrano-tasks/">Overriding Capistrano Tasks</a></li>
<li><a href="/documentation/advanced-features/remote-file/">Remote File Task</a></li>
<li><a href="/documentation/advanced-features/ssh-kit">Remote Commands with SSHKit</a></li>
<li><a href="/documentation/advanced-features/ignoring">Preventing file deployment with gitattributes</a></li>
<li><a href="/documentation/advanced-features/validation-of-variables">Validation of variables</a></li>
<li><a href="/documentation/advanced-features/custom-scm">Custom SCM</a></li>
<li class="divider"></li>
<h5>Plugins</h5>
<li><a href="https://github.com/capistrano/bundler/">Bundler</a></li>
<li><a href="https://github.com/capistrano/composer/">Composer</a></li>
<li><a href="https://github.com/capistrano/drupal-deploy/">Drupal</a></li>
<li><a href="https://github.com/capistrano/laravel/">Laravel</a></li>
<li><a href="https://github.com/capistrano/npm/">npm</a></li>
<li><a href="https://github.com/capistrano/passenger/">Phusion Passenger</a></li>
<li><a href="https://github.com/capistrano/chruby/">chruby</a></li>
<li><a href="https://github.com/capistrano/rbenv/">rbenv</a></li>
<li><a href="https://github.com/capistrano/rvm/">RVM</a></li>
<li><a href="https://github.com/capistrano/rails/">Ruby on Rails</a></li>
<li><a href="https://github.com/capistrano/symfony/">Symfony</a></li>
<li><a href="/documentation/third-party-plugins/">3<sup>rd</sup> Party Plugins</a></li>
<li class="divider"></li>
<h5>FAQ</h5>
<li><a href="/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/">Why does something work in an SSH session, but not in Capistrano?</a></li>
<li><a href="/documentation/faq/how-can-i-access-stage-configuration-variables/">How can I access stage configuration variables?</a></li>
<li><a href="/documentation/faq/how-can-i-check-for-existing-remote-file/">How can I check for existing remote file?</a></li>
<li><a href="/documentation/faq/how-can-i-get-capistrano-to-prompt-for-a-password/">How can I get Capistrano to prompt for a password?</a></li>
<li><a href="/documentation/faq/how-can-i-set-capistrano-configuration-paths/">How can I set Capistrano configuration paths?</a></li>
<li><a href="http://lee.hambley.name/2013/06/11/using-capistrano-v3-with-chef.html">Should I use Capistrano to provision my servers?</a></li>
<li class="divider"></li>
<h5>Legacy</h5>
<li><a href="https://github.com/capistrano/capistrano-2.x-docs/">Capistrano 2 Documentation Repository</a></li>
<li><a href="/documentation/upgrading/">Upgrading from Capistrano 2.x to 3</a></li>
<li class="divider"></li>
<h5>Recent Announcements</h5>
{% for post in site.posts %}
<li><a href="{{ post.url }}"><span class="post-date">{{ post.date | date_to_string }}</span> {{ post.title }}</a></li>
{% endfor %}
</ul>