Skip to content

Commit

Permalink
Added production links in both menus (#265)
Browse files Browse the repository at this point in the history
Added production links in both menus 

Cannot be merged in production until AC goes live
references like these {% if service_type in ['blueprints', 'ac'] %} were not removed

Reviewed-by: Tino Schr
  • Loading branch information
akyriako authored Dec 10, 2024
1 parent 3f87d63 commit 7ed09f4
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions otcdocstheme/theme/otcdocs/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,6 @@
<li><a href="{{base_url}}/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Endpoints</a></li>
</ul>
</scale-telekom-mega-menu-column>
<!-- <scale-telekom-mega-menu-column>-->
<!-- <a href="{{base_url}}/developer/iac.html" target="_blank" rel="noopener noreferrer" slot="heading">Automation</a>-->
<!-- <ul>-->
<!-- <li><a href="https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs" target="_blank" rel="noopener noreferrer">Terraform</a></li>-->
<!-- <li><a href="{{base_url}}/ansible-collection-cloud/" target="_blank" rel="noopener noreferrer">Ansible</a></li>-->
<!-- <li><a href="https://open-telekom-cloud.com/en/support/cloud-topology-designer" target="_blank" rel="noopener noreferrer">Cloud Topology Designer</a></li>-->
<!-- </ul>-->
<!-- </scale-telekom-mega-menu-column>-->
<scale-telekom-mega-menu-column>
<a href="{{base_url}}/developer/index.html" target="_blank" rel="noopener noreferrer" slot="heading">Development and Automation</a>
<ul>
Expand All @@ -337,10 +329,10 @@
</scale-telekom-mega-menu-column>
{% if not otcdocs_search_environment == 'hc_swiss' %}
<scale-telekom-mega-menu-column>
<a href="{{base_url}}/architecture-center/index.html" target="_blank" rel="noopener noreferrer" slot="heading">Architecture Center</a>
<a href="https://arch.otc-service.com/" target="_blank" rel="noopener noreferrer" slot="heading">Architecture Center</a>
<ul>
<li><a href="{{base_url}}/architecture-center/blueprints/index.html" target="_blank" rel="noopener noreferrer">Blueprints</a></li>
<!-- <li><a href="{{base_url}}/architecture-center/caf/index.html" target="_blank" rel="noopener noreferrer">Cloud Adoption Framework</a></li> -->
<li><a href="https://arch.otc-service.com/docs/best-practices/" target="_blank" rel="noopener noreferrer">Best Practices</a></li>
<li><a href="https://arch.otc-service.com/docs/blueprints/" target="_blank" rel="noopener noreferrer">Blueprints</a></li>
</ul>
</scale-telekom-mega-menu-column>
{% endif %}
Expand Down Expand Up @@ -491,9 +483,12 @@
<!-- Remove Architecture Center from Swiss Environment -->
{% if not otcdocs_search_environment == 'hc_swiss' %}
<scale-telekom-mobile-menu-item slot="children">
<a href="{{base_url}}/architecture-center/">Architecture Center</a>
<a href="https://arch.otc-service.com/">Architecture Center</a>
<scale-telekom-mobile-menu-item slot="children">
<a href="{{base_url}}/architecture-center/blueprints/">Blueprints</a>
<a href="https://arch.otc-service.com/docs/best-practices">Best Practices</a>
</scale-telekom-mobile-menu-item>
<scale-telekom-mobile-menu-item slot="children">
<a href="https://arch.otc-service.com/docs/blueprints/">Blueprints</a>
</scale-telekom-mobile-menu-item>
</scale-telekom-mobile-menu-item>
{% endif %}
Expand Down Expand Up @@ -787,9 +782,12 @@
<!-- Remove Architecture Center from Swiss Environment -->
{% if not otcdocs_search_environment == 'hc_swiss' %}
<scale-telekom-mobile-menu-item slot="children">
<a href="{{base_url}}/architecture-center/">Architecture Center</a>
<a href="https://arch.otc-service.com/">Architecture Center</a>
<scale-telekom-mobile-menu-item slot="children">
<a href="https://arch.otc-service.com/docs/best-practices">Best Practices</a>
</scale-telekom-mobile-menu-item>
<scale-telekom-mobile-menu-item slot="children">
<a href="{{base_url}}/architecture-center/blueprints/">Blueprints</a>
<a href="https://arch.otc-service.com/docs/blueprints/">Blueprints</a>
</scale-telekom-mobile-menu-item>
</scale-telekom-mobile-menu-item>
{% endif %}
Expand Down

0 comments on commit 7ed09f4

Please sign in to comment.