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

4
docs/_data/authors.yml Normal file
View File

@@ -0,0 +1,4 @@
exampleauthor:
full_name: Example Author
fbid: 1234

2
docs/_data/features.yml Normal file
View File

@@ -0,0 +1,2 @@
# Add features here if you are using:
# {% include content/gridblocks.html data_source=site.data.features align="center" %}

10
docs/_data/nav.yml Normal file
View File

@@ -0,0 +1,10 @@
- title: Documentation
href: docs/
category: api
- title: GitHub
href: https://github.com/facebook/yoga
category: external
# Use external for external links not associated with the paths of the current site.
# If a category is external, site urls, for example, are not prepended to the href, etc..

24
docs/_data/nav_docs.yml Normal file
View File

@@ -0,0 +1,24 @@
- title: Quick Start
items:
- id: getting-started
- id: learn-more
- title: Flexbox concepts
items:
- id: flex-direction
- id: justify-content
- id: flex-wrap
- id: alignment
- id: flex
- id: absolute-position
- id: min-max-dimen
- id: margin-padding-border
- title: Yoga additions
items:
- id: aspect-ratio
- id: rtl
- title: API
items:
- id: c
- id: objc
- id: java
- id: csharp

View File

@@ -0,0 +1 @@
# For non-highlighted projects. See format in powered_by_highlight.yml

View File

@@ -0,0 +1,6 @@
# React Native uses Yoga now. We can add a highlight later when other projects use it.
#- title: Who Uses This Project?
# items:
# - name: React Native
# url: https://facebook.github.io/react-native
# img: static/images/react-native.png

11
docs/_data/promo.yml Normal file
View File

@@ -0,0 +1,11 @@
# This file determines the list of promotional elements added to the header of \
# your site's homepage.
- type: plugin_row
children:
- type: button
href: docs/getting-started/
text: Get Started
- type: button
href: docs/learn-more/
text: Learn More