Skip to content

Conversation

@daniel-baumann
Copy link

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
Author

Choose a reason for hiding this comment

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

done, thanks.

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.

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.

3 participants