Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix absolute doc_opt paths on Windows (#497) #506

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

S1artie
Copy link

@S1artie S1artie commented Feb 3, 2023

This PR contains a fix for the Windows absolute path problem described under issue #497.

It implements a heuristic that attempts to detect the specific Windows absolute path situation in the first two parameter parts (template file and output file) and rectifies it by recombining the accidentially-splitted parts. Unfortunately that seems to be the best-possible solution to the underlying problem as long as the --doc_opt format specification is to be kept as-is.

Tests have been added that fail with the original code, but succeed with the fix.

@S1artie
Copy link
Author

S1artie commented Feb 9, 2023

ping @pseudomuto as requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant