Import the pebble dev site into devsite/

This commit is contained in:
Katharine Berry 2025-02-17 17:02:33 -08:00
parent 3b92768480
commit 527858cf4c
1359 changed files with 265431 additions and 0 deletions

View file

@ -0,0 +1,107 @@
---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: guides/master
sidebar_only: false
regenerate: true
---
{% include utils/toc_small.html toc=page.toc %}
<div class="row">
<div class="col-l-8 col-m-12">
<h1 class="pagetitle">{{ page.title }}</h1>
{% if page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' and page.platforms contains 'emery' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide does not apply to apps built to run on the Aplite platform
(Pebble Classic, Pebble Steel).
</p>
</div>
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Basalt or Chalk platforms
(Pebble Time, Pebble Time Steel and Pebble Time Round).
</p>
</div>
{% elsif page.platforms contains 'basalt' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Basalt platform
(Pebble Time and Pebble Time Steel).
</p>
</div>
{% elsif page.platforms contains 'chalk' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Chalk platform
(Pebble Time Round watches).
</p>
</div>
{% endif %}
<!--
{% if page.platform_choice %}
{% include platform-choice.html %}
{% endif %}
-->
<div class="markdown markdown--staff">
{% if page.platform_choice %}
{% include platform-choice.html %}
{% endif %}
{{ content }}
</div>
{% unless page.hide_comments %}
<a id="comments" class="anchor"></a>
<div id="disqus_thread" aria-live="polite" data-post-url="https://developer.getpebble.com{{ page.url }}">
You need JavaScript enabled to read and post comments.
</div>
{% endunless %}
{% comment %}
<hr>
<div>
<a href="javascript:void(0);" style="float: right; color: #666;" data-modal-target="#modal-contributors-help" data-modal-fit-viewport="false"><i class="fa fa-question-circle fa-fw fa-lg"></i></a>
<h4 id="contributors">Contributors</h4>
{% git_contributors page %}
</div>
{% endcomment %}
</div>
{% if page.toc or page.related_docs or page.related_examples %}
<div class="col-m-4 hidden-s hidden-xs hidden-m">
<div class="gray-box gray-box--fixed gray-box--scrollspy">
{% include utils/toc_large.html toc=page.toc %}
{% if page.related_docs %}
<h3>Related SDK Docs</h3>
<ul>
{% for doc in page.related_docs %}
<li><a href="{{ doc.url }}">{{ doc.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if page.related_examples %}
<h3>Examples</h3>
<ul>
{% for example in page.related_examples %}
<li><a href="{{ example.url }}" target="_blank">{{ example.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
{% endif %}
</div>

View file

@ -0,0 +1,30 @@
---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: guides/default
---
<div class="alert alert--bg-purple alert--fg-white">
<h5>Work In Progress</h5>
<p>
These guides are still a work in progress and are subject to changes and
improvements over time.
</p>
<p>
<a href="/guides/design-and-interaction/#changelog">See the changelog</a>
for update information. Check back soon!
</p>
</div>
{{ content }}

View file

@ -0,0 +1,5 @@
---
layout: guides/default
title: Dummy
description: Details
---

View file

@ -0,0 +1,61 @@
---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: sidebar_narrow
menu_section: guides
---
<div class="section-menu section-menu--guides section-menu--light">
<div class="section-menu__header">
<h3><a href="/guides/">Guides</a></h3>
</div>
<ul>
<li class="section-menu__item{% if page.url == '/guides/toc/' %} active{% endif %}">
<a href="/guides/toc/">Table of Contents</a>
</li>
{% for group in site.data.guides %}
{% assign grp_name = group[0] %}
{% assign grp = group[1] %}
{% capture grp_url %}/guides/{{ grp_name }}/{% endcapture %}
<li class="section-menu__item{% if page.guide_group == grp_name %} open{% if page.url == grp_url %} active{% endif %}{% endif %}">
<a href="/guides/{{ grp_name }}/">
{% if grp.starred == true %} <i class="fa fa-star fa-fw"></i>{% endif %}
{{ grp.title }}
</a>
{% if page.guide_group == grp_name %}
<ul>
{% if grp.guides.size > 0 %}
{% assign group_docs = grp.guides | sort: grp.sort_by %}
{% for doc in group_docs %}
{% if doc.menu %}
<li class="section-menu__subitem{% if page.url == doc.url %} active{% endif %}">
<a href="{{ site.baseurl }}{{ doc.url }}"><span>{{ doc.title }}</span></a>
</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div><!-- sidebar__wrapper -->
<div class="content content--section-menu">
{% include search.html %}
<div class="container--full">
{{content}}
</div>
</div>

View file

@ -0,0 +1,62 @@
---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: sidebar_narrow
menu_section: guides
sidebar_only: false
---
<div class="section-menu section-menu--guides section-menu--light">
<div class="section-menu__header">
<h3><a href="/guides/">Guides</a></h3>
</div>
<ul>
<li class="section-menu__item{% if page.url == '/guides/toc/' %} active{% endif %}">
<a href="/guides/toc/">Table of Contents</a>
</li>
{% for group in site.data.guides %}
{% assign grp_name = group[0] %}
{% assign grp = group[1] %}
{% capture grp_url %}/guides/{{ grp_name }}/{% endcapture %}
<li class="section-menu__item{% if page.guide_group == grp_name %} open{% if page.url == grp_url %} active{% endif %}{% endif %}">
<a href="/guides/{{ grp_name }}/">
{% if grp.starred == true %} <i class="fa fa-star fa-fw"></i>{% endif %}
{{ grp.title }}
</a>
{% if page.guide_group == grp_name %}
<ul>
{% if grp.guides.size > 0 %}
{% assign group_docs = grp.guides | sort: grp.sort_by %}
{% for doc in group_docs %}
{% if doc.menu %}
<li class="section-menu__subitem{% if page.url == doc.url %} active{% endif %}">
<a href="{{ site.baseurl }}{{ doc.url }}"><span>{{ doc.title }}</span></a>
</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div><!-- sidebar__wrapper -->
<div class="content content--section-menu">
{% include search.html %}
<div class="container">
{{content}}
</div>
</div>

View file

@ -0,0 +1,98 @@
---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
layout: guides/master
---
{% include utils/toc_small.html toc=page.toc %}
<div class="row">
<div class="col-m-12">
<h1 class="pagetitle">{{ page.title }}</h1>
{% if page.platforms contains 'basalt' and page.platforms contains 'chalk' and page.platforms contains 'diorite' and page.platforms contains 'emery' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide does not apply to apps built to run on the Aplite platform
(Pebble Classic, Pebble Steel).
</p>
</div>
{% elsif page.platforms contains 'basalt' and page.platforms contains 'chalk' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Basalt or Chalk platforms
(Pebble Time, Pebble Time Steel and Pebble Time Round).
</p>
</div>
{% elsif page.platforms contains 'basalt' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Basalt platform
(Pebble Time and Pebble Time Steel).
</p>
</div>
{% elsif page.platforms contains 'chalk' %}
<div class="alert alert--fg-white alert--bg-purple alert--medium">
<p>
<strong>PLATFORM NOTICE</strong><br>
This guide only applies for apps built to run on the Chalk platform
(Pebble Time Round watches).
</p>
</div>
{% endif %}
{% if page.platform_choice %}
{% include platform-choice.html %}
{% endif %}
<div>{{ content }}</div>
{% unless page.hide_comments %}
<a id="comments" class="anchor"></a>
<div id="disqus_thread" aria-live="polite" data-post-url="https://developer.getpebble.com{{ page.url }}">
You need JavaScript enabled to read and post comments.
</div>
{% endunless %}
{% comment %}
<hr>
<div>
<a href="javascript:void(0);" style="float: right; color: #666;" data-modal-target="#modal-contributors-help" data-modal-fit-viewport="false"><i class="fa fa-question-circle fa-fw fa-lg"></i></a>
<h4 id="contributors">Contributors</h4>
{% git_contributors page %}
</div>
{% endcomment %}
</div>
{% if page.toc or page.related_docs or page.related_examples %}
<div class="col-m-4 hidden-s hidden-xs hidden-m">
<div class="gray-box gray-box--fixed gray-box--scrollspy">
{% include utils/toc_large.html toc=page.toc %}
{% if page.related_docs %}
<h3>Related SDK Docs</h3>
<ul>
{% for doc in page.related_docs %}
<li><a href="{{ doc.url }}">{{ doc.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if page.related_examples %}
<h3>Examples</h3>
<ul>
{% for example in page.related_examples %}
<li><a href="{{ example.url }}" target="_blank">{{ example.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
{% endif %}
</div>