packagedocs
packagedocs copied to clipboard
Simple package produces invalid "Docs" link in header
https://github.com/krlmlr/tic.packagedocs => https://krlmlr.github.io/tic.packagedocs, I basically just called init_vignettes()
without adapting the generated code. See https://travis-ci.org/krlmlr/tic.packagedocs/builds/246795288#L1424 for the build log.
I have also found that it seems necessary to install the package before building the documentation, but I guess this is by design.
Thanks for the report. That is indeed not how the docs link should be populated with the initialization. I have made a fix here: https://github.com/hafen/packagedocs/tree/fix-docs-link. I haven't verified yet but will merge after making sure it works.
After running packagedocs::init_vignettes()
, I get in the headers of _docs.Rmd and rd.Rmd
navpills: |
<li><a href='docs.html'>Docs</a></li>
It should be :
<li><a href='index.html'>Docs</a></li>
Correcting it solves the issue.