Move yoga docs into docs folder on master branch

Summary: Move yoga docs into master branch so that pull requests are able to include doc updates as part of other changes.

Reviewed By: JoelMarcey

Differential Revision: D4365700

fbshipit-source-id: 2f46a88974104c454c00bcdf1257abb5c4075a68
This commit is contained in:
Emil Sjolander
2016-12-28 03:57:57 -08:00
committed by Facebook Github Bot
parent cd78291de5
commit f2080e520f
113 changed files with 5020 additions and 0 deletions

12
docs/_layouts/basic.html Normal file
View File

@@ -0,0 +1,12 @@
---
layout: doc_default
---
<div class="mainContainer blogContainer postContainer">
<div id="main_wrap" class="wrapper mainWrapper">
<div class="post basicPost">
{{ content }}
</div>
</div>
</div>

11
docs/_layouts/blog.html Normal file
View File

@@ -0,0 +1,11 @@
---
category: blog
layout: blog_default
---
<div class="mainContainer blogContainer postContainer">
<div id="main_wrap" class="wrapper mainWrapper">
{{ content }}
</div>
</div>

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="docsNavVisible">
{% include nav.html alwayson=true %}
<div class="navPusher">
<div class="docMainWrapper wrapper">
{% include nav/collection_nav.html navdata=site.posts type="blog" sectionpath="/blog/" sectiontitle="Blog" %}
{{ content }}
</div>
{% include footer.html %}
</div>
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include nav.html alwayson=true %}
<div class="navPusher">
{{ content }}
{% include footer.html %}
</div>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="docsNavVisible">
{% include nav.html alwayson=true %}
<div class="navPusher">
<div class="docMainWrapper wrapper">
{% include nav/collection_nav.html navdata=site.data.nav_docs type="docs" sectionpath="/yoga/docs/" sectiontitle="Docs" data_collection=site.docs %}
{{ content }}
</div>
{% include footer.html %}
</div>
</body>
</html>

View File

@@ -0,0 +1,10 @@
---
layout: doc_default
---
<div class="mainContainer documentContainer postContainer">
<div id="main_wrap" class="wrapper mainWrapper">
{{ content }}
</div>
</div>

5
docs/_layouts/docs.html Normal file
View File

@@ -0,0 +1,5 @@
---
layout: doc_page
---
{% include doc.html %}

13
docs/_layouts/home.html Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include nav.html alwayson=true %}
<div class="navPusher">
{% include home_header.html %}
{{ content }}
{% include powered_by.html %}
{% include footer.html %}
</div>
</body>
</html>

3
docs/_layouts/page.html Normal file
View File

@@ -0,0 +1,3 @@
---
layout: blog
---

10
docs/_layouts/plain.html Normal file
View File

@@ -0,0 +1,10 @@
---
layout: default
---
<div class="mainContainer blogContainer postContainer">
<div id="main_wrap" class="wrapper mainWrapper">
{{ content }}
</div>
</div>

8
docs/_layouts/post.html Normal file
View File

@@ -0,0 +1,8 @@
---
collection: blog
layout: blog
---
<div class="lonePost">
{% include post.html %}
</div>

View File

@@ -0,0 +1,6 @@
<html>
<head>
<meta http-equiv="refresh" content="0; {{ page.destination }}">
</head>
<body></body>
</html>

View File

@@ -0,0 +1,10 @@
---
layout: default
---
<div class="mainContainer blogContainer postContainer">
<div id="main_wrap" class="wrapper mainWrapper">
{{ content }}
</div>
</div>