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

Commit c051bd4

Browse files
authored
Merge pull request magento-commerce/devdocs#2551
Add a banner to pages that do not accept pull requests
2 parents ffc9bd2 + e0ec336 commit c051bd4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,13 @@ defaults:
115115
values:
116116
group: module-reference-guide-2_3
117117
github_link: false
118-
feedback_link: false
119118

120119
-
121120
scope:
122121
path: guides/v2.4/mrg
123122
values:
124123
group: module-reference-guide-2_4
125124
github_link: false
126-
feedback_link: false
127125

128126
-
129127
scope:

src/_includes/layout/page-header.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
</div>
3535
{% endif %}
3636

37+
{% unless page.github_link %}
38+
<div class="message-banner">
39+
This topic is generated and maintained through automation, so we do not accept direct contributions from pull requests on GitHub.
40+
</div>
41+
{% endunless %}
42+
3743
{% if page.url contains "guides/v2.3/" %}
3844
<div class="bs-callout-warning">
3945
PHP 7.3 reaches end of support in December 2021 and {{site.data.var.ee}} 2.3.x reaches end of support in April 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.

0 commit comments

Comments
 (0)