Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 06f0a31

Browse files
authored
Merge pull request magento-commerce/devdocs#2780
Site theme update (v18)
2 parents bc223c2 + c6611c8 commit 06f0a31

File tree

5 files changed

+18
-68
lines changed

5 files changed

+18
-68
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GIT
22
remote: https://github.com/magento-devdocs/devdocs-theme.git
3-
revision: f0516a2e640bbaf04472fc0cbb206432441a674f
3+
revision: d7b7c5db1a65987873068a78aac045cb581ff0a3
44
specs:
5-
devdocs (17)
5+
devdocs (18)
66
jekyll (>= 4.0)
77

88
GEM

src/_data/main-nav.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
- label: Cloud
23
children:
34

@@ -169,7 +170,6 @@
169170
url: /mbi/docs/getting-started.html
170171
versionless: true
171172

172-
173173
- label: Testing
174174
children:
175175

@@ -192,6 +192,8 @@
192192
- label: Web API Functional Testing
193193
url: /get-started/web-api-functional-testing.html
194194

195+
- separator: true
196+
195197
- label: Functional Areas
196198
children:
197199

src/_includes/layout/navigation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Main Navigation -->
22
{%- assign sections = site.data.main-nav -%}
33

4-
<ul class="nav-main spectrum-Tabs spectrum-Tabs--horizontal" role="menubar">
4+
<ul class="nav-main spectrum-Tabs spectrum-Tabs--sizeM spectrum-Tabs--horizontal" role="menubar">
55

66
{%- for section in sections -%}
77
{%- assign subsections = section.children -%}
@@ -25,23 +25,23 @@
2525
{%- endfor-%}
2626
</ul>
2727
</div>
28-
{%- else if -%}
28+
{%- else -%}
2929
{%- include layout/nav-item.html section=subsection menuClass="spectrum-Menu" itemClass="spectrum-Menu-item" labelClass="spectrum-Menu-itemLabel" -%}
3030
{%- endif -%}
3131
{%- endfor -%}
3232
{%- endcapture -%}
3333

3434
{%- if subchildren -%}
3535
{{ nav }}
36-
{%- else if -%}
36+
{%- else -%}
3737
<ul>{{ nav }}</ul>
3838
{%- endif -%}
3939

4040
</div>
4141
{%- endif -%}
4242

4343
</li>
44-
{%- else if -%}
44+
{%- else if section.separator -%}
4545
<li class="nav-main-separator"></li>
4646
{%- endif -%}
4747

src/_includes/layout/search-form.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55
{%- endif -%}
66

77
<form class="spectrum-Search spectrum-Textfield search-form"
8-
action="{{ site.baseurl }}/guides/v{{ search_version }}/search.html">
8+
action="{{ site.baseurl }}/guides/v{{ search_version }}/search.html">
99
<input type="search" placeholder="Looking for something specific?" name="query" value=""
1010
class="spectrum-Textfield-input spectrum-Search-input search-field form-control" autocomplete="off">
11-
<svg class="spectrum-Icon spectrum-UIIcon-Magnifier spectrum-Search-icon" focusable="false" aria-hidden="true">
11+
<svg class="spectrum-Icon spectrum-Icon--sizeM spectrum-Textfield-icon spectrum-Search-icon" focusable="false" aria-hidden="true">
1212
<rect fill="#ff13dc" opacity="0" width="18" height="18" />
1313
<path class="a"
1414
d="M16.5865,15.107,12.7,11.2215A6.413,6.413,0,1,0,11.2215,12.7l3.886,3.886a1.05,1.05,0,0,0,1.479-1.479ZM3,7.5A4.5,4.5,0,1,1,7.5,12,4.5,4.5,0,0,1,3,7.5Z" />
1515
</svg>
16-
<button type="reset" class="spectrum-ClearButton spectrum-Search-clearButton">
17-
<svg class="spectrum-Icon spectrum-UIIcon-Cross75" focusable="false" aria-hidden="true">
18-
<rect fill="#ff13dc" opacity="0" width="18" height="18" />
19-
<path class="a"
20-
d="M13.2425,3.343,9,7.586,4.7575,3.343a.5.5,0,0,0-.707,0L3.343,4.05a.5.5,0,0,0,0,.707L7.586,9,3.343,13.2425a.5.5,0,0,0,0,.707l.707.7075a.5.5,0,0,0,.707,0L9,10.414l4.2425,4.243a.5.5,0,0,0,.707,0l.7075-.707a.5.5,0,0,0,0-.707L10.414,9l4.243-4.2425a.5.5,0,0,0,0-.707L13.95,3.343a.5.5,0,0,0-.70711-.00039Z" />
21-
</svg>
16+
<button type="reset" class="spectrum-ClearButton spectrum-ClearButton--sizeM spectrum-Search-clearButton">
17+
<div class="spectrum-ClearButton-fill">
18+
<svg class="spectrum-Icon spectrum-ClearButton-icon spectrum-UIIcon-Cross100" focusable="false" aria-hidden="true">
19+
<path class="a"
20+
d="M13.2425,3.343,9,7.586,4.7575,3.343a.5.5,0,0,0-.707,0L3.343,4.05a.5.5,0,0,0,0,.707L7.586,9,3.343,13.2425a.5.5,0,0,0,0,.707l.707.7075a.5.5,0,0,0,.707,0L9,10.414l4.2425,4.243a.5.5,0,0,0,.707,0l.7075-.707a.5.5,0,0,0,0-.707L10.414,9l4.243-4.2425a.5.5,0,0,0,0-.707L13.95,3.343a.5.5,0,0,0-.70711-.00039Z" />
21+
</svg>
22+
</div>
2223
</button>
2324
</form>

src/_layouts/tutorial.html

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)