Get given document by name

documentation:get_document(STRING name) : ARRAY

# returns an empty array [] if document is not found
documentation:get_document('test:test1')
#=> [
#=>     "purpose" => "",
#=>     "tags" => "",
#=>     "access" => "developer_id",
#=>     "sunsed?" => "",
#=>     "stable?" => "",
#=>     "examples" => "#log\n\n\ntest:test1()\n#=> \"hi 2\""
#=> ]

documentation:get_document("something that does not exist")
#=> []

Copyright ©2013-2022 SunSed®. All rights reserved.