add link to documentation for index

This commit is contained in:
dillon 2015-10-03 11:49:18 -07:00
parent 9622a0e223
commit 2d0dbed0c3
2 changed files with 8 additions and 2 deletions

View file

@ -11,6 +11,12 @@
</div>
<div id="main">
{{ content }}
{% if page.edit_url %}
<h2>Can you help us improve these docs?</h2>
<p>The source of these docs is <a href="{{ page.edit_url }}">here</a> on GitHub. If you see a way these docs can be improved, please fork us!</p>
{% endif %}
</div>
</div>

View file

@ -1,6 +1,7 @@
---
layout: docs
title: First Steps
edit_url: "https://github.com/nylas/N1/blob/master/docs/index.md"
---
<style>
h3 {
@ -258,7 +259,7 @@ GithubUserStore = Reflux.createStore
<span class="hljs-comment"># Get the newly focused contact</span>
contact = FocusedContactsStore.focusedContact()
<span class="hljs-comment"># Clear the profile we're currently showing</span>
<span class="hljs-property">@_profile</span> = <span class="hljs-literal">null</span>
<span class="hljs-property">@_profile</span> = <span class="hljs-literal">null</span>
<span class="hljs-keyword">if</span> contact
<span class="hljs-property">@_fetchGithubProfile</span>(contact.email)
<span class="hljs-property">@trigger</span>(@)
@ -302,4 +303,3 @@ GithubUserStore = Reflux.createStore
<blockquote>
<p>You can find a more extensive version of this example in our <a href="https://github.com/nylas/edgehill-plugins/tree/master/sidebar-github-profile">sample packages repository</a>.</p>
</blockquote>