[Website] Put all the guides in the table of content

This commit is contained in:
Christopher Chedeau 2015-03-13 21:30:00 -07:00
parent 2cdce0f3df
commit f598f05cc5
6 changed files with 36 additions and 2 deletions

View File

@ -4,7 +4,7 @@ title: Getting Started
layout: docs
category: Quick Start
permalink: docs/getting-started.html
next: navigatorios
next: network
---

View File

@ -1,3 +1,12 @@
---
id: network
title: Network
layout: docs
category: Guides
permalink: docs/network.html
next: pixels
---
One of React Native goal is to be a playground where we can experiment with different architectures and crazy ideas. Since browsers are not flexible enough, we had no choice but to reimplement the entire stack. In the places that we did not intend to change, we tried to be as faithful as possible to the browser APIs, the networking stack is a great example.
## XMLHttpRequest

View File

@ -1,3 +1,11 @@
---
id: pixels
title: Physical vs Logical Pixels
layout: docs
category: Guides
permalink: docs/pixels.html
next: style
---
## Pixel Grid Snapping

View File

@ -1,3 +1,11 @@
---
id: style
title: Style
layout: docs
category: Guides
permalink: docs/style.html
next: timers
---
## Declaring Styles

View File

@ -23,7 +23,7 @@ Behind the scenes, this is going to be converted to a flat NSAttributedString th
## Containers
The `<Text>` element is special relative to layout, everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a `<Text>` are no longer rectangles but wrap when they see the end of the line.
The `<Text>` element is special relative to layout, everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a `<Text>` are no longer rectangles but wrap when they see the end of the line.
```javascript
<Text>

View File

@ -1,3 +1,12 @@
---
id: timers
title: Timers
layout: docs
category: Guides
permalink: docs/timers.html
next: activityindicatorios
---
Timers are an important part of an application and React Native implements the [browser timers](https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Timers).
## Timers