Skip to content

Commit f24aa74

Browse files
committed
fix: decommission search according to COMDOX-454
1 parent 9448b9f commit f24aa74

File tree

8 files changed

+11
-31
lines changed

8 files changed

+11
-31
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source 'https://rubygems.org'
44

5-
gem 'devdocs', git: 'https://github.com/magento-devdocs/devdocs-theme.git'
5+
gem 'devdocs', git: 'https://github.com/magento-devdocs/devdocs-theme.git', branch: 'decom-search'
66
gem 'jekyll'
77
gem 'rake'
88
gem 'whatsup_github'

Gemfile.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
GIT
22
remote: https://github.com/magento-devdocs/devdocs-theme.git
3-
revision: 3f1ef03f46ca3489289f72f102b2f556d401d1d1
3+
revision: 03ce55a3b980aea11af63bdda9bc7ad33cb94db1
4+
branch: decom-search
45
specs:
5-
devdocs (18)
6+
devdocs (19)
67
jekyll (>= 4.0)
78

89
GEM

src/_includes/home/intro.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<h1 class="spectrum-Heading1 spectrum-Heading--XXL">{{site.data.var.ee}} {{ page.guide_version }} Developer Guide</h1>
44
<p class="lead">Everything you need to build and manage a customized Commerce store.</p>
55

6-
{% include layout/search-form.html %}
6+
{% if page.guide_version != "2.4" %}
7+
{% include layout/search-form.html %}
8+
{% endif %}
79

810
</div>
911
</section><!-- END home-intro -->

src/_includes/layout/header-scripts.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,6 @@
1919
attribute: "functional_areas"
2020
}],
2121
baseUrl: "{{ site.baseurl }}"
22-
},
23-
{
24-
label: "User Guide",
25-
name: "merchdocs",
26-
baseUrl: "{{ site.user_guide_url }}"
27-
},
28-
{
29-
label: "Commerce Reporting User Guide",
30-
name: "merchdocs-mbi",
31-
baseUrl: "https://docs.magento.com/mbi"
32-
},
33-
{
34-
label: "PWA",
35-
name: "pwa-devdocs",
36-
baseUrl: "https://developer.adobe.com"
37-
},
38-
{
39-
label: "Order Management",
40-
name: "oms-en",
41-
baseUrl: "https://omsdocs.magento.com"
4222
}
4323
];
4424

src/_includes/layout/site-nav.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828

2929
{% include layout/app-switcher.html %}
3030

31-
{% include layout/quick-search.html %}
31+
{% if page.guide_version != "2.4" %}
32+
{% include layout/quick-search.html %}
33+
{% endif %}
3234

3335
</div>
3436

src/guides/v2.3/search.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: search
33
title: Search Results
4+
guide_version: "2.3"
45
---

src/guides/v2.4/search.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/search.md

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

0 commit comments

Comments
 (0)