Skip to content

Commit d367dee

Browse files
committed
Revert HTML files
1 parent 5392bc1 commit d367dee

File tree

7 files changed

+91
-110
lines changed

7 files changed

+91
-110
lines changed

source/_includes/mainmenu.html

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,23 @@
11
{% comment %}
2-
Copyright 2025 Google LLC
2+
Copyright 2025 Google LLC
33

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
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
77

8-
http://www.apache.org/licenses/LICENSE-2.0
8+
http://www.apache.org/licenses/LICENSE-2.0
99

10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
1515
{% endcomment %}
1616

17-
<li
18-
class="mainmenu__item mainmenu__item--getting-started{% if page.menu_section != 'none' and (page.menu_section == 'tutorials' or (page.menu_section == null and layout.menu_section == 'tutorials')) %} active{% endif %}">
19-
<a href="/tutorials/"><span>Tutorials</span></a></li>
20-
<li
21-
class="mainmenu__item mainmenu__item--sdk{% if page.menu_section != 'none' and (page.menu_section == 'sdk' or (page.menu_section == null and layout.menu_section == 'sdk')) %} active{% endif %}">
22-
<a href="/sdk/"><span>Get the SDK</span></a></li>
23-
<li
24-
class="mainmenu__item mainmenu__item--guides{% if page.menu_section != 'none' and (page.menu_section == 'guides' or (page.menu_section == null and layout.menu_section == 'guides')) %} active{% endif %}">
25-
<a href="/guides/"><span>Guides</span></a></li>
26-
<li
27-
class="mainmenu__item mainmenu__item--docs{% if page.menu_section != 'none' and (page.menu_section == 'docs' or (page.menu_section == null and layout.menu_section == 'docs')) %} active{% endif %}">
28-
<a href="/docs/"><span>Documentation</span></a></li>
29-
<li
30-
class="mainmenu__item mainmenu__item--examples{% if page.menu_section != 'none' and (page.menu_section == 'examples' or (page.menu_section == null and layout.menu_section == 'examples')) %} active{% endif %}">
31-
<a href="/examples/"><span>Examples</span></a></li>
32-
<li
33-
class="mainmenu__item mainmenu__item--blog{% if page.menu_section != 'none' and (page.menu_section == 'blog' or (page.menu_section == null and layout.menu_section == 'blog')) %} active{% endif %}">
34-
<a href="/blog/"><span>Blog</span></a></li>
35-
<li
36-
class="mainmenu__item mainmenu__item--more{% if page.menu_section != 'none' and (page.menu_section == 'more' or (page.menu_section == null and layout.menu_section == 'more')) %} active{% endif %}">
37-
<a href="/more/"><span>More</span></a></li>
17+
<li class="mainmenu__item mainmenu__item--getting-started{% if page.menu_section != 'none' and (page.menu_section == 'tutorials' or (page.menu_section == null and layout.menu_section == 'tutorials')) %} active{% endif %}"><a href="/tutorials/"><span>Tutorials</span></a></li>
18+
<li class="mainmenu__item mainmenu__item--sdk{% if page.menu_section != 'none' and (page.menu_section == 'sdk' or (page.menu_section == null and layout.menu_section == 'sdk')) %} active{% endif %}"><a href="/sdk/"><span>Get the SDK</span></a></li>
19+
<li class="mainmenu__item mainmenu__item--guides{% if page.menu_section != 'none' and (page.menu_section == 'guides' or (page.menu_section == null and layout.menu_section == 'guides')) %} active{% endif %}"><a href="/guides/"><span>Guides</span></a></li>
20+
<li class="mainmenu__item mainmenu__item--docs{% if page.menu_section != 'none' and (page.menu_section == 'docs' or (page.menu_section == null and layout.menu_section == 'docs')) %} active{% endif %}"><a href="/docs/"><span>Documentation</span></a></li>
21+
<li class="mainmenu__item mainmenu__item--examples{% if page.menu_section != 'none' and (page.menu_section == 'examples' or (page.menu_section == null and layout.menu_section == 'examples')) %} active{% endif %}"><a href="/examples/"><span>Examples</span></a></li>
22+
<li class="mainmenu__item mainmenu__item--blog{% if page.menu_section != 'none' and (page.menu_section == 'blog' or (page.menu_section == null and layout.menu_section == 'blog')) %} active{% endif %}"><a href="/blog/"><span>Blog</span></a></li>
23+
<li class="mainmenu__item mainmenu__item--more{% if page.menu_section != 'none' and (page.menu_section == 'more' or (page.menu_section == null and layout.menu_section == 'more')) %} active{% endif %}"><a href="/more/"><span>More</span></a></li>

source/_includes/search.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
{% comment %}
2-
Copyright 2025 Google LLC
2+
Copyright 2025 Google LLC
33

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
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
77

8-
http://www.apache.org/licenses/LICENSE-2.0
8+
http://www.apache.org/licenses/LICENSE-2.0
99

