Skip to content

Conversation

@daniel-baumann
Copy link
Contributor

Hi,

with sphinx 9.x, ablog doesn't work (see #313).

This commit fixes it by first trying the new code for sphinx 9.x, but keeping the legacy compatiblity for sphinx 8 in place as fallback.

Please consider merging it.

Regards,
Daniel

@SilverRainZ
Copy link
Contributor

Can you please fix the CI?

return self.docwriter.parts["fragment"]

try:
# sphinx >= 9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can test sphinx.version_info[0] >= 9 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thanks.

Signed-off-by: Daniel Baumann <daniel@debian.org>
Copy link
Contributor

@SilverRainZ SilverRainZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SilverRainZ
Copy link
Contributor

Hi @nabobalis, can you please merge this when you are free?

B.T.W. I heavily use this extension; Perhaps I could become a member of the maintainers and help handle issues and pull requests.

@nabobalis
Copy link
Member

Hello @SilverRainZ,

I have stepped back from maintain projects under the sunpy umbrella as a result, I lack any write access to this repository anymore.

Hopefully someone from the @sunpy/sunpy-core-team will be able to review and merge this PR.

Thank you @daniel-baumann for opening the PR as well.

@Cadair
Copy link
Member

Cadair commented Jan 20, 2026

pre-commit.ci autofix

@Cadair
Copy link
Member

Cadair commented Jan 20, 2026

hey @daniel-baumann thanks a lot for this PR, the notifications got lost in the post holiday chaos. I'll have a look at it now.

@Cadair
Copy link
Member

Cadair commented Jan 20, 2026

The CI is very broken, but that doesn't seem to be the fault of this PR. I'll merge this then try and fix up the CI when I can before cutting a release.

@Cadair Cadair merged commit ee97836 into sunpy:main Jan 20, 2026
9 of 16 checks passed
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.

4 participants