This pull request fixes an issue where the get-implied-docs procedure was not returning the correct data structure. Previously, get-implied-docs would invoke map over the list of implied packages to get their docs, but since package-docs returns a list of packages, this was generating a list of lists, each containing one doc. I swapped out the call to map with a for/fold clause that returns a single list of doc items.
It may be pragmatic to test the HTML rendering in an isolated environment before pushing this to the live server, as I'm unable to do proper testing of the whole renderer (i.e. to make sure I didn't inadvertently break something) from my dev environment.
This pull request fixes an issue where the
get-implied-docs
procedure was not returning the correct data structure. Previously,get-implied-docs
would invokemap
over the list of implied packages to get their docs, but sincepackage-docs
returns a list of packages, this was generating a list of lists, each containing one doc. I swapped out the call tomap
with afor/fold
clause that returns a single list of doc items.It may be pragmatic to test the HTML rendering in an isolated environment before pushing this to the live server, as I'm unable to do proper testing of the whole renderer (i.e. to make sure I didn't inadvertently break something) from my dev environment.