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
Compatibility to Sphinx 3.x #6
Comments
The main issue I know of is that sphinx 3 added new directives to the C domain and the old directives no longer work for their overloaded usage. (sphinx 3 c domain).
|
@speedyleion, it seems that macros and structs are now explicitly handled by
|
My vote would be to migrate to sphinx 3, dropping sphinx 2 support.
|
Doing some more digging it seems others are feeling the sphinx 2 - 3 pain for the c domain
I tried the compatibility flag, c_allow_pre_v3, unfortunately it doesn't fix everything. In particular function like macros aren't supported and the way viewcode is hooked up seems to have problems with the new From the original post by @Paebbels it seems that you all aren't on a linux distro that is stuck back on sphinx 2. I'll try to find some time to dig through the new C domain and get an understanding of what's going on in there. |
I'm running on Windows and Linux (local GitLab runners as well as Travis or ReadTheDocs). Anyhow, I force all these environments to Sphinx 3.x :). |
I've released a new version on pypi, 0.3.0, which supports sphinx 3. |
Wow! That was a really fast and effective reaction. Congratulations! |
What are the problems for this extension to be Sphinx 3.x compatible?
Installing this extension currently degrades Sphinx from 3.2.1 to 2.4.4. As Sphinx is usually full of bugs and problems, it wise to use always the latest Sphinx version.
/cc @eine
The text was updated successfully, but these errors were encountered: