Skip to content

Commit

Permalink
changed headlines to return a TABLE instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Aug 6, 2024
1 parent 59f36e5 commit f0bce23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions M2/Macaulay2/m2/help.m2
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,7 @@ headline Thing := key -> getOption(fetchRawDocumentationNoLoad makeDocumentTag k
headline DocumentTag := tag -> getOption(fetchRawDocumentation getPrimaryTag tag, Headline)

headlines = method()
headlines List := L -> netList(Boxes => false, HorizontalSpace => 1,
apply(#L, i -> {i, TO2(tag := makeDocumentTag L#i, format tag), commentize headline tag}))
headlines List := L -> TABLE apply(#L, i -> {i, TO2(tag := makeDocumentTag L#i, format tag), commentize headline tag})

-- Compare with SYNOPSIS in document.m2
getSynopsis := (key, tag, rawdoc) -> (
Expand Down

0 comments on commit f0bce23

Please sign in to comment.