10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
1515
{% endcomment %}
1616

1717
<div class="search">
18-
<a href="javascript:void(0);" class="mobile-nav__hamburger js-mobile-nav-toggle"><i class="fa fa-reorder"></i></a>
19-
<i class="fa fa-lg fa-search search__icon"></i><input type="search" id="quicksearch"
20-
placeholder="Search Developer Site">
18+
<a href="javascript:void(0);" class="mobile-nav__hamburger js-mobile-nav-toggle"><i class="fa fa-reorder"></i></a>
19+
<i class="fa fa-lg fa-search search__icon"></i><input type="search" id="quicksearch" placeholder="Search Developer Site">
2120
</div>
2221
<div class="quicksearch" style="display: none;" id="quicksearch__results"></div>
2322
<div id="search__blackout" style="display: none;"></div>

source/_layouts/utils/redirect_permanent.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
{% comment %}
2-
Copyright 2025 Google LLC
2+
Copyright 2025 Google LLC
33

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
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
77

8-
http://www.apache.org/licenses/LICENSE-2.0
8+
http://www.apache.org/licenses/LICENSE-2.0
99

10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
1515
{% endcomment %}
1616

1717
{% comment %}
1818
This layout file is used for generating permanent redirects from old URLs to
1919
new ones.
2020
{% endcomment %}
2121

22-
{% assign redirect_url = page.redirect_to | prepend: site.baseurl | prepend: site.url %}
23-
{% assign http = page.redirect_to | downcase | slice: 0, 7 %}
24-
{% assign https = page.redirect_to | downcase | slice: 0, 8 %}
22+
{% capture redirect_url %}{{ page.redirect_to | prepend: site.baseurl | prepend: site.url }}{% endcapture %}
2523

2624
{% assign proto_http = page.redirect_to | downcase | slice: 0, 6 %}
2725
{% assign proto_https = page.redirect_to | downcase | slice: 0, 7 %}

source/blog/index.html

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -25,48 +25,46 @@ <h2 class="pagesubtitle">A Wristed Development</h2>
2525

2626
<div class="blog-index">
2727
{% for post in paginator.posts %}
28-
{% include blog/index-post.html post=post %}
28+
{% include blog/index-post.html post=post %}
2929
{% endfor %}
3030
<div class="hidden-s hidden-xs">
3131
<ul class="pagination clearfix">
3232
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Prev</a></li>
3333
{% for page in (1..paginator.total_pages) %}
34-
<li class="{% if page == paginator.page %}active{% endif %}">
35-
{% if page == 1 %}
36-
<a href="{{ site.baseurl }}/blog/">{{page}}</a>
37-
{% else %}
38-
<a href="{{ site.baseurl }}/blog/{{page}}">{{page}}</a>
39-
{% endif %}
40-
</li>
34+
<li class="{% if page == paginator.page %}active{% endif %}" >
35+
{% if page == 1 %}
36+
<a href="{{ site.baseurl }}/blog/">{{page}}</a>
37+
{% else %}
38+
<a href="{{ site.baseurl }}/blog/{{page}}">{{page}}</a>
39+
{% endif %}
40+
</li>
4141
{% endfor %}
4242
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl }}">Next</a></li>
4343
</ul>
4444
</div>
4545
<div class="visible-s visible-xs">
4646
<div class="row">
4747
<div class="col-xs-2">
48-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}"
49-
class="btn btn--wide btn--fg-white btn--bg-lightblue">Prev</a>
48+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="btn btn--wide btn--fg-white btn--bg-lightblue">Prev</a>
5049
</div>
5150
<div class="col-xs-8">
5251
<div class="form__group">
5352
<div class="select-style no-label">
5453
<select class="js-toc-select">
55-
<option>JUMP TO PAGE</option>
54+
<option>JUMP TO PAGE</option>
5655
{% for page in (1..paginator.total_pages) %}
57-
{% if page == 1 %}
58-
<option value="{{ site.baseurl }}/blog/">{{page}}</option>
59-
{% else %}
60-
<option value="{{ site.baseurl }}/blog/{{page}}">{{page}}</option>
61-
{% endif %}
56+
{% if page == 1 %}
57+
<option value="{{ site.baseurl }}/blog/">{{page}}</option>
58+
{% else %}
59+
<option value="{{ site.baseurl }}/blog/{{page}}">{{page}}</option>
60+
{% endif %}
6261
{% endfor %}
6362
</select>
6463
</div>
6564
</div>
6665
</div>
6766
<div class="col-xs-2">
68-
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}"
69-
class="btn btn--wide btn--fg-white btn--bg-lightblue">Next</a>
67+
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="btn btn--wide btn--fg-white btn--bg-lightblue">Next</a>
7068
</div>
7169
</div>
7270
</div>

