mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
ugly hack to make the docs build
This commit is contained in:
parent
632f153b3e
commit
b6224a3806
2 changed files with 10 additions and 1 deletions
|
@ -4374,8 +4374,10 @@ fn canonicalize_and_constrain<'a>(
|
|||
ModuleNameEnum::Platform => None,
|
||||
ModuleNameEnum::App(_) => None,
|
||||
ModuleNameEnum::Interface(name) | ModuleNameEnum::Hosted(name) => {
|
||||
let mut scope = module_output.scope.clone();
|
||||
scope.add_docs_imports();
|
||||
let docs = crate::docs::generate_module_docs(
|
||||
module_output.scope.clone(),
|
||||
scope,
|
||||
name.as_str().into(),
|
||||
&parsed_defs_for_docs,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue