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

GT's html export machinery doesn't provide a way to change the baseUrlvalue that gets templated into pages #4281

Open
botwhytho opened this issue Jan 22, 2025 · 0 comments
Assignees

Comments

@botwhytho
Copy link

Although LeHtmlPageUrlAttributePiece has a setter for that value LeHtmlPageUrlAttributePiece>>#baseUrl:, how this class is called (through LeHtmlGtBookPiece) doesn't provide any way to get a reference to set this value so currently have to attach an 'after' Metalink to it's initialize method which is a rather brittle solution, otherwise 'https://book.gtoolkit.com' is used, which is GT book specific and not generic.

One approach, although not ideal, would be to have a getter for formatPiece in the LeHtmlGtBookPiece class, that way users could also add different html format pieces for adding custom template values. Think having a customizable default value plus command line argument would be the most flexible for this specific issue.

@JurajKubelka JurajKubelka self-assigned this Jan 24, 2025
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

No branches or pull requests

2 participants