mirror of
https://github.com/google/pebble.git
synced 2025-05-28 05:53:12 +00:00
Import the pebble dev site into devsite/
This commit is contained in:
parent
3b92768480
commit
527858cf4c
1359 changed files with 265431 additions and 0 deletions
85
devsite/source/_layouts/docs.html
Normal file
85
devsite/source/_layouts/docs.html
Normal file
|
@ -0,0 +1,85 @@
|
|||
---
|
||||
# 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
|
||||
---
|
||||
<div class="section-menu section-menu--docs section-menu--dark">
|
||||
<div class="section-menu__header">
|
||||
{% case page.docs_language %}
|
||||
{% when 'c' %}
|
||||
<h3><a href="/docs/c/">Pebble C API</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% when 'c_preview' %}
|
||||
<h3><a href="/docs/c/preview/">Pebble C API (SDK 4 Preview)</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% when 'rockyjs' %}
|
||||
<h3><a href="/docs/rockyjs/">Pebble JavaScript API</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% when 'pebblekit_js' %}
|
||||
<h3><a href="/docs/pebblekit-js/">PebbleKit JS</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% when 'pebblekit_ios' %}
|
||||
<h3><a href="/docs/pebblekit-ios/">PebbleKit iOS</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% when 'pebblekit_android' %}
|
||||
<h3><a href="/docs/pebblekit-android/">PebbleKit Android</a><a href="#"><i class="fa fa-chevron-down fa-lg documentation-menu__arrow js-doc-menu-toggle"></i></a></h3>
|
||||
{% else %}
|
||||
<h3><a href="/docs/">Documentation</a></h3>
|
||||
{% endcase %}
|
||||
<ul class="documentation-menu js-doc-menu">
|
||||
<li><a href="/docs/c/">Pebble C API</a></li>
|
||||
{% if site.data.docs_tree.c_preview %}
|
||||
<li><a href="/docs/c/preview/">Pebble C API (preview)</a></li>
|
||||
{% endif %}
|
||||
<li><a href="/docs/rockyjs/">Pebble JavaScript API</a></li>
|
||||
<li><a href="/docs/pebblekit-js/">PebbleKit JS</a></li>
|
||||
<li><a href="/docs/pebblekit-ios/">PebbleKit iOS</a></li>
|
||||
<li><a href="/docs/pebblekit-android/">PebbleKit Android</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% 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 %}
|
||||
<ul>
|
||||
<li class="section-menu__item"><a href="/docs/c/">Pebble C API</a></li>
|
||||
{% if site.data.docs_tree.c_preview %}
|
||||
<li class="section-menu__item"><a href="/docs/c/preview/">Pebble C API (preview)</a></li>
|
||||
{% endif %}
|
||||
<li class="section-menu__item"><a href="/docs/rockyjs/">Pebble JavaScript API</a></li>
|
||||
<li class="section-menu__item"><a href="/docs/pebblekit-js/">PebbleKit JS</a></li>
|
||||
<li class="section-menu__item"><a href="/docs/pebblekit-ios/">PebbleKit iOS</a></li>
|
||||
<li class="section-menu__item"><a href="/docs/pebblekit-android/">PebbleKit Android</a></li>
|
||||
<!--
|
||||
<li class="section-menu__item"><a href="/docs/web-timeline/">Timeline Web API</a></li>
|
||||
<li class="section-menu__item"><a href="/docs/web-appglance/">AppGlance Web API</a></li>
|
||||
-->
|
||||
</ul>
|
||||
{% endcase %}
|
||||
</div>
|
||||
</div><!-- sidebar__wrapper -->
|
||||
<div class="content content--section-menu">
|
||||
{% include search.html %}
|
||||
<div class="container">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue