--- # 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: docs search_primary: docs ---
{% case page.docs_language %} {% when 'c' %}

Pebble C API

{% when 'c_preview' %}

Pebble C API (SDK 4 Preview)

{% when 'rockyjs' %}

Pebble JavaScript API

{% when 'pebblekit_js' %}

PebbleKit JS

{% when 'pebblekit_ios' %}

PebbleKit iOS

{% when 'pebblekit_android' %}

PebbleKit Android

{% else %}

Documentation

{% endcase %}
{% case page.docs_language %} {% when 'c' %} {% include docs/menu.html tree=site.data.docs_tree.c group=page.group %} {% when 'c_preview' %} {% include docs/menu.html tree=site.data.docs_tree.c_preview group=page.group %} {% when 'rockyjs' %} {% include docs/menu.html tree=site.data.docs_tree.rockyjs group=page.js_module %} {% when 'pebblekit_js' %} {% include docs/menu.html tree=site.data.docs_tree.pebblekit_js group=page.js_module %} {% when 'pebblekit_ios' %} {% include docs/menu.html tree=site.data.docs_tree.pebblekit_ios group=page.group %} {% when 'pebblekit_android' %} {% include docs/menu.html tree=site.data.docs_tree.pebblekit_android group=page.group %} {% else %} {% endcase %}
{% include search.html %}
{{ content }}