File: sphinx4.patch

package info (click to toggle)
python-ruffus 2.8.4-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,492 kB
  • sloc: python: 17,613; makefile: 213; sh: 18
file content (23 lines) | stat: -rw-r--r-- 681 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
From: Andreas Tille <tille@debian.org>
Date: Sun, 8 Mar 2026 11:17:36 +0100
Subject: Adapt to sphinx 4.x API

Last-Update: 2021-09-30
Forwarded: https://github.com/cgat-developers/ruffus/issues/127
---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index f73c0ea..0b9cea2 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -21,7 +21,7 @@ import ruffus, ruffus.task, ruffus.ruffus_version
 def setup(app):
    #app.add_javascript("custom.js")
    if not on_rtd:
-       app.add_stylesheet("ruffus.css")
+       app.add_css_file("ruffus.css")
 
 
 # If extensions (or modules to document with autodoc) are in another directory,