Skip to content

Commit

Permalink
test: enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TOsmanov authored Sep 9, 2024
1 parent 05fef21 commit 0689673
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions foliant/preprocessors/includes.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ def __init__(self, *args, **kwargs):
self._cache_dir_path = self.project_path / self.options['cache_dir']
self._downloaded_dir_path = self._cache_dir_path / '_downloaded_content'
self.src_dir = self.config.get("src_dir")
self.includes_map_enable = False
self.includes_map_anchors = False
self.includes_map_enable = True # TODO: the default value is False
self.includes_map_anchors = True # TODO: the default value is False
if 'includes_map' in self.options:
self.includes_map_enable = True
self.includes_map = []
if 'anchors' in self.options['includes_map']:
self.includes_map_anchors = True
if self.includes_map_enable:
self.includes_map = []

self.logger = self.logger.getChild('includes')

Expand Down

0 comments on commit 0689673

Please sign in to comment.