mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
sphinx: fix logo_url variable in the Haiku theme (#10147)
This commit is contained in:
22
dev-python/sphinx/patches/sphinx-7.2.6.patchset
Normal file
22
dev-python/sphinx/patches/sphinx-7.2.6.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 6e8e69f89446b389a4adc1d553d90605e008aa39 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Sat, 24 Feb 2024 21:47:09 -0700
|
||||
Subject: fix logo->logo_url in the Haiku theme
|
||||
|
||||
|
||||
diff --git a/sphinx/themes/haiku/layout.html b/sphinx/themes/haiku/layout.html
|
||||
index 4e14826..1af9a12 100644
|
||||
--- a/sphinx/themes/haiku/layout.html
|
||||
+++ b/sphinx/themes/haiku/layout.html
|
||||
@@ -39,7 +39,7 @@
|
||||
<img class="logo" src="{{ logo_url|e }}" alt="Logo"/>
|
||||
</a>
|
||||
{%- else %}
|
||||
- {%- if logo -%}
|
||||
+ {%- if logo_url -%}
|
||||
<img class="rightlogo" src="{{ logo_url|e }}" alt="Logo"/>
|
||||
{%- endif -%}
|
||||
<h1 class="heading"><a href="{{ pathto('index') }}">
|
||||
--
|
||||
2.42.1
|
||||
|
||||
@@ -21,9 +21,10 @@ extensions."
|
||||
HOMEPAGE="https://www.sphinx-doc.org/"
|
||||
COPYRIGHT="2023 Georg Brandl"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/sphinx-doc/sphinx/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b41c04543148937b887097f396d7b2b54ae49d0597b68625f06ffdf702d4d917"
|
||||
PATCHES="sphinx-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user