{"action":"created","issue":{"url":"https://api.github.com/repos/GitbookIO/gitbook/issues/931","repository_url":"https://api.github.com/repos/GitbookIO/gitbook","labels_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/931/comments","events_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/931/events","html_url":"https://github.com/GitbookIO/gitbook/issues/931","id":106731719,"number":931,"title":"ignore folder in .bookignore but not .gitignore","user":{"login":"uliska","id":1812148,"avatar_url":"https://avatars.githubusercontent.com/u/1812148?v=3","gravatar_id":"","url":"https://api.github.com/users/uliska","html_url":"https://github.com/uliska","followers_url":"https://api.github.com/users/uliska/followers","following_url":"https://api.github.com/users/uliska/following{/other_user}","gists_url":"https://api.github.com/users/uliska/gists{/gist_id}","starred_url":"https://api.github.com/users/uliska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uliska/subscriptions","organizations_url":"https://api.github.com/users/uliska/orgs","repos_url":"https://api.github.com/users/uliska/repos","events_url":"https://api.github.com/users/uliska/events{/privacy}","received_events_url":"https://api.github.com/users/uliska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-09-16T09:10:31Z","updated_at":"2016-12-02T22:52:13Z","closed_at":null,"body":"I have a Gitbook where I want to track a custom node_module with Git (because it's developed within this book) but don't copy to the build directory.\n\n```\n.gitignore:\nnode_modules\n!node_modules/my-custom-plugin\n\n.bookignore:\nnode_modules/my-custom-plugin\n```\n\n`gitbook build` will now ignore the other node modules (those installed regularly) but will still copy over `my-custom-plugin`.\n\nI think it is a good idea to automatically respect entries from `.gitignore`, but I think `.bookignore` should be processed later and should be able to override settings from `.gitignore`.\n"},"comment":{"url":"https://api.github.com/repos/GitbookIO/gitbook/issues/comments/264584132","html_url":"https://github.com/GitbookIO/gitbook/issues/931#issuecomment-264584132","issue_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/931","id":264584132,"user":{"login":"AaronO","id":949223,"avatar_url":"https://avatars.githubusercontent.com/u/949223?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronO","html_url":"https://github.com/AaronO","followers_url":"https://api.github.com/users/AaronO/followers","following_url":"https://api.github.com/users/AaronO/following{/other_user}","gists_url":"https://api.github.com/users/AaronO/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronO/subscriptions","organizations_url":"https://api.github.com/users/AaronO/orgs","repos_url":"https://api.github.com/users/AaronO/repos","events_url":"https://api.github.com/users/AaronO/events{/privacy}","received_events_url":"https://api.github.com/users/AaronO/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T22:52:13Z","updated_at":"2016-12-02T22:52:13Z","body":"@travis Could you elaborate a little more on your use case ? It's interesting that you're dynamically generating your `SUMMARY.md`.\r\n\r\nWe should in theory support `.bookignore` (see [lib/constants/ignoreFiles.js](https://github.com/GitbookIO/gitbook/blob/b9fa6c3051f9faa46fb65a04c22b05ba68c23452/lib/constants/ignoreFiles.js)).\r\n\r\nBTW, GitBook v4 is currently being worked on (see `dream` branch), we just pushed our new editor and `gitbook.com` releases out, so now would be a perfect time to get some feedback in for the v4 release."}}
{"actor":{"display_login":"AaronO"}}