diff --git a/debian/changelog b/debian/changelog index f80eb10..6b0834d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sphinx-rtd-theme (2.0.0+dfsg-ok2) nile; urgency=medium + + * Backport upstream patch for fix build error. + + -- liwenjun Thu, 17 Oct 2024 17:42:19 +0800 + sphinx-rtd-theme (2.0.0+dfsg-ok1) nile; urgency=medium * Build for openKylin. diff --git a/tests/test_builders.py b/tests/test_builders.py index d3d3c51..184e416 100644 --- a/tests/test_builders.py +++ b/tests/test_builders.py @@ -37,10 +37,13 @@ def test_basic(): ) assert search in content elif isinstance(app.builder, SingleFileHTMLBuilder): + internal_ref = '#document-foo' + if sphinx.version_info[:3] < (7, 3, 0): + internal_ref = 'index.html' + internal_ref search = ( '' )