{"action":"created","issue":{"url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/892","repository_url":"https://api.github.com/repos/styleguidist/react-styleguidist","labels_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/892/labels{/name}","comments_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/892/comments","events_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/892/events","html_url":"https://github.com/styleguidist/react-styleguidist/issues/892","id":308344804,"number":892,"title":"Page per section suggestions","user":{"login":"rafaesc","id":10201025,"avatar_url":"https://avatars3.githubusercontent.com/u/10201025?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaesc","html_url":"https://github.com/rafaesc","followers_url":"https://api.github.com/users/rafaesc/followers","following_url":"https://api.github.com/users/rafaesc/following{/other_user}","gists_url":"https://api.github.com/users/rafaesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaesc/subscriptions","organizations_url":"https://api.github.com/users/rafaesc/orgs","repos_url":"https://api.github.com/users/rafaesc/repos","events_url":"https://api.github.com/users/rafaesc/events{/privacy}","received_events_url":"https://api.github.com/users/rafaesc/received_events","type":"User","site_admin":false},"labels":[{"id":257203242,"url":"https://api.github.com/repos/styleguidist/react-styleguidist/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":611120425,"url":"https://api.github.com/repos/styleguidist/react-styleguidist/labels/request%20for%20comments","name":"request for comments","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-03-25T12:15:13Z","updated_at":"2018-04-16T21:16:47Z","closed_at":null,"author_association":"NONE","body":"Hi @aaronjense and @sapegin,\r\n\r\nAgain thanks for your awesome project,\r\n\r\nI would like to show the implementation of page per section of vue-styleguidist. I worked on this feature.\r\nhttps://github.com/vue-styleguidist/vue-styleguidist/issues/26\r\n\r\nWhen I thought in how developed the section split, thought that it should be as the last section's father who has children should show all the children without separating them.\r\n\r\n```\r\n├── Documentation     // Alone section\r\n├── Files             // Show section and their childrens\r\n|   ├── First File\r\n|   └── Second File\r\n└── Components        // Alone section\r\n    ├── Buttons       // Show section and their childrens\r\n    |   ├── Button\r\n    |   ├── RandomButton\r\n    |   └── WrappedButton\r\n    └── Fields        // Show section and their childrens\r\n        ├── Label\r\n        └── Placeholder\r\n```\r\n\r\nThis is it because components usually are part of a category like https://docsify.js.org/\r\nAnd by default when you enter on the website, it already is separated. \r\n\r\nYou can see an example here\r\nhttp://rafaelescala.com/vue-styleguide-navigation/\r\n\r\nI would like if we can standard it and know your opinion.\r\n\r\nAnother detail, when I was adding this feature, I had that change the path manipulator, because it caused problems when I clicked in different section when it is separated.\r\n\r\nIn vue-stylaguidist:\r\n![image](https://user-images.githubusercontent.com/10201025/37874761-b288fd8a-2ffa-11e8-86f1-eed3f0dbca0c.png)\r\n\r\nIn react-styleguidist:\r\nYou can see this error, here:\r\n`http://localhost:6060/#!/First%20File`\r\n\r\n![image](https://user-images.githubusercontent.com/10201025/37874777-2dbf20ec-2ffb-11e8-8bbc-a73f153117e7.png)\r\n\r\nAnd when I have a section with the same name of a child, only show the children and ignore the father section.\r\n\r\n```js\r\n{\r\n\tname: 'Button',\r\n\tcontent: 'docs/One.md',\r\n\tcomponents: () => [\r\n\t\t'./src/components/Button/Button.js',\r\n\t\t'./src/components/RandomButton/RandomButton.js',\r\n\t\t'./src/components/WrappedButton/WrappedButton.js',\r\n\t],\r\n},\r\n```\r\n\r\nRegards!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/comments/381752590","html_url":"https://github.com/styleguidist/react-styleguidist/issues/892#issuecomment-381752590","issue_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/892","id":381752590,"user":{"login":"rafaesc","id":10201025,"avatar_url":"https://avatars3.githubusercontent.com/u/10201025?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaesc","html_url":"https://github.com/rafaesc","followers_url":"https://api.github.com/users/rafaesc/followers","following_url":"https://api.github.com/users/rafaesc/following{/other_user}","gists_url":"https://api.github.com/users/rafaesc/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaesc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaesc/subscriptions","organizations_url":"https://api.github.com/users/rafaesc/orgs","repos_url":"https://api.github.com/users/rafaesc/repos","events_url":"https://api.github.com/users/rafaesc/events{/privacy}","received_events_url":"https://api.github.com/users/rafaesc/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T21:16:47Z","updated_at":"2018-04-16T21:16:47Z","author_association":"NONE","body":"@okonet that's better.\r\n\r\nif everybody agree it, so I can create the PR."}}
{"actor":{"display_login":"rafaesc"}}