Skip to content

Commit

Permalink
Don't require the doctree dir to exist at startup, it might not exist…
Browse files Browse the repository at this point in the history
… yet

Co-authored-by: Michael Park <michael.park@canonical.com>
  • Loading branch information
hugovk and SecondSkoll authored Sep 17, 2024
1 parent 9033dbc commit a149e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_autobuild/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _parse_args(argv):
args.sourcedir = Path(sphinx_args.sourcedir).resolve(strict=True)
args.outdir = Path(sphinx_args.outputdir).resolve()
if sphinx_args.doctreedir:
args.doctree_dir = Path(sphinx_args.doctreedir).resolve(strict=True)
args.doctree_dir = Path(sphinx_args.doctreedir).resolve()
else:
args.doctree_dir = None
if sphinx_args.warnfile:
Expand Down

0 comments on commit a149e1d

Please sign in to comment.