diff --git a/sphinxcontrib/applehelp/__init__.py b/sphinxcontrib/applehelp/__init__.py index ddec81e..aff78f4 100644 --- a/sphinxcontrib/applehelp/__init__.py +++ b/sphinxcontrib/applehelp/__init__.py @@ -78,8 +78,9 @@ def init(self) -> None: raise SphinxError(__('You must set applehelp_bundle_id before ' 'building Apple Help output')) - self.bundle_path = self.outdir / (self.config.applehelp_bundle_name + '.help') - self.outdir = self.bundle_path.joinpath( + self.bundle_path = path.join(self.outdir, self.config.applehelp_bundle_name + '.help') + self.outdir = path.join( + self.bundle_path, 'Contents', 'Resources', self.config.applehelp_locale + '.lproj',