mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
add link to documentation for index
This commit is contained in:
parent
9622a0e223
commit
2d0dbed0c3
2 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
{{ content }}
|
{{ 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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: docs
|
layout: docs
|
||||||
title: First Steps
|
title: First Steps
|
||||||
|
edit_url: "https://github.com/nylas/N1/blob/master/docs/index.md"
|
||||||
---
|
---
|
||||||
<style>
|
<style>
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -258,7 +259,7 @@ GithubUserStore = Reflux.createStore
|
||||||
<span class="hljs-comment"># Get the newly focused contact</span>
|
<span class="hljs-comment"># Get the newly focused contact</span>
|
||||||
contact = FocusedContactsStore.focusedContact()
|
contact = FocusedContactsStore.focusedContact()
|
||||||
<span class="hljs-comment"># Clear the profile we're currently showing</span>
|
<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-keyword">if</span> contact
|
||||||
<span class="hljs-property">@_fetchGithubProfile</span>(contact.email)
|
<span class="hljs-property">@_fetchGithubProfile</span>(contact.email)
|
||||||
<span class="hljs-property">@trigger</span>(@)
|
<span class="hljs-property">@trigger</span>(@)
|
||||||
|
@ -302,4 +303,3 @@ GithubUserStore = Reflux.createStore
|
||||||
<blockquote>
|
<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>
|
<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>
|
</blockquote>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue