{"action":"created","issue":{"url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/31","repository_url":"https://api.github.com/repos/rdwatters/hugo-docs-concept","labels_url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/31/comments","events_url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/31/events","html_url":"https://github.com/rdwatters/hugo-docs-concept/issues/31","id":213912552,"number":31,"title":"Add function signatures","user":{"login":"moorereason","id":131056,"avatar_url":"https://avatars2.githubusercontent.com/u/131056?v=3","gravatar_id":"","url":"https://api.github.com/users/moorereason","html_url":"https://github.com/moorereason","followers_url":"https://api.github.com/users/moorereason/followers","following_url":"https://api.github.com/users/moorereason/following{/other_user}","gists_url":"https://api.github.com/users/moorereason/gists{/gist_id}","starred_url":"https://api.github.com/users/moorereason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorereason/subscriptions","organizations_url":"https://api.github.com/users/moorereason/orgs","repos_url":"https://api.github.com/users/moorereason/repos","events_url":"https://api.github.com/users/moorereason/events{/privacy}","received_events_url":"https://api.github.com/users/moorereason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-13T22:10:41Z","updated_at":"2017-03-27T19:12:06Z","closed_at":null,"body":"Ryan's added a `signature` param in the front matter of the function pages.  Need to populate those params.  The idea is to set the signature to something like this:\r\n\r\n```\r\napply SEQUENCE FUNCTION [PARAM...]\r\n\r\ndefault DEFAULT INPUT\r\n\r\ndelimit SEQUENCE DELIMITER [LAST]\r\n\r\ndict KEY VALUE [KEY VALUE]...\r\n\r\npartialCached PARTIAL [CONTEXT [VARIANT]]\r\n\r\nslicestr INPUT START [END]\r\n\r\ntruncate INPUT LENGTH [ELLIPSIS]\r\n```\r\n\r\n\r\nI started looking at this and ran into some issues with multiple functions in the same file (ie. base64.md and math.md).  I need to think about how this should be structured."},"comment":{"url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/comments/289554986","html_url":"https://github.com/rdwatters/hugo-docs-concept/issues/31#issuecomment-289554986","issue_url":"https://api.github.com/repos/rdwatters/hugo-docs-concept/issues/31","id":289554986,"user":{"login":"moorereason","id":131056,"avatar_url":"https://avatars2.githubusercontent.com/u/131056?v=3","gravatar_id":"","url":"https://api.github.com/users/moorereason","html_url":"https://github.com/moorereason","followers_url":"https://api.github.com/users/moorereason/followers","following_url":"https://api.github.com/users/moorereason/following{/other_user}","gists_url":"https://api.github.com/users/moorereason/gists{/gist_id}","starred_url":"https://api.github.com/users/moorereason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorereason/subscriptions","organizations_url":"https://api.github.com/users/moorereason/orgs","repos_url":"https://api.github.com/users/moorereason/repos","events_url":"https://api.github.com/users/moorereason/events{/privacy}","received_events_url":"https://api.github.com/users/moorereason/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T19:12:06Z","updated_at":"2017-03-27T19:12:06Z","body":"Essentially, the `signature` field needs to be an array of strings instead of a just a string.  Example:\r\n\r\n```\r\nsignature: [\"dict KEY VALUE [KEY VALUE]...\", \"collections.Dict KEY VALUE [KEY VALUE]...\"]\r\n```\r\n\r\nIf we group several functions into a single page (like math), we need to decide whether to use the `signature` field."}}
{"actor":{"display_login":"moorereason"}}