{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/typedoc/issues/79","repository_url":"https://api.github.com/repos/TypeStrong/typedoc","labels_url":"https://api.github.com/repos/TypeStrong/typedoc/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/typedoc/issues/79/comments","events_url":"https://api.github.com/repos/TypeStrong/typedoc/issues/79/events","html_url":"https://github.com/TypeStrong/typedoc/issues/79","id":65081512,"node_id":"MDU6SXNzdWU2NTA4MTUxMg==","number":79,"title":"Update docs to show examples of cross-linking","user":{"login":"kamranayub","id":563819,"node_id":"MDQ6VXNlcjU2MzgxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/563819?v=4","gravatar_id":"","url":"https://api.github.com/users/kamranayub","html_url":"https://github.com/kamranayub","followers_url":"https://api.github.com/users/kamranayub/followers","following_url":"https://api.github.com/users/kamranayub/following{/other_user}","gists_url":"https://api.github.com/users/kamranayub/gists{/gist_id}","starred_url":"https://api.github.com/users/kamranayub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamranayub/subscriptions","organizations_url":"https://api.github.com/users/kamranayub/orgs","repos_url":"https://api.github.com/users/kamranayub/repos","events_url":"https://api.github.com/users/kamranayub/events{/privacy}","received_events_url":"https://api.github.com/users/kamranayub/received_events","type":"User","site_admin":false},"labels":[{"id":101990143,"node_id":"MDU6TGFiZWwxMDE5OTAxNDM=","url":"https://api.github.com/repos/TypeStrong/typedoc/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-03-29T17:46:54Z","updated_at":"2018-11-17T18:32:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently docs don't show how to cross-link, it's only mentioned. Main question: does it need to be fully qualified?\n"},"comment":{"url":"https://api.github.com/repos/TypeStrong/typedoc/issues/comments/439637930","html_url":"https://github.com/TypeStrong/typedoc/issues/79#issuecomment-439637930","issue_url":"https://api.github.com/repos/TypeStrong/typedoc/issues/79","id":439637930,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTYzNzkzMA==","user":{"login":"cancerberoSgx","id":112746,"node_id":"MDQ6VXNlcjExMjc0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/112746?v=4","gravatar_id":"","url":"https://api.github.com/users/cancerberoSgx","html_url":"https://github.com/cancerberoSgx","followers_url":"https://api.github.com/users/cancerberoSgx/followers","following_url":"https://api.github.com/users/cancerberoSgx/following{/other_user}","gists_url":"https://api.github.com/users/cancerberoSgx/gists{/gist_id}","starred_url":"https://api.github.com/users/cancerberoSgx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cancerberoSgx/subscriptions","organizations_url":"https://api.github.com/users/cancerberoSgx/orgs","repos_url":"https://api.github.com/users/cancerberoSgx/repos","events_url":"https://api.github.com/users/cancerberoSgx/events{/privacy}","received_events_url":"https://api.github.com/users/cancerberoSgx/received_events","type":"User","site_admin":false},"created_at":"2018-11-17T18:32:53Z","updated_at":"2018-11-17T18:32:53Z","author_association":"NONE","body":"> You can reference symbols (classes, functions, modules, etc.) using double brackets. Internally we use `Reflection.findReflectionByName` to resolve the link within the current context. The function tries to find a child with the given name and if no child matches will loop through all parent symbols searching their children till it hits the global space. At this point we search through all known reflections for the given name. The search is aware of hierarchical names but doesn't expect/require fully qualified names though it should work to.\r\n> \r\n> Did you encounter any problems linking to other symbols?\r\n\r\nI understand the logic behind going from children to parent symbols but, that implies that is not possible to reference a global symbol if there is a child with the same name. It would be great if I can reference the global namespace somehow so I can define absolute links to global symbols. Example:\r\n\r\n```\r\nexport function foo(){} // global 'foo'\r\nclass A{\r\nfoo(){} //local foo\r\n/** {@link foo} I want to reference global function foo but I can't - it will reference method foo(). Suggestion: {@link @global.foo} so I can reference global symbols \"absolutely\" */\r\nbar(){}\r\n}\r\n```\r\nIn case I'm not missing something, would this change be acceptable for a PR? Should I create a separate issue for this ?\r\n\r\nThanks, keep it up"}}
{"actor":{"display_login":"cancerberoSgx"}}