this PR will show (in the main package list) the docs from foo and foo-doc in the package list entries for foo, foo-lib, foo-doc, superfoo. But it will not show the docs from scribble in the entry for scribble-bar.
The rule is:
if metapkg implies subpkg,
and subpkg has a tag named metapkg
then subpkg will list the docs from metapkg (if any) and the docs from any other sibbling subpkg.
This should remove all the "This package needs documentation" to-dos, as long as the authors add to the sub-packages a tag with the same name as the main metapackage.
Given the following packages:
this PR will show (in the main package list) the docs from
foo
andfoo-doc
in the package list entries forfoo
,foo-lib
,foo-doc
,superfoo
. But it will not show the docs fromscribble
in the entry forscribble-bar
.The rule is:
metapkg
impliessubpkg
,subpkg
has a tag namedmetapkg
subpkg
will list the docs frommetapkg
(if any) and the docs from any other sibblingsubpkg
.This is an initial fix for https://github.com/racket/racket-pkg-website/issues/58. A later version could add a proper 'metapackage or 'docs-of etc. field as suggested in some posts in that issue.