Skip to content

Commit

Permalink
Revert "Switch to path operations to silence Sphinx 8 deprecation war…
Browse files Browse the repository at this point in the history
…nings"

This reverts commit da299f5.
  • Loading branch information
sbesson committed Sep 13, 2023
1 parent 517c6a2 commit 40f0db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omero/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ def copy_legacy_redirects(app, exception):
]
if app.builder.name == 'html':
for html_src_path in redirect_files:
target_path = (app.outdir / html_src_path)
src_path = (app.srcdir / html_src_path)
target_path = app.outdir + '/' + html_src_path
src_path = app.srcdir + '/' + html_src_path
if os.path.isfile(src_path):
target_dir = os.path.dirname(target_path)
if not os.path.exists(target_dir):
Expand Down

0 comments on commit 40f0db4

Please sign in to comment.