diff --git a/changelog.md b/changelog.md index 15477c9..dfb0923 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 1.1.17 + +- Fix: fixed a link processing error for files with diagrams + # 1.1.16 - Feat: added 'allow_failure' and 'stub_text` options diff --git a/foliant/preprocessors/includes.py b/foliant/preprocessors/includes.py index 8a2c9bf..eb6a582 100644 --- a/foliant/preprocessors/includes.py +++ b/foliant/preprocessors/includes.py @@ -731,7 +731,7 @@ def _process_include( if self.options['allow_failure']: self.logger.error(f'The url or repo_url link is not correct, file not found: {included_file_path}') - path_error_link = Path(self._cache_dir_path/'_error_link').resolve() + path_error_link = Path(self.project_path/'.error_link').resolve() if not Path(path_error_link).exists(): Path(path_error_link).mkdir() diff --git a/setup.py b/setup.py index 58127c9..d518e3e 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ description=SHORT_DESCRIPTION, long_description=LONG_DESCRIPTION, long_description_content_type='text/markdown', - version='1.1.16', + version='1.1.17', author='Konstantin Molchanov', author_email='moigagoo@live.com', url='https://github.com/foliant-docs/foliantcontrib.includes',