Skip to content

Commit 16645dd

Browse files
hellcpSorixelle
authored andcommitted
Add mentions of flint to the documentation
Signed-off-by: Stasia Michalska <[email protected]>
1 parent 006915e commit 16645dd

File tree

8 files changed

+38
-18
lines changed

8 files changed

+38
-18
lines changed

source/_guides/app-resources/platform-specific.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ platform.
2828

2929
The follows tags exist for each platform:
3030

31-
| Aplite | Basalt | Chalk | Diorite | Emery |
32-
|---------|------------|------------|---------|------------|
33-
| rect | rect | round | rect | rect |
34-
| bw | color | color | bw | color |
35-
| aplite | basalt | chalk | diroite | emery |
36-
| 144w | 144w | 180w | 144w | 220w |
37-
| 168h | 168h | 180h | 168h | 228h |
38-
| compass | compass | compass | | compass |
39-
| | mic | mic | mic | mic |
40-
| | strap | strap | strap | strap |
41-
| | strappower | strappower | | strappower |
42-
| | health | health | health | health |
31+
| Aplite | Basalt | Chalk | Diorite | Emery | Flint |
32+
|---------|------------|------------|---------|------------|---------|
33+
| rect | rect | round | rect | rect | rect |
34+
| bw | color | color | bw | color | bw |
35+
| aplite | basalt | chalk | diroite | emery | flint |
36+
| 144w | 144w | 180w | 144w | 220w | 144w |
37+
| 168h | 168h | 180h | 168h | 228h | 168h |
38+
| compass | compass | compass | | compass | compass |
39+
| | mic | mic | mic | mic | mic |
40+
| | strap | strap | strap | strap | |
41+
| | strappower | strappower | | strappower | |
42+
| | health | health | health | health | health |
4343

4444

4545
To tag a resource, add the tags after the file's using tildes (`~`) — for

source/_guides/best-practices/building-for-every-pebble.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ order: 0
2222
The difference in capabilities between the various Pebble hardware platforms are
2323
listed in
2424
{% guide_link tools-and-resources/hardware-information %}. For example, the
25-
Basalt, Chalk and Emery platforms support 64 colors, whereas the Aplite and
26-
Diorite platforms only support two colors. This can make developing apps with
25+
Basalt, Chalk and Emery platforms support 64 colors, whereas the Aplite, Diorite
26+
and Flint platforms only support two colors. This can make developing apps with
2727
rich color layouts difficult when considering compatibility with other non-color
2828
hardware. Another example is using platform specific APIs such as Health or
2929
Dictation.
@@ -101,6 +101,7 @@ better used to select an entire block of code.
101101
| `PBL_PLATFORM_CHALK` | None | Built for Pebble Time Round. |
102102
| `PBL_PLATFORM_DIORITE` | None | Built for Pebble 2. |
103103
| `PBL_PLATFORM_EMERY` | None | Built for Pebble Time 2. |
104+
| `PBL_PLATFORM_FLINT` | None | Built for Pebble 2 Duo. |
104105
| `PBL_SDK_2` | None | Compiling with SDK 2.x (deprecated). |
105106
| `PBL_SDK_3` | None | Compiling with SDK 3.x. or 4.x. |
106107
@@ -135,7 +136,7 @@ static void window_load(Window *window) {
135136
```
136137
137138
The hardcoded width and height of this layer will cover the entire screen on
138-
Aplite, Basalt and Diorite, but not on Chalk or Emery. This kind of screen
139+
Aplite, Basalt, Diorite and Flint, but not on Chalk or Emery. This kind of screen
139140
size-dependant calculation should use the ``UnobstructedArea`` bounds of the
140141
``Window`` itself:
141142
@@ -323,7 +324,7 @@ With the availability of color support on Basalt, Chalk and Emery, developers
323324
may wish to include color versions of resources that had previously been
324325
pre-processed for Pebble's black and white display. Including both versions of
325326
the resource is expensive from a resource storage perspective, and lays the
326-
burden of packing redundant color resources in an Aplite or Diorite app when
327+
burden of packing redundant color resources in an Aplite, Diorite or Flint app when
327328
built for multiple platforms.
328329

329330
To solve this problem, the Pebble SDK allows developers to specify which version

source/_guides/events-and-services/dictation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ platforms:
2323
- chalk
2424
- diorite
2525
- emery
26+
- flint
2627
related_docs:
2728
- Dictation
2829
related_examples:

source/_guides/events-and-services/health.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ platforms:
2424
- chalk
2525
- diorite
2626
- emery
27+
- flint
2728
related_docs:
2829
- HealthService
2930
related_examples:

source/_guides/user-interfaces/content-size.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ and `ContentSize`:
6868

6969
Platform | Text Size: Small | Text Size: Medium | Text Size: Large
7070
---------|------------------|-------------------|-----------------
71-
Aplite, Basalt, Chalk, Diorite | ContentSize: Small | ContentSize: Medium | ContentSize: Large
71+
Aplite, Basalt, Chalk, Diorite, Flint | ContentSize: Small | ContentSize: Medium | ContentSize: Large
7272
Emery | ContentSize: Medium | ContentSize: Large | ContentSize: Extra Large
7373

7474
> *At present the Text Size setting only affects notifications and some system

source/_layouts/guides/default.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ <h1 class="pagetitle">{{ page.title }}</h1>
3030
(Pebble Classic, Pebble Steel).
3131
</p>
3232
</div>
33+
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' %}
34+
<div class="alert alert--fg-white alert--bg-purple alert--medium">
35+
<p>
36+
<strong>PLATFORM NOTICE</strong><br>
37+
This guide does not apply to apps built to run on the Aplite, Emery or Flint platforms
38+
(Pebble Classic, Pebble Steel, Pebble Time 2* and Pebble 2 Duo).
39+
</p>
40+
</div>
3341
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' %}
3442
<div class="alert alert--fg-white alert--bg-purple alert--medium">
3543
<p>

source/_layouts/guides/wide.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,22 @@
2020
<div class="row">
2121
<div class="col-m-12">
2222
<h1 class="pagetitle">{{ page.title }}</h1>
23-
{% if page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' and page.platforms contains 'emery' %}
23+
{% if page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' and page.platforms contains 'emery' and page.platforms contains 'flint' %}
2424
<div class="alert alert--fg-white alert--bg-purple alert--medium">
2525
<p>
2626
<strong>PLATFORM NOTICE</strong><br>
2727
This guide does not apply to apps built to run on the Aplite platform
2828
(Pebble Classic, Pebble Steel).
2929
</p>
3030
</div>
31+
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' %}
32+
<div class="alert alert--fg-white alert--bg-purple alert--medium">
33+
<p>
34+
<strong>PLATFORM NOTICE</strong><br>
35+
This guide does not apply to apps built to run on the Aplite, Emery or Flint platforms
36+
(Pebble Classic, Pebble Steel, Pebble Time 2* and Pebble 2 Duo).
37+
</p>
38+
</div>
3139
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' %}
3240
<div class="alert alert--fg-white alert--bg-purple alert--medium">
3341
<p>

source/tutorials/advanced/vector-animations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ platforms:
2727
- chalk
2828
- diorite
2929
- emery
30+
- flint
3031
---
3132

3233
Some of the best Pebble apps make good use of the ``Animation`` and the

0 commit comments

Comments
 (0)