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

ext.duration: fix merge_domaindata() #12251

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

mgeier
Copy link
Contributor

@mgeier mgeier commented Apr 9, 2024

Feature or Bugfix

  • Bugfix

Purpose

There is another level of dict in otherdata, which wasn't immediately obvious to me.

Detail

I didn't discover this by using sphinx.ext.duration, but I copied this code to my own extension and witnessed the failure there.

When I then tried sphinx.ext.duration, the Sphinx build process got stuck (in a parallel build), but I don't know if that happens in all projects.

I removed the type hint, because I'm quite sure it is wrong, but I don't know the right one.

Apparently, there is no test for this, but I also don't know how to create one.

@AA-Turner AA-Turner merged commit d7efb29 into sphinx-doc:master Apr 24, 2024
8 of 23 checks passed
@mgeier mgeier deleted the duration-merge-domaindata branch April 24, 2024 19:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
@AA-Turner AA-Turner added this to the 7.4.0 milestone Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants