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

Add parameters to capture intermediate transformation results #449

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

ndw
Copy link
Contributor

@ndw ndw commented Jan 16, 2024

This PR addresses #440 by adding two new parameters transformed-docbook-input and transformed-docbook-output to capture the pre-processed DocBook input that will be transformed into HTML and the immediate (HTML-ish) results of that transformation (before chunking).

I've adopted @fsteimke 's proposal in #441 slightly. I've only ever wanted these intermediate results for debugging, and I've been satisfied to just tweak the stylesheets when necessary (for example, the block of commented-out code that's been removed in this PR). But making them options seems reasonable and in that case, I can imagine wanting to capture either one, depending on what I'm debugging.

Thank you, Frank!

Close #440
Close #441

@ndw ndw merged commit 5b2673f into docbook:main Jan 16, 2024
2 checks passed
@ndw ndw deleted the debug-intermediat-forms branch January 16, 2024 10:58
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.

Option to dump DocBook Content after main transformations
1 participant