Skip to content

Commit 27c9c24

Browse files
committed
Vendor aplite doxygen_sdk and fix CI docs archive step
The site build requires both aplite and basalt doxygen_sdk in the docs zip. Since aplite is no longer built in CI, check in the pre-built aplite docs (from the last successful build) and copy them alongside the CI-built basalt docs when creating the archive.
1 parent e52694f commit 27c9c24

File tree

433 files changed

+96429
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

433 files changed

+96429
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/upload-artifact@v6
3939
with:
4040
name: docs-c
41-
path: build/sdk/
41+
path: build/sdk/basalt/doxygen_sdk
4242

4343
# TODO: maybe build in pebble-dev/pebble-android-sdk, and publish releases?
4444
gendocs-android:
@@ -97,8 +97,11 @@ jobs:
9797
- name: Create docs archives
9898
working-directory: /tmp/docs
9999
run: |
100-
cd docs-c
101-
zip -r ../PebbleSDK-4.3_docs.zip basalt/doxygen_sdk
100+
mkdir -p sdk-docs/basalt/doxygen_sdk sdk-docs/aplite
101+
cp -r docs-c/* sdk-docs/basalt/doxygen_sdk/
102+
cp -r "$GITHUB_WORKSPACE/aplite/doxygen_sdk" sdk-docs/aplite/
103+
cd sdk-docs
104+
zip -r ../PebbleSDK-4.3_docs.zip aplite/doxygen_sdk basalt/doxygen_sdk
102105
cd ..
103106
104107
mv docs-android javadoc
81.9 KB
Loading
26.3 KB
Loading

aplite/doxygen_sdk/html/annotated.html

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.
298 Bytes
Loading
103 KB
Loading

aplite/doxygen_sdk/html/bootstrap.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
<!DOCTYPE html>
2+
<!--
3+
Copyright 2024 Google LLC
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
-->
14+
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
15+
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
16+
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
17+
<head>
18+
<meta charset="utf-8">
19+
<title>Pebble SDK: Data Structure Index</title>
20+
<link href='bootstrap.css' media='screen' rel='stylesheet' type='text/css' />
21+
<link href='pebble-developer.css' media='screen' rel='stylesheet' type='text/css' />
22+
<link href="tabs.css" rel="stylesheet" type="text/css"/>
23+
<script type="text/javascript" src="jquery.js"></script>
24+
<script type="text/javascript" src="dynsections.js"></script>
25+
<link href="navtree.css" rel="stylesheet" type="text/css"/>
26+
<script type="text/javascript" src="navtreedata.js"></script>
27+
<script type="text/javascript" src="navtree.js"></script>
28+
<script type="text/javascript" src="cookie.js"></script>
29+
<link href="search/search.css" rel="stylesheet" type="text/css"/>
30+
<script type="text/javascript" src="search/searchdata.js"></script>
31+
<script type="text/javascript" src="search/search.js"></script>
32+
<script type="text/javascript">
33+
$(function() { init_search(); });
34+
</script>
35+
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
36+
<script type="text/javascript">
37+
var _gaq = _gaq || [];
38+
_gaq.push(['_setAccount', 'UA-30638158-4']);
39+
_gaq.push(['_trackPageview']);
40+
(function() {
41+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
42+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
43+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
44+
})();
45+
</script>
46+
</head>
47+
<body>
48+
<div id="top" ><!-- do not remove this div, it is closed by doxygen! -->
49+
<div class="navbar navbar-inverse ">
50+
<div class="navbar-inner">
51+
<div class="container">
52+
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
53+
<span class="icon-bar"></span>
54+
<span class="icon-bar"></span>
55+
<span class="icon-bar"></span>
56+
</button>
57+
<div class="nav-collapse collapse">
58+
<ul class="nav">
59+
<li><a class="first" href="#"><span></span></a></li>
60+
<li><a href="http://developer.getpebble.com/">Develop for Pebble</a></li>
61+
</ul>
62+
<ul class="nav pull-right">
63+
<li class="doc-nav-searchbox"> <div id="MSearchBox" class="MSearchBoxInactive">
64+
<span class="left">
65+
<span id="MSearchSelect" class="search-icon" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"><span class="search-icon-dropdown"></span></span>
66+
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
67+
onfocus="searchBox.OnSearchFieldFocus(true)"
68+
onblur="searchBox.OnSearchFieldFocus(false)"
69+
onkeyup="searchBox.OnSearchFieldChange(event)"/>
70+
</span><span class="right">
71+
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><div id="MSearchCloseImg" class="close-icon"></div></a>
72+
</span>
73+
</div>
74+
</li>
75+
<li><a href="http://forums.getpebble.com/">Forum</a></li>
76+
<li><a href="http://developer.getpebble.com/2/api-reference/modules.html">API Documentation</a></li>
77+
<li><a href="http://developer.getpebble.com/2/">Guides</a></li>
78+
<li><a href="http://developer.getpebble.com/blog/">Developer Blog</a></li>
79+
</ul>
80+
</div>
81+
</div>
82+
</div>
83+
</div>
84+
<!-- Generated by Doxygen 1.14.0 -->
85+
<script type="text/javascript">
86+
var searchBox = new SearchBox("searchBox", "search/",'.html');
87+
</script>
88+
<script type="text/javascript">
89+
$(function() { codefold.init(); });
90+
</script>
91+
</div><!-- top -->
92+
<div id="side-nav" class="ui-resizable side-nav-resizable">
93+
<div id="nav-tree">
94+
<div id="nav-tree-contents">
95+
<div id="nav-sync" class="sync"></div>
96+
</div>
97+
</div>
98+
<div id="splitbar" style="-moz-user-select:none;"
99+
class="ui-resizable-handle">
100+
</div>
101+
</div>
102+
<script type="text/javascript">
103+
$(function(){initNavTree('classes.html','',''); });
104+
</script>
105+
<div id="container">
106+
<div id="doc-content">
107+
<!-- window showing the filter options -->
108+
<div id="MSearchSelectWindow"
109+
onmouseover="return searchBox.OnSearchSelectShow()"
110+
onmouseout="return searchBox.OnSearchSelectHide()"
111+
onkeydown="return searchBox.OnSearchSelectKey(event)">
112+
</div>
113+
114+
<!-- iframe showing the search results (closed by default) -->
115+
<div id="MSearchResultsWindow">
116+
<div id="MSearchResults">
117+
<div class="SRPage">
118+
<div id="SRIndex">
119+
<div id="SRResults"></div>
120+
<div class="SRStatus" id="Loading">Loading...</div>
121+
<div class="SRStatus" id="Searching">Searching...</div>
122+
<div class="SRStatus" id="NoMatches">No Matches</div>
123+
</div>
124+
</div>
125+
</div>
126+
</div>
127+
128+
<div class="header">
129+
<div class="headertitle"><div class="title">Data Structure Index</div></div>
130+
</div><!--header-->
131+
<div class="contents">
132+
<div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_D">D</a>&#160;|&#160;<a class="qindex" href="#letter_G">G</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_N">N</a>&#160;|&#160;<a class="qindex" href="#letter_P">P</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_V">V</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a></div>
133+
<div class="classindex">
134+
<dl class="classindex even">
135+
<dt class="alphachar"><a id="letter_A" name="letter_A">A</a></dt>
136+
<dd><a class="el" href="group___accelerometer_service.html#struct_accel_data">AccelData</a></dd><dd><a class="el" href="group___accelerometer_service.html#struct_accel_raw_data">AccelRawData</a></dd><dd><a class="el" href="group___action_menu.html#struct_action_menu_config">ActionMenuConfig</a></dd><dd><a class="el" href="group___animation.html#struct_animation_handlers">AnimationHandlers</a></dd><dd><a class="el" href="group___animation.html#struct_animation_implementation">AnimationImplementation</a></dd><dd><a class="el" href="group___app_focus_service.html#struct_app_focus_handlers">AppFocusHandlers</a></dd><dd><a class="el" href="group___app_glance.html#struct_app_glance_slice">AppGlanceSlice</a></dd><dd><a class="el" href="group___app_glance.html#struct_app_glance_slice_8layout">AppGlanceSlice.layout</a></dd><dd><a class="el" href="group___app_worker.html#struct_app_worker_message">AppWorkerMessage</a></dd></dl>
137+
<dl class="classindex odd">
138+
<dt class="alphachar"><a id="letter_B" name="letter_B">B</a></dt>
139+
<dd><a class="el" href="group___battery_state_service.html#struct_battery_charge_state">BatteryChargeState</a></dd></dl>
140+
<dl class="classindex even">
141+
<dt class="alphachar"><a id="letter_C" name="letter_C">C</a></dt>
142+
<dd><a class="el" href="group___compass_service.html#struct_compass_heading_data">CompassHeadingData</a></dd><dd><a class="el" href="group___scroll_layer.html#struct_content_indicator_config">ContentIndicatorConfig</a></dd></dl>
143+
<dl class="classindex odd">
144+
<dt class="alphachar"><a id="letter_D" name="letter_D">D</a></dt>
145+
<dd><a class="el" href="group___dictionary.html#struct_dictionary_iterator">DictionaryIterator</a></dd></dl>
146+
<dl class="classindex even">
147+
<dt class="alphachar"><a id="letter_G" name="letter_G">G</a></dt>
148+
<dd><a class="el" href="group___graphics_types.html#struct_g_bitmap_data_row_info">GBitmapDataRowInfo</a></dd><dd><a class="el" href="group___graphics_types.html#struct_g_edge_insets">GEdgeInsets</a></dd><dd><a class="el" href="group___path_drawing.html#struct_g_path">GPath</a></dd><dd><a class="el" href="group___path_drawing.html#struct_g_path_info">GPathInfo</a></dd><dd><a class="el" href="group___graphics_types.html#struct_g_point">GPoint</a></dd><dd><a class="el" href="group___graphics_types.html#struct_g_rect">GRect</a></dd><dd><a class="el" href="group___graphics_types.html#struct_g_size">GSize</a></dd></dl>
149+
<dl class="classindex odd">
150+
<dt class="alphachar"><a id="letter_H" name="letter_H">H</a></dt>
151+
<dd><a class="el" href="group___health_service.html#struct_health_minute_data">HealthMinuteData</a></dd></dl>
152+
<dl class="classindex even">
153+
<dt class="alphachar"><a id="letter_M" name="letter_M">M</a></dt>
154+
<dd><a class="el" href="group___menu_layer.html#struct_menu_index">MenuIndex</a></dd><dd><a class="el" href="group___menu_layer.html#struct_menu_layer_callbacks">MenuLayerCallbacks</a></dd></dl>
155+
<dl class="classindex odd">
156+
<dt class="alphachar"><a id="letter_N" name="letter_N">N</a></dt>
157+
<dd><a class="el" href="group___number_window.html#struct_number_window_callbacks">NumberWindowCallbacks</a></dd></dl>
158+
<dl class="classindex even">
159+
<dt class="alphachar"><a id="letter_P" name="letter_P">P</a></dt>
160+
<dd><a class="el" href="group___property_animation.html#struct_property_animation_accessors">PropertyAnimationAccessors</a></dd><dd><a class="el" href="group___property_animation.html#union_property_animation_accessors_8getter">PropertyAnimationAccessors.getter</a></dd><dd><a class="el" href="group___property_animation.html#union_property_animation_accessors_8setter">PropertyAnimationAccessors.setter</a></dd><dd><a class="el" href="group___property_animation.html#struct_property_animation_implementation">PropertyAnimationImplementation</a></dd></dl>
161+
<dl class="classindex odd">
162+
<dt class="alphachar"><a id="letter_S" name="letter_S">S</a></dt>
163+
<dd><a class="el" href="group___scroll_layer.html#struct_scroll_layer_callbacks">ScrollLayerCallbacks</a></dd><dd><a class="el" href="group___simple_menu_layer.html#struct_simple_menu_item">SimpleMenuItem</a></dd><dd><a class="el" href="group___simple_menu_layer.html#struct_simple_menu_section">SimpleMenuSection</a></dd><dd><a class="el" href="group___smartstrap.html#struct_smartstrap_handlers">SmartstrapHandlers</a></dd></dl>
164+
<dl class="classindex even">
165+
<dt class="alphachar"><a id="letter_T" name="letter_T">T</a></dt>
166+
<dd><a class="el" href="group___standard_time.html#structtm">tm</a></dd><dd><a class="el" href="group___dictionary.html#struct_tuple">Tuple</a></dd><dd><a class="el" href="group___dictionary.html#union_tuple_8value">Tuple.value</a></dd><dd><a class="el" href="group___dictionary.html#struct_tuplet">Tuplet</a></dd><dd><a class="el" href="group___dictionary.html#union_tuplet_8____unnamed0____">Tuplet.__unnamed0__</a></dd><dd><a class="el" href="group___dictionary.html#struct_tuplet_8____unnamed0_____8bytes">Tuplet.__unnamed0__.bytes</a></dd><dd><a class="el" href="group___dictionary.html#struct_tuplet_8____unnamed0_____8cstring">Tuplet.__unnamed0__.cstring</a></dd><dd><a class="el" href="group___dictionary.html#struct_tuplet_8____unnamed0_____8integer">Tuplet.__unnamed0__.integer</a></dd></dl>
167+
<dl class="classindex odd">
168+
<dt class="alphachar"><a id="letter_V" name="letter_V">V</a></dt>
169+
<dd><a class="el" href="group___vibes.html#struct_vibe_pattern">VibePattern</a></dd></dl>
170+
<dl class="classindex even">
171+
<dt class="alphachar"><a id="letter_W" name="letter_W">W</a></dt>
172+
<dd><a class="el" href="group___watch_info.html#struct_watch_info_version">WatchInfoVersion</a></dd><dd><a class="el" href="group___window.html#struct_window_handlers">WindowHandlers</a></dd></dl>
173+
</div>
174+
</div><!-- contents -->
175+
</div><!-- doc-content -->
176+
</div><!-- container -->
177+
<!--
178+
Copyright 2024 Google LLC
179+
Licensed under the Apache License, Version 2.0 (the "License");
180+
you may not use this file except in compliance with the License.
181+
You may obtain a copy of the License at
182+
http://www.apache.org/licenses/LICENSE-2.0
183+
Unless required by applicable law or agreed to in writing, software
184+
distributed under the License is distributed on an "AS IS" BASIS,
185+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186+
See the License for the specific language governing permissions and
187+
limitations under the License.
188+
-->
189+
</div>
190+
<!-- start footer part -->
191+
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
192+
<ul>
193+
<li class="footer">Generated on <span class="timestamp"></span> for Pebble SDK by
194+
<a href="http://www.doxygen.org/index.html">
195+
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.14.0 </li>
196+
</ul>
197+
</div>
198+
</body>
199+
</html>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
3+
The code below is based on the Doxygen Awesome project, see
4+
https://github.com/jothepro/doxygen-awesome-css
5+
6+
MIT License
7+
8+
Copyright (c) 2021 - 2022 jothepro
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a copy
11+
of this software and associated documentation files (the "Software"), to deal
12+
in the Software without restriction, including without limitation the rights
13+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
copies of the Software, and to permit persons to whom the Software is
15+
furnished to do so, subject to the following conditions:
16+
17+
The above copyright notice and this permission notice shall be included in all
18+
copies or substantial portions of the Software.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
SOFTWARE.
27+
28+
*/
29+
30+
let clipboard_title = "Copy to clipboard"
31+
let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#888" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32+
let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
33+
let clipboard_successDuration = 1000
34+
35+
$(function() {
36+
if(navigator.clipboard) {
37+
const fragments = document.getElementsByClassName("fragment")
38+
for(const fragment of fragments) {
39+
const clipboard_div = document.createElement("div")
40+
clipboard_div.classList.add("clipboard")
41+
clipboard_div.innerHTML = clipboard_icon
42+
clipboard_div.title = clipboard_title
43+
$(clipboard_div).click(function() {
44+
const content = this.parentNode.cloneNode(true)
45+
// filter out line number and folded fragments from file listings
46+
content.querySelectorAll(".lineno, .ttc, .foldclosed").forEach((node) => { node.remove() })
47+
let text = content.textContent
48+
// remove trailing newlines and trailing spaces from empty lines
49+
text = text.replace(/^\s*\n/gm,'\n').replace(/\n*$/,'')
50+
navigator.clipboard.writeText(text);
51+
this.classList.add("success")
52+
this.innerHTML = clipboard_successIcon
53+
window.setTimeout(() => { // switch back to normal icon after timeout
54+
this.classList.remove("success")
55+
this.innerHTML = clipboard_icon
56+
}, clipboard_successDuration);
57+
})
58+
fragment.insertBefore(clipboard_div, fragment.firstChild)
59+
}
60+
}
61+
})
20 KB
Loading

0 commit comments

Comments
 (0)