-
Notifications
You must be signed in to change notification settings - Fork 0
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
Change bibliography to footbibliography #13
Conversation
This is more to show what I mean and the content that let me render what's in #12 -- it may make more sense to just have a global bibliography instead. |
The RTD build https://readthedocs.org/projects/mdaencore/builds/21702726/ fails with
|
Building locally
On the plus side, the RTD build is working again. |
@@ -8,11 +8,12 @@ dependencies: | |||
- pip | |||
|
|||
- sphinxcontrib-bibtex=2.5.0 | |||
- mdanalysis-sphinx-theme |
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.
I forgot to merge main into the branch before editing and had independently moved danalysis-sphinx-theme from pip to conda... and then I grouped it with other sphinx things.
'python': ('https://docs.python.org/3/', None), | ||
'mdanalysis': ('https://docs.mdanalysis.org/stable/', None), | ||
"python": ('https://docs.python.org/3/', None), | ||
"mdanalysis": ('https://docs.mdanalysis.org/stable/', None), |
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.
same here... doubled up on work that was already in main
@orbeckst I could reproduce the footnote issue but not the missing The footnotes issue was because it was in the first sentence of the module docstring, which was then reproduced in the autosummary table but without a corresponding local bibliography to link to. |
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.
I generally agree with @lilyminium that a global bibliography makes a lot of sense for this kit. However, the current PR is strictly improvement over the previous approach so let's merge it.
There's the one issue with missing(??) citation in the autosummary generated page
~/MDAnalysis/mdaencore/docs/source/autosummary/mdaencore.rst:38:<autosummary>:1: ERROR: Too many autonumbered footnote references: only 0 corresponding footnotes available.
~/MDAnalysis/mdaencore/docs/source/autosummary/mdaencore.rst:38:<autosummary>:1: ERROR: Unknown target name: "footcite-lindorfflarsen2009".
which I don't understand (and I am not a fan of autosummary in general...).
Thanks for fixing the footnote bib! |
data files is still missing for me
|
If RTD build then please merge whenever you want to @lilyminium . |
Ah you might need to delete the autosummary directory and rebuild docs to get rid of the warning -- Oh weird, I don't get the autodoc warning. |
I see. I assumed (wrongly) that (See, I am justified in not liking autosummary ;-) ). |
The |
Fixes #12
Changes made in this Pull Request:
PR Checklist