Skip to content

Commit b459228

Browse files
Copilotjtemporal
andcommitted
Revert changes to config_manager.py
Remove puppeteer configuration additions as requested Co-authored-by: jtemporal <6595551+jtemporal@users.noreply.github.com>
1 parent 917bdac commit b459228

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/config_manager.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ def _setup_paths(self):
4040
# Theme configuration
4141
self.theme_path = self.root_dir / 'gitfichas-mermaid-theme.json'
4242

43-
# Puppeteer configuration
44-
self.puppeteer_config_path = Path('/tmp/puppeteer-config.json')
45-
4643
def _setup_directories(self):
4744
"""Create required directories if they don't exist."""
4845
self.images_dir.mkdir(parents=True, exist_ok=True)
@@ -104,8 +101,7 @@ def get_mermaid_cli_command(self, temp_file: Path, output_path: Path) -> list:
104101
'--height', '675',
105102
'-e', 'svg',
106103
'--configFile', str(self.theme_path),
107-
'--cssFile', str(self.combined_css_path),
108-
'-p', str(self.puppeteer_config_path)
104+
'--cssFile', str(self.combined_css_path)
109105
]
110106

111107
def get_image_path(self, front_matter: Dict[str, Any], file_path: Path) -> Path:

0 commit comments

Comments
 (0)