This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch add-sphinx7-support in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 9457c37eba2d91504376d1f58d96cdf8a319aeeb Author: Jarek Potiuk <[email protected]> AuthorDate: Sun Aug 6 19:10:29 2023 +0200 Fix Shinx Airflow Theme to work for Sphinx 7 Still the theme/CSS is pretty bad but at least it can build on CI with those changes. --- sphinx_airflow_theme/setup.py | 2 +- sphinx_airflow_theme/sphinx_airflow_theme/__init__.py | 2 +- sphinx_airflow_theme/sphinx_airflow_theme/layout.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx_airflow_theme/setup.py b/sphinx_airflow_theme/setup.py index 16bf2cae51..9b0460ef77 100644 --- a/sphinx_airflow_theme/setup.py +++ b/sphinx_airflow_theme/setup.py @@ -64,7 +64,7 @@ setup( ] }, install_requires=[ - 'sphinx>=1.8' + 'sphinx>=7.0.0' ], tests_require=[], extras_require={ diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py index fcd4e04060..287de4b66e 100644 --- a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py +++ b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py @@ -18,7 +18,7 @@ from os import path from sphinx.application import Sphinx -__version__ = '0.0.12' +__version__ = '0.1.1rc1' __version_full__ = __version__ diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/layout.html b/sphinx_airflow_theme/sphinx_airflow_theme/layout.html index f9b454d326..de2ed925c3 100644 --- a/sphinx_airflow_theme/sphinx_airflow_theme/layout.html +++ b/sphinx_airflow_theme/sphinx_airflow_theme/layout.html @@ -223,7 +223,7 @@ {%- endmacro %} {%- macro css() %} - <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> + <link rel="stylesheet" href="{{ pathto('_static/', 1) }}" type="text/css" /> {%- for css in css_files %} {%- if css|attr("filename") %}
