Skip to content

Commit

Permalink
Update docs navigation orders (#1584)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanton authored and nguyenhuy committed Jul 15, 2019
1 parent 7da85c5 commit 88946c4
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/_data/nav_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
- containers-overview
- node-overview
- subclassing
- node-lifecycle
- faq
- title: Layout
items:
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Accessibility
layout: docs
permalink: /docs/accessibility.html
prevPage: placeholder-fade-duration.html
nextPage: layer-backing.html
nextPage: uicollectionviewinterop.html
---

Accessibility works seamlessly in ways that even UIKit doesn’t provide. When using the powerful optimization features of <a href = "layer-backing.html">Layer Backing</a> (`.layerBacked`) and <a href = "subtree-rasterization.html">Subtree Rasterization</a> (`.shouldRasterizeDescendants`), VoiceOver can access fine-grained metadata about each element. This is pretty amazing: `CALayer` doesn’t support accessibility, and rasterization reduces everything to a single flat image.
Expand Down
3 changes: 2 additions & 1 deletion docs/_docs/adoption-guide-2-0-beta1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "Upgrading to 2.0"
layout: docs
permalink: /docs/adoption-guide-2-0-beta1.html
prevPage: adoption-guide-2-0-beta1.html
prevPage: installation.html
nextPage: intelligent-preloading.html
---

<ol>
Expand Down
1 change: 1 addition & 0 deletions docs/_docs/asrunloopqueue.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: ASRunLoopQueue
layout: docs
permalink: /docs/asrunloopqueue.html
prevPage: asvisibility.html
nextPage: containers-asviewcontroller.html
---

Even with main thread work, Texture is able to dramatically reduce its impact on the user experience by way of the rather amazing ASRunLoopQueue.
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/asvisibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: ASVisibility
layout: docs
permalink: /docs/asvisibility.html
prevPage: debug-tool-ASRangeController.html
nextPage: asenvironment.html
nextPage: asrunloopqueue.html
---

`ASNavigationController` and `ASTabBarController` both implement the `ASVisibility` protocol. These classes can be used even without `ASDisplayNodes`, making them suitable base classes for your inheritance hierarchy. For any child view controllers that are <a href="containers-asviewcontroller.html">`ASViewControllers`</a>, these classes know the exact number of user taps it would take to make the view controller visible (0 if currently visible).
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/containers-asviewcontroller.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ASViewController
layout: docs
permalink: /docs/containers-asviewcontroller.html
prevPage: faq.html
prevPage: asrunloopqueue.html
nextPage: containers-asnodecontroller.html
---

Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: FAQ
layout: docs
permalink: /docs/faq.html
prevPage: subclassing.html
nextPage: containers-asviewcontroller.html
nextPage: layout2-quickstart.html
---

### Common Developer Mistakes
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/intelligent-preloading.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Intelligent Preloading
layout: docs
permalink: /docs/intelligent-preloading.html
prevPage: upgrading.html
prevPage: adoption-guide-2-0-beta1.html
nextPage: containers-overview.html
---

Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/layer-backing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Layer Backing
layout: docs
permalink: /docs/layer-backing.html
prevPage: accessibility.html
prevPage: uicollectionviewinterop.html
nextPage: subtree-rasterization.html
---

Expand Down
1 change: 1 addition & 0 deletions docs/_docs/layout2-api-sizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Layout API Sizing
layout: docs
permalink: /docs/layout2-api-sizing.html
prevPage: layout2-layout-element-properties.html
nextPage: layout-transition-api.html
---

Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/layout2-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Quickstart
layout: docs
permalink: /docs/layout2-quickstart.html
prevPage: multiplex-image-node.html
prevPage: faq.html
nextPage: automatic-layout-examples-2.html
---

Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/subclassing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Subclassing
layout: docs
permalink: /docs/subclassing.html
prevPage: containers-overview.html
prevPage: node-overview.html
nextPage: faq.html
---
The most important distinction when creating a subclass is whether you writing an ASViewController or an ASDisplayNode. This sounds obvious, but because some of these differences are subtle, it is important to keep this top of mind.
Expand Down
4 changes: 2 additions & 2 deletions docs/_docs/uicollectionviewinterop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: UICollectionViewCell Interoperability
layout: docs
permalink: /docs/uicollectionviewinterop.html
prevPage: placeholder-fade-duration.html
nextPage: accessibility.html
prevPage: accessibility.html
nextPage: layer-backing.html
---

Texture's `ASCollectionNode` offers compatibility with synchronous, standard `UICollectionViewCell` objects alongside native `ASCellNodes`.
Expand Down

0 comments on commit 88946c4

Please sign in to comment.