Skip to content

Commit

Permalink
Guides organization
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Feb 18, 2013
1 parent 498bab3 commit 3cb4479
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Guides/NSFormatter.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](sample_code)
[up](../../../../GRMustache#documentation), [next](filters.md)

NSFormatter
===========
Expand Down Expand Up @@ -104,4 +104,4 @@ Get inspired

NSFormatter has been turned into a citizen of GRMustache using public APIs: check [the code](../src/classes/NSFormatter%2BGRMustache.m) for inspiration.

[up](../../../../GRMustache#documentation), [next](sample_code)
[up](../../../../GRMustache#documentation), [next](filters.md)
4 changes: 2 additions & 2 deletions Guides/compatibility.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](configuration.md)
[up](../../../../GRMustache#documentation), [next](runtime_patterns.md)

Compatibility With Other Mustache Engines
=========================================
Expand Down Expand Up @@ -149,4 +149,4 @@ Tag delegates may be used for formatting values in a spec-compliant way (see sam
They are an ambiguous tool. You will have to know when you cross the line.


[up](../../../../GRMustache#documentation), [next](configuration.md)
[up](../../../../GRMustache#documentation), [next](runtime_patterns.md)
4 changes: 2 additions & 2 deletions Guides/html_vs_text.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](filters.md)
[up](../../../../GRMustache#documentation), [next](standard_library.md)

HTML vs. Text Templates
=======================
Expand Down Expand Up @@ -155,4 +155,4 @@ The [Mustache specification](https://github.com/mustache/spec) does not have any
**If your goal is to design templates that remain compatible with [other Mustache implementations](https://github.com/defunkt/mustache/wiki/Other-Mustache-implementations), use {{{ triple }}} mustache tags, and don't mix text with HTML.**
[up](../../../../GRMustache#documentation), [next](filters.md)
[up](../../../../GRMustache#documentation), [next](standard_library.md)
4 changes: 2 additions & 2 deletions Guides/protected_contexts.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](NSFormatter.md)
[up](../../../../GRMustache#documentation), [next](compatibility.md)

Protected Contexts
==================
Expand Down Expand Up @@ -116,4 +116,4 @@ The [Mustache specification](https://github.com/mustache/spec) does not have any
**If your goal is to design templates that remain compatible with [other Mustache implementations](https://github.com/defunkt/mustache/wiki/Other-Mustache-implementations), use protected objects with great care.**
[up](../../../../GRMustache#documentation), [next](NSFormatter.md)
[up](../../../../GRMustache#documentation), [next](compatibility.md)
4 changes: 2 additions & 2 deletions Guides/runtime.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](runtime_patterns.md)
[up](../../../../GRMustache#documentation), [next](configuration.md)

GRMustache runtime
==================
Expand Down Expand Up @@ -406,4 +406,4 @@ That's unfortunate. Anyway, for the record, here is a reminder of all false valu
- empty strings `@""`
- empty enumerables.

[up](../../../../GRMustache#documentation), [next](runtime_patterns.md)
[up](../../../../GRMustache#documentation), [next](configuration.md)
4 changes: 2 additions & 2 deletions Guides/runtime_patterns.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](standard_library.md)
[up](../../../../GRMustache#documentation), [next](sample_code/indexes.md)

Patterns For Feeding GRMustache Templates
=========================================
Expand Down Expand Up @@ -297,4 +297,4 @@ Of course, it's hard to believe that the age of a pet can have you write so much
**ViewModel Drawbacks**: Not done in five minutes. Quickly looks overdesigned, especially in a tutorial like this Guide.
[up](../../../../GRMustache#documentation), [next](standard_library.md)
[up](../../../../GRMustache#documentation), [next](sample_code/indexes.md)
4 changes: 2 additions & 2 deletions Guides/standard_library.md
@@ -1,4 +1,4 @@
[up](../../../../GRMustache#documentation), [next](compatibility.md)
[up](../../../../GRMustache#documentation), [next](NSFormatter.md)

The Standard Library
====================
Expand Down Expand Up @@ -222,4 +222,4 @@ All items of the standard library are built using public APIs: check the code fo
- [GRMustacheLocalizer.m](../src/classes/GRMustacheLocalizer.m)
[up](../../../../GRMustache#documentation), [next](compatibility.md)
[up](../../../../GRMustache#documentation), [next](NSFormatter.md)
21 changes: 10 additions & 11 deletions README.md
Expand Up @@ -53,35 +53,34 @@ Introduction:
- [Introduction](Guides/introduction.md): a tour of the library features, and most common use cases.
Loading templates:
Basics:
- [Templates](Guides/templates.md): how to load templates.
- [Partials](Guides/partials.md): decompose your templates into components named "partials".
- [Templates Repositories](Guides/template_repositories.md): manage groups of templates.
Rendering templates:
- [Runtime](Guides/runtime.md): how GRMustache renders your data.
- [Feeding The Templates](Guides/runtime_patterns.md): an overview of various techniques to feed templates.
Standard library:
Services:
- [Configuration](Guides/configuration.md)
- [HTML vs. Text templates](Guides/html_vs_text.md)
- [Standard Library](Guides/standard_library.md): built-in candy, for your convenience.
- [NSFormatter](Guides/NSFormatter.md), NSNumberFormatter, NSDateFormatter, etc. Use them.
Mustache, and beyond:
Hooks:
- [Compatibility](Guides/compatibility.md): compatibility with other Mustache implementations, in details.
- [Configuration](Guides/configuration.md)
- [HTML vs. Text templates](Guides/html_vs_text.md)
- [Filters](Guides/filters.md): `{{ uppercase(name) }}` et al.
- [Tag Delegates](Guides/delegate.md): observe and alter template rendering.
- [Rendering Objects](Guides/rendering_objects.md): "Mustache lambdas", and more.
- [Protected Contexts](Guides/protected_contexts.md): protect some keys so that they always evaluate to the same value.
- [NSFormatter](Guides/NSFormatter.md), NSNumberFormatter, NSDateFormatter, etc. Use them.
Mustache, and beyond:
- [Compatibility](Guides/compatibility.md): compatibility with other Mustache implementations, in details.
### Sample code
- [Feeding The Templates](Guides/runtime_patterns.md): an overview of various techniques to feed templates.
- [Collection Indexes](Guides/sample_code/indexes.md): how to render array indexes, render sections for the first or the last element, for odd or even elements, etc.
### Reference
Expand Down

0 comments on commit 3cb4479

Please sign in to comment.