14 lines
580 B
Diff
14 lines
580 B
Diff
Index: patroni/docs/conf.py
|
|
===================================================================
|
|
--- patroni.orig/docs/conf.py
|
|
+++ patroni/docs/conf.py
|
|
@@ -204,4 +204,7 @@ intersphinx_mapping.update(check_object_
|
|
# A possibility to have an own stylesheet, to add new rules or override existing ones
|
|
# For the latter case, the CSS specificity of the rules should be higher than the default ones
|
|
def setup(app):
|
|
- app.add_stylesheet("custom.css")
|
|
+ if hasattr(app, 'add_css_file'):
|
|
+ app.add_css_file('custom.css')
|
|
+ else:
|
|
+ app.add_stylesheet('custom.css')
|