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

Missing picture in the nuclideBases description #550

Closed
keckler opened this issue Jan 26, 2022 · 7 comments · Fixed by #556 or #565
Closed

Missing picture in the nuclideBases description #550

keckler opened this issue Jan 26, 2022 · 7 comments · Fixed by #556 or #565

Comments

@keckler
Copy link
Member

keckler commented Jan 26, 2022

If you're looking at the Sphinx documentation for the nuclideBases module, you might notice that there is a link to a figure in the docstring:

image

This link goes nowhere for me, I think because the figure doesn't exist.

@john-science
Copy link
Member

I can confirm this has been broken since the 0.2.0 release on Nov 19, 2021: https://terrapower.github.io/releases/armi/v0.2.0/.apidocs/armi.nucDirectory.nuclideBases.html

@ntouran How long has it been since these class diagrams displayed?

@john-science
Copy link
Member

Okay, it is my guess here that our docs used to have some automagical class diagrams, but only a couple relics of this remain.

Probably, these diagrams were just fragile and hard to maintain. (Such things always are.)

I am thinking that removing these defunct links and this dependency is the right solution:

"sphinx.ext.inheritance_diagram",

@john-science
Copy link
Member

Okay, I take it all back. This appears to be because the pylint library was left out of the doc/requirements-docs.txt.

We use pyreverse to make our UML diagrams. But the pyreverse project was moved into pylint, to pylint.pyreverse.

I will add that in. Easy fix.

@john-science john-science linked a pull request Feb 3, 2022 that will close this issue
5 tasks
@john-science
Copy link
Member

Okay, @keckler , there is a PR open for this: #556

@keckler
Copy link
Member Author

keckler commented Feb 7, 2022

I just looked at this issue specifically in the docs, and I don't think it was actually resolved.

Am I crazy?

@john-science
Copy link
Member

Damn, @keckler , you're right.

The PR worked on my computer, so that means something is not set up on our GitHub Actions. And I just found it. Graphviz needs to be installed to make those plots.

Of course I have it installed on my personal machine, and my work machine, and it's outside the Python env, so it was an invisible dependency for the PR. I will push that change now.

Good find, man.

@john-science john-science linked a pull request Feb 8, 2022 that will close this issue
@keckler
Copy link
Member Author

keckler commented Feb 8, 2022

Looks good!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants