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

Commit

Permalink
Merge pull request magento-commerce/devdocs#3240
Browse files Browse the repository at this point in the history
COMDOX-550: Disable links for contributions and update 2.3 banner
  • Loading branch information
dshevtsov authored Mar 3, 2023
2 parents 1abb02c + d2f0405 commit 93c098e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ defaults:
github_repo: https://github.com/magento/devdocs/
github_files: https://github.com/magento/devdocs/blob/master/
# Enables the 'Edit this page on GitHub' appearances on pages
github_link: true
github_link: false
# Enables the 'Give us feedback' appearances on pages
feedback_link: true
feedback_link: false

-
scope:
Expand Down
27 changes: 2 additions & 25 deletions src/_includes/layout/page-header.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
<!-- page-header -->
<section class="page-intro">

{% if page.url contains "guides/v2.4/payments-integrations/" %}
{% unless page.url contains "guides/v2.4/payments-integrations/cardinal" %}
<div class="bs-callout-warning">
The Payment Provider Gateway documentation uses the Magento 2.3 (now {{site.data.var.ee}} and {{site.data.var.ce}}) of the Braintree module as a
reference application. The Braintree module was removed in version 2.4.0. The concepts described in this guide are
still applicable to version 2.4.0, but the code samples are not supported.
</div>
{% endunless %}
{% endif %}

{% if page.url contains "guides/v2.4/install-gde/" %}
<div class="message-banner">
You must install Elasticsearch or OpenSearch before installing {{ site.data.var.ee }} or {{ site.data.var.ce }} 2.4.0. See <a
href="{{ page.baseurl }}/install-gde/prereq/elasticsearch.html">Search engine prerequisites</a> for details.
</div>
{% endif %}

{% if page.url contains "config-guide/multi-master/" or page.url contains "cloud/docker/docker-split-db" %}
<div class="message-banner">
The split database feature was <a
Expand All @@ -28,15 +11,9 @@
</div>
{% endif %}

{% unless page.github_link %}
<div class="message-banner">
Contributions through pull requests are not supported for this topic. Open a GitHub issue to provide feedback.
</div>
{% endunless %}

{% if page.url contains "guides/v2.3/" %}
<div class="bs-callout-warning">
PHP 7.3 reached end of support in December 2021 and {{site.data.var.ee}} 2.3.x reaches end of support in September 2022. You may want to consider planning your upgrade now to {{site.data.var.ee}} 2.4.x and PHP 7.4.x to help maintain PCI compliance.
<div class="message-banner">
<center>{{site.data.var.ee}} 2.3 reached end of support in September 2022.</center>
</div>
{% endif %}

Expand Down
2 changes: 1 addition & 1 deletion src/guides/v2.3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---

<section class="home-features">
<div class="bs-callout-warning">PHP 7.3 reached end of support in December 2021 and {{site.data.var.ee}} 2.3.x reaches end of support in September 2022. You may want to consider planning your upgrade now to {{site.data.var.ee}} 2.4.x and PHP 7.4.x to help maintain PCI compliance.</div>
<div class="bs-callout-warning"><center>{{site.data.var.ee}} 2.3 reached end of support in September 2022.</center></div>
<div class="container">

<div class="feature">
Expand Down

0 comments on commit 93c098e

Please sign in to comment.