{"action":"created","issue":{"url":"https://api.github.com/repos/pasdoc/pasdoc/issues/6","repository_url":"https://api.github.com/repos/pasdoc/pasdoc","labels_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/6/comments","events_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/6/events","html_url":"https://github.com/pasdoc/pasdoc/issues/6","id":268010649,"number":6,"title":"Problem with comments on methods parameters","user":{"login":"ILPlais","id":2880695,"avatar_url":"https://avatars0.githubusercontent.com/u/2880695?v=4","gravatar_id":"","url":"https://api.github.com/users/ILPlais","html_url":"https://github.com/ILPlais","followers_url":"https://api.github.com/users/ILPlais/followers","following_url":"https://api.github.com/users/ILPlais/following{/other_user}","gists_url":"https://api.github.com/users/ILPlais/gists{/gist_id}","starred_url":"https://api.github.com/users/ILPlais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ILPlais/subscriptions","organizations_url":"https://api.github.com/users/ILPlais/orgs","repos_url":"https://api.github.com/users/ILPlais/repos","events_url":"https://api.github.com/users/ILPlais/events{/privacy}","received_events_url":"https://api.github.com/users/ILPlais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-24T12:23:38Z","updated_at":"2017-10-24T13:26:11Z","closed_at":"2017-10-24T13:26:11Z","author_association":"NONE","body":"Hello,\r\nWhen method parameters have descriptions, in the documentation the first word of the description is next to the parameter name.\r\nLike, for example:\r\n```html\r\n<dl class=\"parameters\">\r\n<dt>AValueChaîne</dt>\r\n<dd>dont la somme MD5 sera calculé.</dd>\r\n</dl>\r\n```\r\nHere, the parameter name is just `AValue`."},"comment":{"url":"https://api.github.com/repos/pasdoc/pasdoc/issues/comments/338989123","html_url":"https://github.com/pasdoc/pasdoc/issues/6#issuecomment-338989123","issue_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/6","id":338989123,"user":{"login":"michaliskambi","id":1076978,"avatar_url":"https://avatars3.githubusercontent.com/u/1076978?v=4","gravatar_id":"","url":"https://api.github.com/users/michaliskambi","html_url":"https://github.com/michaliskambi","followers_url":"https://api.github.com/users/michaliskambi/followers","following_url":"https://api.github.com/users/michaliskambi/following{/other_user}","gists_url":"https://api.github.com/users/michaliskambi/gists{/gist_id}","starred_url":"https://api.github.com/users/michaliskambi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaliskambi/subscriptions","organizations_url":"https://api.github.com/users/michaliskambi/orgs","repos_url":"https://api.github.com/users/michaliskambi/repos","events_url":"https://api.github.com/users/michaliskambi/events{/privacy}","received_events_url":"https://api.github.com/users/michaliskambi/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T13:26:11Z","updated_at":"2017-10-24T13:26:11Z","author_association":"COLLABORATOR","body":"It was broken in a little different way in the latest version from GitHub :) Fixed, thanks!\r\n\r\nTesting now:\r\n\r\n```pascal\r\nunit A;\r\ninterface\r\ntype\r\n  TMyClass = class\r\n    { @param(MyParam Description of MyParam)\r\n      @param MyParam2 Description of MyParam2 without parenthesis.\r\n    }\r\n    procedure Foo(const MyParam, MyParam2: Integer);\r\n\r\n    /// <summary>\r\n    /// Calcul de la somme MD5 d'une chaîne.\r\n    /// </summary>\r\n    /// <param name=\"AValue\">Chaîne dont la somme MD5 sera calculé.</param>\r\n    /// <returns>Somme MD5.</returns>\r\n    procedure Bar(const MyParam, MyParam2: Integer);\r\n  end;\r\nimplementation\r\nend.\r\n```\r\n\r\nRunning `pasdoc a.pas` results in good HTML, with \r\n\r\n```html\r\n<dl class=\"parameters\">\r\n<dt>AValue</dt>\r\n<dd>Chaîne dont la somme MD5 sera calculé.</dd>\r\n</dl>\r\n```\r\n\r\nTo test the fix, you can get the latest version from http://michalis.ii.uni.wroc.pl/pasdoc-snapshots/ (give Jenkins ~15 minutes to catch up) , or by compiling PasDoc yourself from sources here on GitHub."}}
{"actor":{"display_login":"michaliskambi"}}