File: doc_extlink_PR2112.patch

package info (click to toggle)
h5py 3.7.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,576 kB
  • sloc: python: 10,451; ansic: 579; makefile: 403; sh: 18
file content (27 lines) | stat: -rw-r--r-- 1,141 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 96726f44726c2d608351346cde437b2e3bec487d Mon Sep 17 00:00:00 2001
From: James Tocknell <aragilar@gmail.com>
Date: Fri, 10 Jun 2022 23:41:17 +1000
Subject: [PATCH] Fix sphinx extlinks warning

https://github.com/sphinx-doc/sphinx/commit/93cf1a57d916a1ff96c8e8a0356d0256e40489ac
requires that the caption contain '%s' once. Previously our captions did
not contain '%s', this adds it in.
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: h5py/docs/conf.py
===================================================================
--- h5py.orig/docs/conf.py	2022-08-01 15:03:09.963565929 +0200
+++ h5py/docs/conf.py	2022-08-01 15:03:09.963565929 +0200
@@ -37,8 +37,8 @@
 #intersphinx_mapping = {'low': ('https://api.h5py.org', None)}
 
 extlinks = {
-    'issue': ('https://github.com/h5py/h5py/issues/%s', 'GH'),
-    'pr': ('https://github.com/h5py/h5py/pull/%s', 'PR '),
+    'issue': ('https://github.com/h5py/h5py/issues/%s', 'GH%s'),
+    'pr': ('https://github.com/h5py/h5py/pull/%s', 'PR %s'),
 }
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']