Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
DOP-2812: Post-consolidation update
  • Loading branch information
i80and committed Mar 18, 2022
commit 3c9f26c405ba4144cbb714736f1ae45984dc0c0b
2 changes: 1 addition & 1 deletion themes/bi-connector/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/charts/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sitename = MongoDB
nav_excluded = NAV
is_saas =
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/compass/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/database-tools/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/datalake/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sitename = MongoDB
nav_excluded = NAV
is_upcoming =
is_alpha =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/drivers/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ version = VERSION
version_selector = VERSION_SELECTOR
latest = LATEST
stable = STABLE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/ecosystem/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ google_analytics = GACODE
project = PROJECT
translations = LANGUAGES
language = LANGUAGE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/guides/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ active_branches =
upcoming = UPCOMING
eol_msg = EOL_MSG
eol =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/kubernetes-operator/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sitename = MongoDB
nav_excluded = NAV
is_upcoming =
active_branches =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/manual/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ latest = LATEST
stable = STABLE
sitename = MongoDB
nav_excluded = NAV
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/meta-driver/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ nav_excluded = NAV
is_upcoming =
is_private = False
privacy_warning = ""
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
55 changes: 13 additions & 42 deletions themes/mms-cloud/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,9 @@

{%- block canonicalref %}
{%- if pagename == 'index' %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<link rel="canonical" href="{{theme_base_url}}/cloudmanager/" />
{%- else %}
<link rel="canonical" href="https://docs.cloudmanager.mongodb.com/" />
{%- endif %}
<link rel="canonical" href="{{theme_base_url}}/cloudmanager/" />
{%- else %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<link rel="canonical" href="{{theme_base_url}}/cloudmanager/{{pagename}}/" />
{%- else %}
<link rel="canonical" href="https://docs.cloudmanager.mongodb.com/{{pagename}}/" />
{%- endif %}
<link rel="canonical" href="{{theme_base_url}}/cloudmanager/{{pagename}}/" />
{%- endif -%}
{%- endblock -%}

Expand All @@ -36,19 +28,11 @@

{%- block sitesearch %}
{%- if builder != 'singlehtml' %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<script type="text/javascript">
window.googleSearchCx = "017213726194841070573:sntjladnaos"
window.googleSearchPlaceholder = "Search Cloud Manager"
window.googleSearchResultsUrl = "{{theme_base_url}}/cloudmanager/search/"
</script>
{%- else %}
<script type="text/javascript">
window.googleSearchCx = "017213726194841070573:sntjladnaos"
window.googleSearchPlaceholder = "Search Cloud Manager"
window.googleSearchResultsUrl = "https://docs.cloudmanager.mongodb.com/search/"
</script>
{%- endif %}
<script type="text/javascript">
window.googleSearchCx = "017213726194841070573:sntjladnaos"
window.googleSearchPlaceholder = "Search Cloud Manager"
window.googleSearchResultsUrl = "{{theme_base_url}}/cloudmanager/search/"
</script>
{%- endif %}
{%- endblock -%}

Expand All @@ -70,11 +54,7 @@
<h4 class="alert-heading" style="margin-bottom: 10px;">The MongoDB Agent has been released!</h4>
The Monitoring, Backup and Automation Agents have been merged into the MongoDB Agent.

{%- if 'mongodb.com/docs' in theme_base_url %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="{{theme_base_url}}/cloudmanager/reference/faq/faq-mongodb-agent/">Learn More</a>
{%- else %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="https://docs.cloudmanager.mongodb.com/reference/faq/faq-mongodb-agent/">Learn More</a>
{%- endif %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="{{theme_base_url}}/cloudmanager/reference/faq/faq-mongodb-agent/">Learn More</a>
</span>
</div>
{%- endif %}
Expand All @@ -85,20 +65,11 @@ <h4 class="alert-heading" style="margin-bottom: 10px;">The MongoDB Agent has bee
<span aria-hidden="true">&times;</span>
</button>
<span class="alert-message">
{%- if 'mongodb.com/docs' in theme_base_url %}
<h4 class="alert-heading" style="margin-bottom: 10px;">Cloud Manager will no longer
support Automation for MongoDB 3.4 clusters after February 10, 2022.
Please <a href="{{theme_base_url}}/cloudmanager/tutorial/change-mongodb-version/">upgrade your MongoDB deployment</a>
or <a href="{{theme_base_url}}/atlas/migration-to-atlas-choosing/">migrate to Atlas.</a>
</h4>
{%- else %}
<h4 class="alert-heading" style="margin-bottom: 10px;">Cloud Manager will no longer
support Automation for MongoDB 3.4 clusters after February 10, 2022.
Please <a href="https://docs.cloudmanager.mongodb.com/tutorial/change-mongodb-version/">upgrade your MongoDB deployment</a>
or <a href="https://docs.atlas.mongodb.com/migration-to-atlas-choosing/">migrate to Atlas.</a>
</h4>
{%- endif %}

<h4 class="alert-heading" style="margin-bottom: 10px;">Cloud Manager will no longer
support Automation for MongoDB 3.4 clusters after February 10, 2022.
Please <a href="{{theme_base_url}}/cloudmanager/tutorial/change-mongodb-version/">upgrade your MongoDB deployment</a>
or <a href="{{theme_base_url}}/atlas/migration-to-atlas-choosing/">migrate to Atlas.</a>
</h4>
</span>
</div>
{%- endif %}
Expand Down
2 changes: 1 addition & 1 deletion themes/mms-cloud/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ has_mdb_agent =
edition = EDITION
nav_excluded = NAV
automation_eol =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/mms-managed/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ version_selector = VERSION_SELECTOR
stable = STABLE
edition = EDITION
nav_excluded = NAV
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
38 changes: 9 additions & 29 deletions themes/mms-onprem/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,9 @@

{%- block canonicalref %}
{%- if pagename == 'index' %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<link rel="canonical" href="{{theme_base_url}}/opsmanager/current/" />
{%- else %}
<link rel="canonical" href="https://docs.opsmanager.mongodb.com/current/" />
{%- endif %}
<link rel="canonical" href="{{theme_base_url}}/opsmanager/current/" />
{%- else %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<link rel="canonical" href="{{theme_base_url}}/opsmanager/current/{{pagename}}/" />
{%- else %}
<link rel="canonical" href="https://docs.opsmanager.mongodb.com/current/{{pagename}}/" />
{%- endif %}
<link rel="canonical" href="{{theme_base_url}}/opsmanager/current/{{pagename}}/" />
{%- endif -%}
{%- endblock -%}

Expand All @@ -44,11 +36,7 @@
<h4 class="alert-heading" style="margin-bottom: 10px;">The MongoDB Agent has been released!</h4>
The Monitoring, Backup and Automation Agents have been merged into the MongoDB Agent.

{%- if 'mongodb.com/docs' in theme_base_url %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="{{theme_base_url}}/opsmanager/master/reference/faq/faq-mongodb-agent/">Learn More</a>
{%- else %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="https://docs.opsmanager.mongodb.com/master/reference/faq/faq-mongodb-agent/">Learn More</a>
{%- endif %}
<a class="btn btn-success" style="margin-left: 5px; margin-bottom: 5px;" href="{{theme_base_url}}/opsmanager/master/reference/faq/faq-mongodb-agent/">Learn More</a>
</span>
</div>
{%- endif %}
Expand Down Expand Up @@ -80,21 +68,13 @@ <h4 class="alert-heading" style="margin-bottom: 10px;">The MongoDB Agent has bee

{%- block sitesearch %}
{%- if builder != 'singlehtml' %}
{%- if 'mongodb.com/docs' in theme_base_url %}
<script type="text/javascript">
window.googleSearchCx = "017938353964985089139:s4tijscdeac"
window.googleSearchPlaceholder = "Search Ops Manager"
window.googleSearchResultsUrl = "{{theme_base_url}}/opsmanager/current/search/"
</script>
{%- else %}
<script type="text/javascript">
window.googleSearchCx = "017938353964985089139:s4tijscdeac"
window.googleSearchPlaceholder = "Search Ops Manager"
window.googleSearchResultsUrl = "https://docs.opsmanager.mongodb.com/current/search/"
</script>
{%- endif %}
<script type="text/javascript">
window.googleSearchCx = "017938353964985089139:s4tijscdeac"
window.googleSearchPlaceholder = "Search Ops Manager"
window.googleSearchResultsUrl = "{{theme_base_url}}/opsmanager/current/search/"
</script>
{%- endif %}

{%- endblock -%}

{%- block header %}
Expand Down
2 changes: 1 addition & 1 deletion themes/mms-onprem/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ edition = EDITION
nav_excluded = NAV
eol_date = EOL_DATE
eol_remove = EOL_REMOVE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/mms/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ sitename = MMS
nav_excluded = NAV
saas_base = SAAS
basepath = BASEPATH
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/mongocli/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sitename = MongoDB
nav_excluded = NAV
is_upcoming =
is_alpha =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
6 changes: 3 additions & 3 deletions themes/mongodb/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ nav_excluded = NAV
active_branches =
upcoming = UPCOMING
eol_msg = EOL_MSG
eol =
eol =
eol_upgrade_url =
banner =
banner =
banner_msg = BANNER_MSG
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/mongoid/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ google_analytics = GACODE
project = PROJECT
translations = LANGUAGES
language = LANGUAGE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/php-library/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ google_analytics = GACODE
project = PROJECT
translations = LANGUAGES
language = LANGUAGE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/primer/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ version = VERSION
version_selector = VERSION_SELECTOR
latest = LATEST
stable = STABLE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/realm/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/ruby-driver/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ google_analytics = GACODE
project = PROJECT
translations = LANGUAGES
language = LANGUAGE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/spark-connector/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/stitch/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/training/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ nav_excluded = NAV
basepath = BASEPATH
instructor_base = BASE
student_base = BASE
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs
2 changes: 1 addition & 1 deletion themes/wip/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ stable = STABLE
sitename = MongoDB
nav_excluded = NAV
is_upcoming =
base_url = https://docs.mongodb.com
base_url = https://www.mongodb.com/docs