Commit 84c5ca5
conf.py: Add support for sphinx 4.0+
add_stylesheet is removed with sphinx 4.0 and this will cause error in
conf.py
Fix it by trying to use the new add_css_file introduced in 1.8 and fall
back to add_stylesheet for older sphinx version.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent 2ee4722 commit 84c5ca5
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
0 commit comments