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

html builder omit query component when builder name start with 'epub' #11967

Closed

Conversation

turky
Copy link
Contributor

@turky turky commented Feb 8, 2024

Subject:

Feature or Bugfix

  • Bugfix

Purpose

PR #11766 removed query component from URLs in EPUB. But if we want enhance epub builder for their own needs, it doesn't work. This PR aim to solve this.

Detail

compare builder name start with 'epub' not fixed literal. we can use our own builder name with prefix 'epub'.

Relates

#11598

@picnixz
Copy link
Member

picnixz commented Feb 8, 2024

What about builders that enhance EPUB but are not named like that? like better-epub (I don't know if such builder exists)? Should we perhaps add a configuration value as a list of builder-names for which we want to omit query components ?

@turky
Copy link
Contributor Author

turky commented Feb 8, 2024

Thank you for your response. I've thinked about your question, any choice will be embeding negative effects into the code base. withdrawing my PR is the best one.

@turky turky closed this Feb 8, 2024
@picnixz
Copy link
Member

picnixz commented Feb 8, 2024

Oh, you did not need to do that actually. I don't think it would have been a bad idea to have a configuration value. Anyway, we can always reopen this PR if the needs arise !

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants