{"action":"created","issue":{"url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/86","labels_url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/86/comments","events_url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/86/events","html_url":"https://github.com/sebastian-lenz/typedoc/issues/86","id":68042153,"number":86,"title":"Use of TS submodules aren't well rendered","user":{"login":"Vadorequest","id":3807458,"avatar_url":"https://avatars.githubusercontent.com/u/3807458?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadorequest","html_url":"https://github.com/Vadorequest","followers_url":"https://api.github.com/users/Vadorequest/followers","following_url":"https://api.github.com/users/Vadorequest/following{/other_user}","gists_url":"https://api.github.com/users/Vadorequest/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadorequest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadorequest/subscriptions","organizations_url":"https://api.github.com/users/Vadorequest/orgs","repos_url":"https://api.github.com/users/Vadorequest/repos","events_url":"https://api.github.com/users/Vadorequest/events{/privacy}","received_events_url":"https://api.github.com/users/Vadorequest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sebastian-lenz/typedoc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-13T08:34:52Z","updated_at":"2015-04-13T22:35:38Z","closed_at":null,"body":"Hello,\r\n\r\nFirst thing first, thanks a lot for that typedoc generator, it is great and I plan on using it for several project.\r\n\r\nBut we have seen a problem with our nested TS modules, i.e:\r\n\r\n```\r\nmodule Payline.Spinner {\r\n\r\n}\r\n```\r\n\r\nWhen I do something like that (and that's the way we use to define submodules), it is hard to navigate \r\ninside the documentation, because all sub-levels are on a different page.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3807458/7112268/5fa67bca-e1c8-11e4-947a-d5f955b0183b.png)\r\n\r\nThen, on click on \"Payline\" we get to this page.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3807458/7112263/5086cdac-e1c8-11e4-820e-16408e4883c4.png)\r\n\r\nSo, we basically need to click three times to get to actual class and it makes the navigation difficult.\r\n\r\nWould it be possible to have something more like a tree, which would display not only the module name but also all the classes associated to that module? This way we could have an overview of all classes that belong to a module (or submodule) and access any of them directly.\r\n\r\nIt may be related to https://github.com/sebastian-lenz/typedoc/issues/68, but I'm not sure.\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/comments/92519285","html_url":"https://github.com/sebastian-lenz/typedoc/issues/86#issuecomment-92519285","issue_url":"https://api.github.com/repos/sebastian-lenz/typedoc/issues/86","id":92519285,"user":{"login":"Vadorequest","id":3807458,"avatar_url":"https://avatars.githubusercontent.com/u/3807458?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadorequest","html_url":"https://github.com/Vadorequest","followers_url":"https://api.github.com/users/Vadorequest/followers","following_url":"https://api.github.com/users/Vadorequest/following{/other_user}","gists_url":"https://api.github.com/users/Vadorequest/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadorequest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadorequest/subscriptions","organizations_url":"https://api.github.com/users/Vadorequest/orgs","repos_url":"https://api.github.com/users/Vadorequest/repos","events_url":"https://api.github.com/users/Vadorequest/events{/privacy}","received_events_url":"https://api.github.com/users/Vadorequest/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T22:35:38Z","updated_at":"2015-04-13T22:35:38Z","body":"Okay, thanks for the explanation. For the record I use CommonJS but I don't\nuse Node or require() function at all, all these files are merged into one\nwhich is downloaded by the browser. That's it.\n\n2015-04-14 0:19 GMT+02:00 Sebastian Lenz <notifications@github.com>:\n\n> When using a CommonJs/AMD structure you would do something like this to\n> retrieve your classes:\n>\n> var AbstractViewController = require('templating/AbstractViewController');\n>\n> In a project built like this, the file\n> templating/AbstractViewController.ts would not contain a module\n> statement, instead it would simply export the class.\n>\n> Specifying --mode modules makes TypeDoc inserting each source file as an\n> external module and it's contents (in your case normal modules) it's\n> descendants. If you set --mode file TypeDoc will ignore the file\n> structure and build the documentation structure around your module\n> structure, just like in the example of Kamran above.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sebastian-lenz/typedoc/issues/86#issuecomment-92516096>\n> .\n>\n\n\n\n-- \nCordialement,\n\nM. Ambroise Dhenain.\n"}}