We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.PathLike
pathlib.Path
1 parent 5c3bbc6 commit e6cfdf3Copy full SHA for e6cfdf3
sphinxcontrib/htmlhelp/__init__.py
@@ -5,7 +5,6 @@
5
import html
6
import os
7
from os import path
8
-from pathlib import Path
9
from typing import Any
10
11
from docutils import nodes
@@ -256,7 +255,7 @@ def build_toc_file(self) -> None:
256
255
}
257
f.write(self.render('project.hhc', context))
258
259
- def build_hhx(self, outdir: Path, outname: str) -> None:
+ def build_hhx(self, outdir: str | os.PathLike[str], outname: str) -> None:
260
logger.info(__('writing index file...'))
261
index = IndexEntries(self.env).create_index(self)
262
filename = path.join(outdir, outname + '.hhk')
0 commit comments