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
feat: expose the full config to handlers #509
feat: expose the full config to handlers #509
Conversation
Instead of just passing the handler_config on initialization pass the full dictionary of `extension_config` directly to the handler. References: mkdocstrings#501
@pawamoy interested to see where else you would see/want refactoring from having access to the full configuration object. Keeping the same interfaces/backwards compatibility limited a few other places that I saw. Namely in the |
Hey sorry, I forgot about this PR. Just so you know, it is fine to ping me if I don't answer 🙂 |
No worries, we are all busy! |
@pawamoy , I'll ping you this time. Did you get a chance to review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK lets start with that and I'll see later if there's a way to push it even further. Thanks!
Sounds great, thanks! |
Instead of just passing only the handler_config on initialization pass the full dictionary of
extension_config
directly to the handler. Refactors items that were pulled from the full configuration to point directly to that object.References: #501