source/contact/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -29,41 +29,41 @@ <h1 class="pagetitle">{{ page.title }}</h1>
2929
</p>
3030
<p>
3131
If you have shipping, billing or other non-developer related questions,
32-
please contact <a href="http://help.getpebble.com/customer/portal/emails/new">Pebble Support</a>
32+
please contact <a
33+
href="http://help.getpebble.com/customer/portal/emails/new">Pebble Support</a>
3334
instead.
3435
</p>
3536

3637
<h3>Developer Support</h3>
37-
<p>In order to find a resolution to a development issue, you may want to try
38-
our <a href="https://forums.pebble.com">community forums</a>.</p>
38+
<p>In order to find a resolution to a development issue, you may want to try
39+
our <a href="https://forums.pebble.com">community forums</a>.</p>
3940
<ul>
4041
<li>1. Try searching to locate a resolution for your problem.</li>
4142
<li>2. If you were unable to locate a solution, create a new topic. Try
42-
to provide as much detail as possible, including logs, screenshots or
43-
code snippets.</li>
43+
to provide as much detail as possible, including logs, screenshots or
44+
code snippets.</li>
4445
<li>3. If you haven't received an adequate response within a few days,
45-
you should seek help within our
46-
<a href="{{ site.links.discord_invite }}">Discord server</a>, providing a link to
47-
your topic.
48-
</li>
46+
you should seek help within our
47+
<a href="{{ site.links.discord_invite }}">Discord server</a>, providing a link to
48+
your topic.</li>
4949
</ul>
5050
<p>&nbsp;</p>
5151

5252
<h3>Appstore Featuring</h3>
5353

5454
<p>Unfortunately we cannot guarantee featuring with the appstore. In order
55-
to be selected for featuring within the Pebble appstore, you should adhere
56-
to the following guidelines to improve the chances of selection:</p>
55+
to be selected for featuring within the Pebble appstore, you should adhere
56+
to the following guidelines to improve the chances of selection:</p>
5757
<ul>
5858
<li>1. Ensure your app is high quality and bug free.</li>
5959
<li>2. Support multiple Pebble platforms.</li>
6060
<li>3. Utilize latest Pebble SDK functionality. (Unobstructed Area,
61-
AppGlances, Health etc.)</li>
61+
AppGlances, Health etc.)</li>
6262
<li>4. Provide app configuration options.</li>
6363
<li>5. Have a complete set of assets, including banners.</li>
6464
<li>6. Promote your app in the Showcase category of the forum.</li>
6565
<li>7. Tweet <a href="https://twitter.com/pebbledev">@pebbledev</a> with
66-
a link to the showcase.</li>
66+
a link to the showcase.</li>
6767
</ul>
6868

6969
</div>

source/docs/pebblekit-js/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -40,12 +40,12 @@ <h1 class="pagetitle">{{ page.title }}</h1>
4040
<hr>
4141

4242
{% for module in site.data.docs_tree.pebblekit_js %}
43-
{% if module['kind'] == "member" or module['kind'] == "namespace" %}
44-
<div class="docs__module">
45-
<h4><a href="{{ module.url }}">{{ module.name }}</a></h4>
46-
<p>{{ module.summary | markdownify }}</p>
47-
</div>
48-
{% endif %}
43+
{% if module['kind'] == "member" or module['kind'] == "namespace" %}
44+
<div class="docs__module">
45+
<h4><a href="{{ module.url }}">{{ module.name }}</a></h4>
46+
<p>{{ module.summary | markdownify }}</p>
47+
</div>
48+
{% endif %}
4949
{% endfor %}
5050

5151
<hr>

source/docs/rockyjs/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -36,25 +36,25 @@ <h1 class="pagetitle">{{ page.title }}</h1>
3636

3737
{% for module in site.data.docs_tree.rockyjs %}
3838

39-
{% if module['kind'] == "member" or module['kind'] == "namespace" %}
40-
<div class="docs__module">
41-
<h4><a href="{{ module.url }}">{{ module.name }}</a></h4>
42-
<p>{{ module.summary | markdownify }}</p>
43-
</div>
44-
{% endif %}
39+
{% if module['kind'] == "member" or module['kind'] == "namespace" %}
40+
<div class="docs__module">
41+
<h4><a href="{{ module.url }}">{{ module.name }}</a></h4>
42+
<p>{{ module.summary | markdownify }}</p>
43+
</div>
44+
{% endif %}
4545
{% endfor %}
4646

4747
<hr>
4848
<p>The JavaScript API also includes the following global functions:</p>
4949

5050
{% for module in site.data.docs_tree.rockyjs %}
51-
{% if module.kind == "function" %}
52-
<div class="docs__module">
53-
<div id="{{ module.name }}">
54-
{% include docs/js/function.html child=module global=true %}
51+
{% if module.kind == "function" %}
52+
<div class="docs__module">
53+
<div id="{{ module.name }}">
54+
{% include docs/js/function.html child=module global=true %}
55+
</div>
5556
</div>
56-
</div>
57-
{% endif %}
57+
{% endif %}
5858
{% endfor %}
5959

6060
<hr>

0 commit comments

Comments
 (0)