Skip to content
Prev 10295 / 21318 Next

[Bioc-devel] Package reference manuals in html

Dear all,

I'm following up re my online references suggestion with my recent
experience with Hadley's pkgdown package

  https://github.com/hadley/pkgdown

It doesn't address the cross-package issue (which is a difficult one
anyway), but does pretty much everything else (with some caveats though,
see below).

Here are 2 examples 

- MSnbase: http://lgatto.github.io/MSnbase/
- hpar: http://lgatto.github.io/hpar/

It uses the REAMDE file as index page, creates html documents for all Rd
files in man, an article tab for vignettes (but see below) and a News
tab (but see below)

The biggest caveats is that only Rmd vignettes are taken into account;
Rnw are completely ignored (they don't show up at all in the Articles
tab). This is not going to be tackled by the developer [1].

[1] https://github.com/hadley/pkgdown/issues/220

I had a quick look at the code and patching pkgdown (and probably
rmarkdown) to build Rnw/pdf vignettes would take too much time I could
devote at the moment. I would be satisfied if the Rnw were not build but
at least there were links in the Articles tab pointing to the vignettes
Bioconductor landing pages. On the other hand, I am migrating to
BiocStyle's html_document2 with the nice floating table of contents...

Regarding the News tab, only NEWS.md (markdown format) are considered;
NEWS in Rd are ignored too. 

Hope this helps.

Best wishes,

Laurent
On 16 March 2016 23:33, Andrzej Ole? wrote: