Skip to content

Commit

Permalink
Fix index in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Apr 2, 2017
1 parent c11255c commit d814e92
Showing 1 changed file with 37 additions and 36 deletions.
73 changes: 37 additions & 36 deletions docs/index.md
Expand Up @@ -3,7 +3,7 @@ layout: homepage
---

<header>
<div class="inner-content">
<div class="inner-content">
<a href="http://thephpleague.com/" class="league">
Presented by The League of Extraordinary Packages
</a>
Expand All @@ -14,10 +14,11 @@ layout: homepage
</header>

<main>
<div class="example">
<div class="inner-content">
<h1>Usage</h1>
<div class="highlighter-rouge"><pre class="highlight"><code><span class="cp">&lt;?php</span>
<div class="example">
<div class="inner-content">
<h1>Usage</h1>

<div class="language-php highlighter-rouge"><pre class="highlight"><code><span class="cp">&lt;?php</span>

<span class="nv">$container</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">League\Container\Container</span><span class="p">;</span>

Expand All @@ -29,37 +30,37 @@ layout: homepage

<span class="nb">var_dump</span><span class="p">(</span><span class="nv">$service</span> <span class="nx">instanceof</span> <span class="nx">Acme\Service\SomeService</span><span class="p">);</span> <span class="c1">// true
</span></code></pre>
</div>
</div>
</div>
</div>
</div>


<div class="highlights">
<div class="inner-content">
<div class="column one">
<h1>Highlights</h1>
<div class="description">
<p>Container is a simple but powerful dependency injection container that allows you to decouple components in your application in order to write clean and testable code.</p>
<p>It is framework agnostic as well as being very fast because of it's simple API.</p>
</div>
</div>
<div class="column two">
<ol>
<li><p>Simple API.</p></li>
<li><p>Interoperabiity. Container is an implementation of PSR-11.</p></li>
<li><p>Speed. Because Container is simple, it is also very fast.</p></li>
<li><p>Service Providers allow you to package code or configuration for packages that you reuse regularly.</p></li>
<li><p>Inflectors allow you to manipulate objects resolved through the container based on the type.</p></li>
</ol>
</div>
<div class="highlights">
<div class="inner-content">
<div class="column one">
<h1>Highlights</h1>
<div class="description">
<p>Container is a simple but powerful dependency injection container that allows you to decouple components in your application in order to write clean and testable code.</p>
<p>It is framework agnostic as well as being very fast because of it's simple API.</p>
</div>
</div>
<div class="column two">
<ol>
<li><p>Simple API.</p></li>
<li><p>Interoperabiity. Container is an implementation of PSR-11.</p></li>
<li><p>Speed. Because Container is simple, it is also very fast.</p></li>
<li><p>Service Providers allow you to package code or configuration for packages that you reuse regularly.</p></li>
<li><p>Inflectors allow you to manipulate objects resolved through the container based on the type.</p></li>
</ol>
</div>
</div>
</div>

<div class="documentation">
<div class="inner-content">
<h1>Releases</h1>
<div class="documentation">
<div class="inner-content">
<h1>Releases</h1>

<div class="version next">
<div class="version next">
<h2>Next/master</h2>
<div class="content">
<p><code>League\Container 3.x</code></p>
Expand Down Expand Up @@ -98,15 +99,15 @@ layout: homepage
</div>
</div>

<p class="footnote">Once a new major version is released, the previous stable release remains supported for six more months through patches and security fixes.</p>
<p class="footnote">Once a new major version is released, the previous stable release remains supported for six more months through patches and security fixes.</p>

</div>
</div>
</div>

<div class="questions">
<div class="inner-content">
<h1>Questions?</h1>
<p><strong>League\Container</strong> was created by Phil Bennett. Find him on Twitter at <a href="https://twitter.com/philipobenito">@philipobenito</a>.</p>
</div>
<div class="questions">
<div class="inner-content">
<h1>Questions?</h1>
<p><strong>League\Csv</strong> was created by Phil Bennett. Find him on Twitter at <a href="https://twitter.com/philipobenito">@philipobenito</a>.</p>
</div>
</div>
</main>

0 comments on commit d814e92

Please sign in to comment.