Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
fix sphinx doc compat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Sep 13, 2021
1 parent 1d4d080 commit b73c48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@

def setup(app):
# add custom css
app.add_stylesheet("css/customize.css")
app.add_css_file("css/customize.css")
from sphinx.ext.autodoc import cut_lines
# skip the copyright line in every module docstring (last line of docstring)
app.connect('autodoc-process-docstring', cut_lines(pre=0, post=1, what=['module']))

0 comments on commit b73c48e

Please sign in to comment.