소스 검색

Merge pull request #5867 from FelixSchwarz/1.1-maint

docs: replace deprecated function ".add_stylesheet()" for Sphinx 4 compatibility
TW 4 년 전
부모
커밋
0af0a444b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -113,7 +113,7 @@ def set_rst_settings(app):
 
 
 def setup(app):
-    app.add_stylesheet('css/borg.css')
+    app.add_css_file('css/borg.css')
     app.connect('builder-inited', set_rst_settings)
 
 # Theme options are theme-specific and customize the look and feel of a theme