-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: rename the extension name with no conflict #275
Conversation
I don't see how the changes proposed can alleviate #274 ... Can you explain a bit please? |
Agreed, me neither |
i think the function 'fix_edit_link_button' is defined in ansys-sphinx theme and in pymapdl, made the jinja to add the function in html context, and shadowing fix_edit_link_button function, leading to unexpected behavior of looking for an extension named ansys. |
I tried it locally and it is fixing my error for pymapdl! |
Oh... so it's because PyMAPDL has it's own function? In that case... we might want to change PyMAPDL rather than the Sphinx theme... right? |
Yes, but i think we both got that name from pyvista, if we are adding this as another extension or add theme in public themes, it should not conflict another library, so i changed it here.! |
Okay, let's accept the change then =) |
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.
With the recent explanations, I see the point for this PR and I approve it.
Looking forward to see this change in the next release. Thank a lot @Revathyvenugopal162 !! 😄
By the way, I guess your fix for the "edit button" should also work with PyMAPDL I guess? So maybe we can remove that bit from PyMAPDL. |
Also, how did you discover what was the reason? It seems to me the error was a bit obscure. Very good job! |
i believe, we can remove some code and the extension with these changes. |
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.
Thanks for the explanations @Revathyvenugopal162 .
I will.. eventually... one day.. find the time for this. 🥲 |
Can we merge this BTW? |
We will need a patch release for this. |
Yep, @Revathyvenugopal162 - please plan on it |
Sure, i will do this Morning. |
fix #274