kea: patch for Sphinx 4.x
add_stylesheet was renamed to add_css_file from Sphinx 1.8.
This commit is contained in:
parent
8f87d9f828
commit
7f6b350c0a
1 changed files with 13 additions and 0 deletions
13
srcpkgs/kea/patches/sphinx-4.0.patch
Normal file
13
srcpkgs/kea/patches/sphinx-4.0.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
add_stylesheet was renamed to add_css_file from Sphinx 1.8
|
||||
Index: kea-1.9.5/doc/sphinx/conf.py
|
||||
===================================================================
|
||||
--- kea-1.9.5.orig/doc/sphinx/conf.py
|
||||
+++ kea-1.9.5/doc/sphinx/conf.py
|
||||
@@ -228,6 +228,6 @@ def run_generate_docs(_):
|
||||
|
||||
# custom setup hook
|
||||
def setup(app):
|
||||
- app.add_stylesheet('kea.css')
|
||||
+ app.add_css_file('kea.css')
|
||||
|
||||
app.connect('builder-inited', run_generate_docs)
|
Loading…
Reference in a new issue