diff --git a/feature-flags.json b/feature-flags.json index 3bb2f19b5324..64c69f19d789 100644 --- a/feature-flags.json +++ b/feature-flags.json @@ -1,5 +1,4 @@ { "FEATURE_TEST_TRUE": true, - "FEATURE_TEST_FALSE": false, - "FEATURE_NEW_VERSIONS": true + "FEATURE_TEST_FALSE": false } diff --git a/includes/article-version-switcher.html b/includes/article-version-switcher.html index d93b17a39958..af2f6ee005b8 100644 --- a/includes/article-version-switcher.html +++ b/includes/article-version-switcher.html @@ -2,11 +2,7 @@
- {% if process.env.FEATURE_NEW_VERSIONS %} {{ site.data.ui.pages.article_version }} {{ allVersions[currentVersion].versionTitle }} - {% else %} - {{ site.data.ui.pages.article_version }} {{ productNames[currentVersion] }} - {% endif %} @@ -16,11 +12,7 @@ href="{{ permalink.href }}" class="d-block py-2 {% if currentPath == permalink.href %}link-blue active{% else %}link-gray-dark no-underline{% endif %}" > - {% if process.env.FEATURE_NEW_VERSIONS %} {{ allVersions[permalink.pageVersion].versionTitle }} - {% else %} - {{ productNames[permalink.pageVersion] }} - {% endif %} {% endfor %}
diff --git a/includes/deprecation-banner.html b/includes/deprecation-banner.html index e5ac8bdf83a9..a07c61724fc1 100644 --- a/includes/deprecation-banner.html +++ b/includes/deprecation-banner.html @@ -1,6 +1,3 @@ -{% unless process.env.FEATURE_NEW_VERSIONS %} -{% assign enterpriseServerReleases = enterpriseVersions %} -{% endunless %} {% if currentVersion contains enterpriseServerReleases.oldestSupported %}

diff --git a/includes/header.html b/includes/header.html index 88a6f85bc11c..b8d134485135 100644 --- a/includes/header.html +++ b/includes/header.html @@ -44,11 +44,7 @@

{{ site.data.ui.homepag
- {% if process.env.FEATURE_NEW_VERSIONS %} {{ allProducts[currentProduct].name }} - {% else %} - {{ currentProduct.name }} - {% endif %}
@@ -57,7 +53,7 @@

{{ site.data.ui.homepag {% for product in activeProducts %} + {% if product.id == currentProduct %}text-blue-mktg text-underline active{% elsif product.id == currentProduct.id %}text-blue-mktg text-underline active{% else %}link-gray-dark no-underline{% endif %}"> {{ product.name }} {% if product.external %} @@ -68,10 +64,8 @@

{{ site.data.ui.homepag

- {% if process.env.FEATURE_NEW_VERSIONS %} {% include homepage-version-switcher %} - {% endif %}
diff --git a/includes/landing.html b/includes/landing.html index 6dd6015f10aa..a677844d816c 100644 --- a/includes/landing.html +++ b/includes/landing.html @@ -20,12 +20,7 @@

{{ site.data.ui.search.need_help }}

{{ site.data.ui.homepage.explore_by_product }}

{% for product in activeProducts %} - {% if process.env.FEATURE_NEW_VERSIONS %} - {% assign productVersions = product.versions %} - {% else %} - {% assign productVersions = currentVersion %} - {% endif %} - {% if productVersions contains currentVersion or currentVersion == 'homepage' %} + {% if product.versions contains currentVersion or currentVersion == 'homepage' %}
{{ product.name }} {% if product.external %} diff --git a/includes/sidebar-homepage.html b/includes/sidebar-homepage.html index c11a0c075ead..a6e71a5b842f 100644 --- a/includes/sidebar-homepage.html +++ b/includes/sidebar-homepage.html @@ -1,25 +1,12 @@ -{% if process.env.FEATURE_NEW_VERSIONS %} {% include all-products-link %} -{% endif %} {% for product in activeProducts %} - -{% if process.env.FEATURE_NEW_VERSIONS %} -{% assign productVersions = product.versions %} -{% else %} -{% assign productVersions = currentVersion %} -{% endif %} - -{% if productVersions contains currentVersion or currentVersion == 'homepage' %} +{% if product.versions contains currentVersion or currentVersion == 'homepage' %}