From 5203691159376d8251761ff7a418510e4a365aa0 Mon Sep 17 00:00:00 2001 From: Timur Osmanov Date: Fri, 19 Jul 2024 21:23:25 +0300 Subject: [PATCH] update debug --- foliant/preprocessors/includes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/foliant/preprocessors/includes.py b/foliant/preprocessors/includes.py index dfe7dcb..9d6c928 100644 --- a/foliant/preprocessors/includes.py +++ b/foliant/preprocessors/includes.py @@ -966,7 +966,7 @@ def process_includes( donor_md_path = included_file_path.as_posix() - self.logger.debug(f'Set the repo URL of the included file to {recipient_md_path}: {donor_md_path}') + self.logger.debug(f'Set the repo URL of the included file to {recipient_md_path}: {donor_md_path} (1)') if included_file_path.name.startswith('^'): included_file_path = self._find_file( @@ -1020,7 +1020,7 @@ def process_includes( donor_md_path = f"{self.src_dir}/{included_file_path.relative_to(os.getcwd()).relative_to(self.working_dir).as_posix()}" - self.logger.debug(f'Set the path of the included file to {recipient_md_path}: {donor_md_path}') + self.logger.debug(f'Set the path of the included file to {recipient_md_path}: {donor_md_path} (2)') else: # if body is missing self.logger.debug('Using the new syntax rules') @@ -1060,7 +1060,7 @@ def process_includes( donor_md_path = include_link - self.logger.debug(f'Set the link of the included file to {recipient_md_path}: {donor_md_path}') + self.logger.debug(f'Set the link of the included file to {recipient_md_path}: {donor_md_path} (3)') elif options.get('url'): self.logger.debug('File to get by URL referenced') @@ -1090,7 +1090,7 @@ def process_includes( donor_md_path = options['url'] - self.logger.debug(f'Set the URL of the included file to {recipient_md_path}: {donor_md_path}') + self.logger.debug(f'Set the URL of the included file to {recipient_md_path}: {donor_md_path} (4)') elif options.get('src'): self.logger.debug('Local file referenced') @@ -1105,7 +1105,7 @@ def process_includes( else: donor_md_path = _path.as_posix() - self.logger.debug(f'Set the path of the included file to {recipient_md_path}: {donor_md_path}') + self.logger.debug(f'Set the path of the included file to {recipient_md_path}: {donor_md_path} (5)') if options.get('project_root'): current_project_root_path = (