Fix deprecated add_stylesheet with add_css_file
The sphinx add_stylesheet() method was renamed in sphinx 1.8 to add_css_file()[1]. This patch replaces the use of add_stylesheet() with add_css_file(). [1] https://github.com/sphinx-doc/sphinx/commit/ \ 3afc72fba41f945610263be79d14c95d21478248 Change-Id: Id6eb1f81928fe397352e9daf3673df46aadcc1dd
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Updated the CSS handling to use add_css_file instead of add_stylesheet.
|
@@ -465,4 +465,4 @@ class Directive(rst.Directive):
|
|||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_directive('support_matrix', Directive)
|
app.add_directive('support_matrix', Directive)
|
||||||
app.add_stylesheet('support-matrix.css')
|
app.add_css_file('support-matrix.css')
|
||||||
|
Reference in New Issue
Block a user