-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from nodejs/add/guides
Add guides to docs
- Loading branch information
Showing
7 changed files
with
110 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{site.locale}}"> | ||
{{> html-head }} | ||
|
||
<body> | ||
{{> header }} | ||
|
||
<div id="main"> | ||
<div class="container has-side-nav"> | ||
|
||
{{> docs-menu}} | ||
|
||
<article> | ||
{{{ contents }}} | ||
|
||
<ul class="guides-index"> | ||
{{#each collections.guides}} | ||
<li><a href="/{{../site.locale}}/{{ path }}/">{{ title }}</a></li> | ||
{{/each}} | ||
</ul> | ||
</article> | ||
|
||
</div> | ||
</div> | ||
|
||
{{> footer }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<aside> | ||
<ul> | ||
<li{{#equals path site.docs.link}} class="active"{{/equals}}> | ||
<a href="/{{site.locale}}/{{site.docs.link}}/">{{site.docs.text}}</a> | ||
</li> | ||
<li{{#equals path site.docs.es6.link}} class="active"{{/equals}}> | ||
<a href="/{{site.locale}}/{{site.docs.es6.link}}/">{{site.docs.es6.text}}</a> | ||
</li> | ||
<li{{#equals path site.docs.faq.link}} class="active"{{/equals}}> | ||
<a href="/{{site.locale}}/{{site.docs.faq.link}}/">{{site.docs.faq.text}}</a> | ||
</li> | ||
<li{{#equals path site.docs.api.link}} class="active"{{/equals}}> | ||
<a href="{{site.docs.api.link}}">{{site.docs.api.text}}</a> | ||
</li> | ||
<li{{#startswith path site.docs.guides.link}} class="active"{{/startswith}}> | ||
<a href="/{{site.locale}}/{{site.docs.guides.link}}">{{site.docs.guides.text}}</a> | ||
</li> | ||
</ul> | ||
</aside> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Guides | ||
layout: guides-index.hbs | ||
--- | ||
|
||
# Guides |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters