From 02a0446661c421730448e1ecd43195004a07496f Mon Sep 17 00:00:00 2001 From: Shahar Epstein <60007259+shahar1@users.noreply.github.com> Date: Sat, 11 Jan 2025 09:38:03 +0200 Subject: [PATCH] TEST COMMIT - DO NOT MERGE: modify airflow-site layout.html via Dockerfile.ci --- Dockerfile.ci | 396 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 396 insertions(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 1d8b3944bc03e..cbc14fb8adcd4 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1355,6 +1355,402 @@ ENV PATH="/files/bin/:/opt/airflow/scripts/in_container/bin/:${PATH}" \ # so we can go back to the default link mode being hardlink. UV_LINK_MODE=hardlink +#COPY --from=scripts layout.html /usr/local/lib/python3.9/site-packages/sphinx_airflow_theme/ + +# TODO: DO NOT MERGE THE FOLLOWING - IT IS FOR TESTING ONLY +COPY <<"EOF" /usr/local/lib/python3.9/site-packages/sphinx_airflow_theme/layout.html +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} + +{# + basic/layout.html + ~~~~~~~~~~~~~~~~~ + + Master layout template for Sphinx themes. + + :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- set url_root = pathto('', 1) %} +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} +{%- if not embedded and docstitle %} + {%- set titlesuffix = " — "|safe + docstitle|e %} +{%- else %} + {%- set titlesuffix = "" %} +{%- endif %} +{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} + + + + + +{%- macro pager() %} +
+{%- endmacro %} + +{%- macro rating() %} + +{%- endmacro %} + +{%- macro sidebar() %} + +{%- endmacro %} + +{%- macro mobileSidebar() %} +