Skip to content

Commit c3a807f

Browse files
committed
sitewide: replace getpebble.com links with equivalent rebble.io ones
Also trim trailing newlines, since my editor likes to automatically do that. Signed-off-by: Ruby Iris Juric <[email protected]>
1 parent 1c8ee4b commit c3a807f

22 files changed

+184
-187
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [developer.pebble.com][site]
1+
# [developer.rebble.io][site]
22

33
[![Build static site](https://github.com/pebble-dev/developer.rebble.io/actions/workflows/build.yml/badge.svg)](https://github.com/pebble-dev/developer.rebble.io/actions/workflows/build.yml)
44

@@ -176,9 +176,8 @@ the text color, use `--fg-<COLOR>`.
176176

177177
Trouble building the developer site? Read the [Troubleshooting](/docs/troubleshooting.md) page for some possible solutions.
178178

179-
[site]: https://developer.pebble.com
179+
[site]: https://developer.rebble.io
180180
[markdown]: ./docs/markdown.md
181181
[slick]: http://kenwheeler.github.io/slick/
182182
[tinypng]: https://tinypng.com/
183183
[tinyjpg]: https://tinyjpg.com/
184-
[travis]: https://magnum.travis-ci.com/pebble/developer.getpebble.com

_config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
url: https://developer.pebble.com
16-
https_url: https://developer.pebble.com
15+
url: https://developer.rebble.io
16+
https_url: https://developer.rebble.io
1717
baseurl:
1818
asset_path: /assets
1919
external_server: https://developer-api.getpebble.com
@@ -51,15 +51,15 @@ sass:
5151

5252
# Helpful and easily changeable external links.
5353
links:
54-
pebble: https://www.pebble.com
54+
pebble: https://rebble.io
5555
jobs: https://www.pebble.com/jobs/
5656
twitter: https://twitter.com/pebbledev/
5757
cloudpebble: https://cloudpebble.net/
5858
cloudpebble_beta: https://beta.cloudpebble.net/
5959
devportal: https://dev-portal.rebble.io/
6060
site_repo: https://github.com/pebble-dev/developer.rebble.io
6161
community_resources_repo: https://github.com/pebble/community-resources/
62-
github: https://github.com/pebble/
62+
github: https://github.com/pebble-dev/
6363
forums: https://forums.pebble.com
6464
forums_developer: https://forums.pebble.com/c/development
6565
pebblekit_android: https://github.com/pebble/pebble-android-sdk/
@@ -71,7 +71,7 @@ links:
7171
cookies: https://www.pebble.com/legal/cookies/
7272
s3_assets: https://developer-assets.getpebble.com
7373
pebble_tool_root: https://s3.amazonaws.com/assets.getpebble.com/pebble-tool/
74-
libpebble: https://github.com/pebble/libpebble2
74+
libpebble: https://github.com/pebble-dev/libpebble2
7575
kickstarter3: https://www.kickstarter.com/projects/597507018/pebble-2-time-2-and-core-an-entirely-new-3g-ultra
7676
discord_invite: http://discord.gg/aRUAYFN
7777

docs/environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This overrides the `url` configuration parameter of Jeyll. Set this to the root
88
of where the site will be hosted.
99

1010
```
11-
URL=http://developer.pebble.com
11+
URL=https://developer.rebble.io
1212
```
1313

1414
## HTTPS_URL
@@ -17,7 +17,7 @@ This overrides the `https_url` configuration parameter of Jeyll. Set this to
1717
the secure root of where the site will be hosted.
1818

1919
```
20-
HTTPS_URL=https://developer.pebble.com
20+
HTTPS_URL=https://developer.rebble.io
2121
```
2222

2323
## PORT

source/_changelogs/2.0-BETA4.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ date: 2013-12-23
2222
* Applications written for Pebble 1.x are not compatible with SDK 2.0
2323
* If a 2.0 version of an application exists, the Pebble mobile applications will automatically install it when when a user upgrades her/his Pebble.
2424

25-
**You can start uploading your application to the Pebble appstore TODAY - [Please do so](http://dev-portal.getpebble.com/)!**
25+
**You can start uploading your application to the Pebble appstore TODAY - [Please do so]({{ site.links.devportal }})!**
2626

2727
## What has changed since BETA3
2828

@@ -99,4 +99,3 @@ Overview:
9999
### Examples
100100

101101
- Added a License to the examples
102-

source/_changelogs/2.0-BETA5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ date: 2014-01-10
2121
* Applications written for Pebble 1.x are not compatible with SDK 2.0
2222
* If a 2.0 version of an application exists, the Pebble mobile applications will automatically install it when when a user upgrades her/his Pebble.
2323

24-
**You can start uploading your application to the Pebble appstore TODAY - [Please do so](http://dev-portal.getpebble.com/)!**
24+
**You can start uploading your application to the Pebble appstore TODAY - [Please do so]({{ site.links.devportal }})!**
2525

2626
## What has changed since BETA4
2727

source/_guides/appstore-publishing/appstore-assets.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ order: 3
2222
---
2323

2424
A number of graphical assets are required when publishing an app on the
25-
[Developer Portal](https://dev-portal.getpebble.com/), such as a marketing
25+
[Developer Portal]({{ site.links.devportal }}), such as a marketing
2626
banners. The resources on this page serve to help developers give these assets a
2727
more authentic feel.
2828

2929

3030
## Example Marketing Banners
3131

32-
Example
33-
[marketing banners](https://s3.amazonaws.com/developer.getpebble.com/assets/other/banner-examples.zip)
32+
Example
33+
[marketing banners](https://s3.amazonaws.com/developer.getpebble.com/assets/other/banner-examples.zip)
3434
from existing apps may help provide inspiration for an app's appstore banner
3535
design. Readable fonts, an appropriate background image, and at least one framed
3636
screenshot are all recommended.
@@ -40,16 +40,16 @@ screenshot are all recommended.
4040

4141
![](/images/guides/appstore-publishing/perspective-right.png =400x)
4242

43-
Use these
44-
[blank PSD templates](https://s3.amazonaws.com/developer.getpebble.com/assets/other/banner-templates-design.zip)
43+
Use these
44+
[blank PSD templates](https://s3.amazonaws.com/developer.getpebble.com/assets/other/banner-templates-design.zip)
4545
to start a new app marketing banner in Photoshop from a template.
4646

4747

4848
## App Screenshot Frames
4949

5050
Use these
51-
[example screenshot frames](https://s3.amazonaws.com/developer.getpebble.com/assets/other/pebble-frames.zip)
51+
[example screenshot frames](https://s3.amazonaws.com/developer.getpebble.com/assets/other/pebble-frames.zip)
5252
for Pebble, Pebble Steel, Pebble Time, Pebble Time Steel, and Pebble Time Round
53-
to decorate app screenshots in marketing banners and other assets.
53+
to decorate app screenshots in marketing banners and other assets.
5454

5555
> Note: The screenshots added to the listing itself must not be framed.

source/_guides/appstore-publishing/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ hide_comments: true
2424
---
2525

2626
When a developer is happy that their app is feature-complete and stable, they
27-
can upload the compiled `.pbw` file to the
28-
[Developer Portal](https://dev-portal.getpebble.com) to make it available on the
27+
can upload the compiled `.pbw` file to the
28+
[Developer Portal]({{ site.links.devportal }}) to make it available on the
2929
Pebble appstore for all users with compatible watches to share and enjoy.
3030

3131
In order to be successfully listed in the Pebble appstore the developer must:

source/_guides/appstore-publishing/preparing-a-submission.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ guide_group: appstore-publishing
2020
order: 0
2121
---
2222

23-
Once a new Pebble watchface or watchapp has been created, the
24-
[Pebble Developer Portal](https://dev-portal.getpebble.com/) allows the
23+
Once a new Pebble watchface or watchapp has been created, the
24+
[Pebble Developer Portal]({{ site.links.devportal }}) allows the
2525
developer to publish their creation to the appstore either publicly, or
2626
privately. The appstore is built into the official mobile apps and means that
2727
every new app can be found and also featured for increased exposure and
@@ -33,7 +33,7 @@ publicity.
3333
3434
To build the appstore listing for a new app, the following resources are
3535
required from the developer. Some may not be required, depending on the type of
36-
app being listed. Read
36+
app being listed. Read
3737
{% guide_link appstore-publishing/publishing-an-app#listing-resources "Listing Resources" %}
3838
for a comparison.
3939

@@ -89,16 +89,16 @@ also download the companion app automatically.
8989
## Timeline
9090

9191
Developers that require the user of the timeline API will need to click 'Enable
92-
timeline' to obtain API keys used for pushing pins. See the
92+
timeline' to obtain API keys used for pushing pins. See the
9393
{% guide_link pebble-timeline %} guides for more information.
9494

9595

9696
## Promotion
9797

9898
Once published, the key to growth in an app is through promotion. Aside from
99-
users recommending the app to each other, posting on websites such as the
100-
[Pebble Forums](https://forums.getpebble.com/categories/watchapp-directory),
101-
[Reddit](https://www.reddit.com/r/pebble), and [Twitter](https://twitter.com)
99+
users recommending the app to each other, posting on websites such as the
100+
[Pebble Forums](https://forums.getpebble.com/categories/watchapp-directory),
101+
[Reddit](https://www.reddit.com/r/pebble), and [Twitter](https://twitter.com)
102102
can help increase exposure.
103103

104104

source/_guides/appstore-publishing/publishing-an-app.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ order: 1
2121
---
2222

2323
When an app is ready for publishing, the `.pbw` file needs to be uploaded to the
24-
Pebble [Developer Portal](https://dev-portal.getpebble.com/), where a listing is
24+
Pebble [Developer Portal]({{ site.links.devportal }}), where a listing is
2525
created. Depending on the type of app, different sets of additional resources
2626
are required. These resources are then used to generate the listing pages
27-
visible to potential users in the Pebble appstore, which is embedded within the Pebble mobile app.
27+
visible to potential users in the Pebble appstore, which is embedded within the Pebble mobile app.
2828

29-
You can also view the [watchfaces](http://apps.getpebble.com/en_US/watchfaces)
30-
and [watchapps](http://apps.getpebble.com/en_US/watchapps) from a desktop
29+
You can also view the [watchfaces](http://apps.rebble.io/en_US/watchfaces)
30+
and [watchapps](http://apps.rebble.io/en_US/watchapps) from a desktop
3131
computer, as well as perform searches and get shareable links.
3232

3333

source/_guides/best-practices/conserving-battery-life.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ apps are discussed in this guide, alongside suggestions to help avoid them.
4141

4242
## Battery Ratings
4343

44-
Any app published in the [Developer Portal](https://dev-portal.getpebble.com)
44+
Any app published in the [Developer Portal]({{ site.links.devportal }})
4545
will have a battery grade associated with it, once a minimum threshold of data
4646
has been collected. This can be used to get a rough idea of how much battery
4747
power the app consumes. For watchfaces and apps that will be launched for long
@@ -64,7 +64,7 @@ A common cause of such a drain are long-running animations that cause frequent
6464
display updates. For example, a watchface that plays a half-second ``Animation``
6565
for every second that ticks by will drain the battery faster than one that does
6666
so only once per minute. The latter approach will allow a lot more time for the
67-
watch to sleep.
67+
watch to sleep.
6868

6969
```c
7070
static void tick_handler(struct tm *tick_time, TimeUnits changed) {
@@ -106,7 +106,7 @@ accel_tap_service_subscribe(tap_handler);
106106
Many watchfaces unecessarily tick once a second by using the ``SECOND_UNIT``
107107
constant value with the ``TickTimerService``, when they only update the display
108108
once a minute. By using the ``MINUTE_UNIT`` instead, the amount of times the
109-
watch is woken up per minute is reduced.
109+
watch is woken up per minute is reduced.
110110
111111
```c
112112
// Only tick once a minute, much more time asleep
@@ -131,7 +131,7 @@ sensors will also prevent the watch from going to sleep and consume more battery
131131
power. The ``AccelerometerService`` API features the ability to configure the
132132
sampling rate and number of samples received per update, allowing batching of
133133
data into less frequent updates. By receiving updates less frequently, the
134-
battery will last longer.
134+
battery will last longer.
135135

136136
```c
137137
// Batch samples into sets of 10 per callback
@@ -160,11 +160,11 @@ instead present a list of previous inputs if appropriate to reduce usage of this
160160
API.
161161

162162
```c
163-
static void dictation_session_callback(DictationSession *session, DictationSessionStatus status,
163+
static void dictation_session_callback(DictationSession *session, DictationSessionStatus status,
164164
char *transcription, void *context) {
165165
if(status == DictationSessionStatusSuccess) {
166166
// Display the dictated text
167-
snprintf(s_last_text, sizeof(s_last_text), "Transcription:\n\n%s",
167+
snprintf(s_last_text, sizeof(s_last_text), "Transcription:\n\n%s",
168168
transcription);
169169
text_layer_set_text(s_output_layer, s_last_text);
170170

@@ -181,7 +181,7 @@ static void dictation_session_callback(DictationSession *session, DictationSessi
181181
Hinted at above, frequent use of the ``AppMessage`` API to send and recieve data
182182
will cause the Bluetooth connection to enter a more responsive state, which
183183
consumes much more power. A small time after a message is sent, the connection
184-
will return back to a low-power state.
184+
will return back to a low-power state.
185185
186186
The 'sniff interval' determines how often the API checks for new messages from
187187
the phone, and should be let in the default ``SNIFF_INTERVAL_NORMAL`` state as

0 commit comments

Comments
 (0)