Closed eightfilms closed 1 week ago
Applying the doc attribute without ! just applies it to the next item, and does not actually include the README.md. For example:
doc
!
README.md
This PR fixes that by using #! instead to apply it to the entire scope, thus actually including the contents in the README.
#!
With this PR:
To test, run cargo doc within ronkathon.
cargo doc
ronkathon
edit: the latex rendering within the html seems janky, but this could be fixed in a followup PR.
fixed errors - doctests were running the poseidon examples from the README (which we now ignore with cfg_attr)
cfg_attr
Applying the
doc
attribute without!
just applies it to the next item, and does not actually include theREADME.md
. For example:This PR fixes that by using
#!
instead to apply it to the entire scope, thus actually including the contents in the README.With this PR:
To test, run
cargo doc
withinronkathon
.edit: the latex rendering within the html seems janky, but this could be fixed in a followup PR.