summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGuillaume Lambert <guillaume.lambert@orange.com>2021-02-02 15:35:50 +0100
committerGuillaume Lambert <guillaume.lambert@orange.com>2021-02-15 14:51:14 +0100
commite1dcdbe27fc4c736542e42f968b8fb0c86abe8e0 (patch)
tree240ca725cae342d93b4a16b0e9611a718efdbe3b /docs
parent1b310c7db2993775d7c9f135f8b784d6260fbb90 (diff)
[DOC] Fix sphinx add_stylesheet deprecated method
by using add_css_file instead Issue-ID: DOC-692 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ib8af980dc116fc551ca180c28cfb658bb6f86299 (cherry picked from commit 3e25eeb9b2c67473ed1513fa1c6aad0ab68f9edc)
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4dfc64ece..ed120e210 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -105,7 +105,7 @@ linkcheck_ignore = [
html_last_updated_fmt = '%d-%b-%y %H:%M'
def setup(app):
- app.add_stylesheet("css/ribbon.css")
+ app.add_css_file("css/ribbon.css")
from docutils.parsers.rst import directives