Add skeleton for documentation (#1589)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1589 Adds a skeleton to the new website of documentation and such for us to fill out. Reviewed By: joevilches Differential Revision: D54567186 fbshipit-source-id: 700dfe0787fcb9806c3daa0675e838540119bbc0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
367643faa5
commit
cc2a87d4f9
4
website-next/docs/examples/_category_.json
Normal file
4
website-next/docs/examples/_category_.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Examples",
|
||||
"position": 4
|
||||
}
|
15
website-next/docs/examples/align-content.mdx
Normal file
15
website-next/docs/examples/align-content.mdx
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
import Playground from '@site/src/components/Playground';
|
||||
|
||||
# Align Content
|
||||
|
||||
<Playground code={`<Layout config={{useWebDefaults: false}}>
|
||||
<Node
|
||||
style={{width: 200, height: 200, padding: 20}}
|
||||
>
|
||||
<Node style={{flex: 1}} />
|
||||
</Node>
|
||||
</Layout>`} />
|
5
website-next/docs/examples/align-items-self.mdx
Normal file
5
website-next/docs/examples/align-items-self.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Align Items and Align Self
|
5
website-next/docs/examples/aspect-ratio.mdx
Normal file
5
website-next/docs/examples/aspect-ratio.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Aspect Ratio
|
5
website-next/docs/examples/display.mdx
Normal file
5
website-next/docs/examples/display.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
# Display
|
5
website-next/docs/examples/flex-basis-grow-shrink.mdx
Normal file
5
website-next/docs/examples/flex-basis-grow-shrink.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Flex Basis, Grow, and Shrink
|
5
website-next/docs/examples/flex-direction.mdx
Normal file
5
website-next/docs/examples/flex-direction.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
---
|
||||
|
||||
# Flex Direction
|
5
website-next/docs/examples/flex-wrap.mdx
Normal file
5
website-next/docs/examples/flex-wrap.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 7
|
||||
---
|
||||
|
||||
# Flex Wrap
|
5
website-next/docs/examples/gap.mdx
Normal file
5
website-next/docs/examples/gap.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 8
|
||||
---
|
||||
|
||||
# Gap
|
5
website-next/docs/examples/justify-content.mdx
Normal file
5
website-next/docs/examples/justify-content.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 9
|
||||
---
|
||||
|
||||
# Justify Content
|
5
website-next/docs/examples/layout-direction.mdx
Normal file
5
website-next/docs/examples/layout-direction.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 10
|
||||
---
|
||||
|
||||
# Layout Direction
|
5
website-next/docs/examples/margin-padding-border.mdx
Normal file
5
website-next/docs/examples/margin-padding-border.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 11
|
||||
---
|
||||
|
||||
# Margin, Padding, and Border
|
5
website-next/docs/examples/min-max-width-height.mdx
Normal file
5
website-next/docs/examples/min-max-width-height.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 12
|
||||
---
|
||||
|
||||
# Min/Max Width and Height
|
5
website-next/docs/examples/position.mdx
Normal file
5
website-next/docs/examples/position.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 13
|
||||
---
|
||||
|
||||
# Absolute/Relative/Static Positioning
|
5
website-next/docs/examples/width-height.mdx
Normal file
5
website-next/docs/examples/width-height.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 14
|
||||
---
|
||||
|
||||
# Width and Height
|
Reference in New Issue
Block a user