Support generating docs for packages too

This commit is contained in:
Richard Feldman 2022-12-22 04:03:26 -05:00
parent e5a0509380
commit d8d517d6f9
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 41 additions and 18 deletions

View file

@ -45,6 +45,7 @@ pub enum HeaderType<'a> {
/// usually something other than `pf`
config_shorthand: &'a str,
exposes: &'a [Loc<ModuleName<'a>>],
exposes_ids: &'a [ModuleId],
},
Platform {
opt_app_module_id: Option<ModuleId>,
@ -54,7 +55,7 @@ pub enum HeaderType<'a> {
requires: &'a [Loc<TypedIdent<'a>>],
requires_types: &'a [Loc<UppercaseIdent<'a>>],
exposes: &'a [Loc<ModuleName<'a>>],
exposes_ids: &'a [roc_module::symbol::ModuleId],
exposes_ids: &'a [ModuleId],
/// usually `pf`
config_shorthand: &'a str,