{% extends "base.html" %} {% block extrahead %} {% endblock %} {% block announce %} {% if page and page.meta.version_warning %}

⚠ You are viewing an archived snapshot of the documentation for Knative version: {{ page.meta.knative_version }}

Knative {{ page.meta.knative_version }} documentation is no longer actively maintained. The documentation you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.

{% endif %} {% endblock %} {# TEMPORARY HACK: replace {{ super() }} with the asset link, to use custom JSON build. #} {% block scripts %} {% endblock %} {# This overrides config.base in javascript to help it find the versions correctly. #} {% block config %} {% set _ = namespace() %} {% set _.tags = config.extra.tags %} {# This is changed from upstream to only show version picker on versioned pages #} {%- if config.extra.version -%} {%- if config.extra.version.provider == "mike" -%} {%- set mike = config.plugins.mike -%} {%- if not mike or mike.config.version_selector -%} {%- set _.version = config.extra.version -%} {%- endif -%} {%- elif config.extra.version.provider == "directory" -%} {%- if page and (page.meta.version) -%} {%- set _.version = {"provider":"directory", "declared_version": page.meta.version | string} -%} {%- endif -%} {%- endif -%} {%- endif -%} {% endblock %}