mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Aliases now rendered in docs
This commit is contained in:
parent
1320930a73
commit
1df89ccbbe
3 changed files with 15 additions and 4 deletions
|
@ -111,12 +111,16 @@ fn generate_module_doc<'a>(
|
|||
},
|
||||
|
||||
Alias {
|
||||
name: _,
|
||||
name,
|
||||
vars: _,
|
||||
ann: _,
|
||||
} =>
|
||||
// TODO
|
||||
{
|
||||
} => {
|
||||
let entry = DocEntry {
|
||||
name: name.value.to_string(),
|
||||
docs: before_comments_or_new_lines.and_then(comments_or_new_lines_to_docs),
|
||||
};
|
||||
acc.push(entry);
|
||||
|
||||
(acc, None)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue