diff options
author | Danilo G. Baio <dbaio@freebsd.org> | 2021-12-14 13:29:03 +0900 |
---|---|---|
committer | Yasuhiro Kimura <yasu@FreeBSD.org> | 2022-01-11 11:48:50 +0900 |
commit | 21fd9a9ed6faf24e1befc1240a0cf91a609349c4 (patch) | |
tree | abec42f5f22af5b5829d4e14d168b688f4035a05 /deskutils/py-paperless/files/patch-docs_conf.py | |
parent | www/py-django-post_office: Updated to 3.6.0 (diff) |
textproc/py-sphinx: Update to 4.3.1
ChangeLog: https://github.com/sphinx-doc/sphinx/blob/v4.3.1/CHANGES
PR: 257116
Approved by: python (dbaio)
Diffstat (limited to 'deskutils/py-paperless/files/patch-docs_conf.py')
-rw-r--r-- | deskutils/py-paperless/files/patch-docs_conf.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/deskutils/py-paperless/files/patch-docs_conf.py b/deskutils/py-paperless/files/patch-docs_conf.py new file mode 100644 index 000000000000..4e490b5921a3 --- /dev/null +++ b/deskutils/py-paperless/files/patch-docs_conf.py @@ -0,0 +1,13 @@ +# add_stylesheet() deprecated on Sphinx 4.0 +# https://www.sphinx-doc.org/en/master/extdev/deprecated.html +--- docs/conf.py.orig 2019-01-27 13:48:05 UTC ++++ docs/conf.py +@@ -21,7 +21,7 @@ exec(open("../src/paperless/version.py").read()) + + # Believe it or not, this is the officially sanctioned way to add custom CSS. + def setup(app): +- app.add_stylesheet("custom.css") ++ app.add_css_file("custom.css") + + # If extensions (or modules to document with autodoc) are in another directory, + # add these directories to sys.path here. If the directory is relative to the |