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:
Michael Johnson 2019-04-12 10:21:25 -07:00
parent 2dacdfb5bf
commit f6f3e0f2d8
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Updated the CSS handling to use add_css_file instead of add_stylesheet.

View File

@ -465,4 +465,4 @@ class Directive(rst.Directive):
def setup(app):
app.add_directive('support_matrix', Directive)
app.add_stylesheet('support-matrix.css')
app.add_css_file('support-matrix.css')