Fix citations in documentation#414
Conversation
|
Thanks @SachinDurairaj06 for the PR! The approach looks right, but the Documenter workflow is failing because DocumenterCitations needs to be added to the docs environment ( |
|
Thanks for the review and the clarification. I’ve updated docs/Project.toml to include DocumenterCitations in the docs environment, which should fix the documentation workflow failure. The change has been pushed to this PR. Please let me know if anything else needs adjustment. @sethaxen |
|
@sethaxen can u approve the checks to verify the fix |
|
@sethaxen I’ve addressed the documentation failure by adding DocumenterCitations. |
No need to worry about the extension tests since this PR doesn't touch those, but I'm seeing that the docs build is still failing. Are you able to instantiate the environment and build the docs locally? |
|
@sethaxen I have fixed it again ,can u approve the checks to verify the fix |
|
@sethaxen I can confirm the docs now build locally with |
|
@SachinDurairaj06 I've merged main into your branch to resolve the doctest failures with the new ArviZExampleData v0.3, but I'm still seeing numerous errors in the docs build. e.g. here This seems to be because the And a bunch of ones like this (e.g. here): Error: expand_citation (rec): No destination for key="Hyndman1996" → unlinked text "1"
Error: expand_citation (rec): No destination for key="ChenShao1999" → unlinked text "Chen and Shao [2]"
...I don't know what the 2nd set of errors is caused by, but the first set make sense, and I'm surprised the docs build succeeds locally for you. |
|
Thanks for the detailed explanation — that makes sense. |
1ccfea0 to
5bc5b8f
Compare
This PR enables citation support in ArviZ.jl documentation by adding
DocumenterCitations wiring and a references.bib file, following the
setup used in PosteriorStats.jl.
Fixes #405