Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Set up Node.js runtime
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Set up Node.js dependency cache
uses: actions/cache@v2
uses: actions/cache@v5
id: cache
with:
path: node_modules
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Set up Python runtime
uses: actions/setup-python@v1
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Set up Python runtime
uses: actions/setup-python@v1
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down
3 changes: 1 addition & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ copyright: Copyright © 2016-2020 Containous; 2020 Traefik Labs
# Configuration
theme:
name: null
product: 'enterprise'
custom_dir: material

# 404 page
Expand Down Expand Up @@ -174,5 +175,3 @@ nav:
google_analytics:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
- auto

product: 'enterprise'
6 changes: 3 additions & 3 deletions src/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}" type="{{ favicon_type }}" />
{% endif %}

{% if config.product == "proxy" %}
{% if config.theme.product == "proxy" %}
<link rel="shortcut icon" href="{{ 'assets/images/logo-traefik-proxy-icon.svg' | url }}" type="image/svg+xml" />
{% elif config.product == "enterprise" %}
{% elif config.theme.product == "enterprise" %}
<link rel="shortcut icon" href="{{ 'assets/images/logo-traefik-enterprise-icon.svg' | url }}" type="image/svg+xml" />
{% elif config.product == "mesh" %}
{% elif config.theme.product == "mesh" %}
<link rel="shortcut icon" href="{{ 'assets/images/logo-traefik-mesh-icon.svg' | url }}" type="image/svg+xml" />
{% endif %}

Expand Down
14 changes: 7 additions & 7 deletions src/partials/product-switcher.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<nav class="product-switcher">
<div class="menu-item-wrapper menu-item-wrapper--dropdown">
<a class="menu-item menu-item--with-icon">
{% if config.product == "proxy" %}
{% if config.theme.product == "proxy" %}
<img
src="{{ 'assets/images/logo-traefik-proxy-logo.svg' | url }}"
height="48px"
width="auto"
alt="Traefik Proxy"
/>
{% elif config.product == "enterprise" %}
{% elif config.theme.product == "enterprise" %}
<img
src="{{ 'assets/images/logo-traefik-enterprise-logo.svg' | url }}"
height="48px"
width="auto"
alt="Traefik Enterprise"
/>
{% elif config.product == "hub" %}
{% elif config.theme.product == "hub" %}
<img
src="{{ 'assets/images/logos-traefik-hub-horizontal.svg' | url }}"
height="48px"
width="auto"
alt="Traefik Hub"
/>
{% elif config.product == "mesh" %}
{% elif config.theme.product == "mesh" %}
<img
src="{{ 'assets/images/logo-traefik-mesh-logo.svg' | url }}"
height="48px"
Expand Down Expand Up @@ -51,7 +51,7 @@
<div class="nav-dropdown-menu-wrapper">
<div class="dm-header">Product Documentation</div>
<div class="dm-items">
{% if config.product != "proxy" %}
{% if config.theme.product != "proxy" %}
<div class="dm-item">
<div class="dmi-image proxy">
<img
Expand All @@ -66,7 +66,7 @@
</div>
</a>
</div>
{% endif %} {% if config.product != "traefik-hub" %}
{% endif %} {% if config.theme.product != "traefik-hub" %}
<div class="dm-item">
<div class="dmi-image hub">
<img
Expand All @@ -81,7 +81,7 @@
</div>
</a>
</div>
{% endif %} {% if config.product != "enterprise" %}
{% endif %} {% if config.theme.product != "enterprise" %}
<div class="dm-item dm-item--traefikee">
<div class="dmi-image enterprise">
<img
Expand Down