{"action":"created","issue":{"url":"https://api.github.com/repos/justinwalsh/daux.io/issues/246","labels_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/246/comments","events_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/246/events","html_url":"https://github.com/justinwalsh/daux.io/issues/246","id":50090798,"number":246,"title":"Float = false does not seem to make a difference","user":{"login":"DannyBen","id":2405099,"avatar_url":"https://avatars.githubusercontent.com/u/2405099?v=3","gravatar_id":"","url":"https://api.github.com/users/DannyBen","html_url":"https://github.com/DannyBen","followers_url":"https://api.github.com/users/DannyBen/followers","following_url":"https://api.github.com/users/DannyBen/following{/other_user}","gists_url":"https://api.github.com/users/DannyBen/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyBen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyBen/subscriptions","organizations_url":"https://api.github.com/users/DannyBen/orgs","repos_url":"https://api.github.com/users/DannyBen/repos","events_url":"https://api.github.com/users/DannyBen/events{/privacy}","received_events_url":"https://api.github.com/users/DannyBen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-25T22:08:18Z","updated_at":"2015-07-02T16:59:32Z","closed_at":null,"body":"Hi,\r\n\r\nThis looks like a very nice documentation generator, but I am trying to remove the right code column, and have the code stay in the main content area.\r\n\r\nI am trying this with the provided example docs folder, and I have edited its `float` attribute to be false.\r\nI expected the result to be [like this](http://felkerdigitalmedia.com/gltn/docs/index.php?Dictionaries/XML_Dictionary) and instead, I still have the right code column. I am viewing this on a wide desktop screen, Chrome on Windows. I can provide a screenshot if needed, but it looks like the screenshot in issue #25 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/justinwalsh/daux.io/issues/comments/118092843","html_url":"https://github.com/justinwalsh/daux.io/issues/246#issuecomment-118092843","issue_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/246","id":118092843,"user":{"login":"rain01","id":2623979,"avatar_url":"https://avatars.githubusercontent.com/u/2623979?v=3","gravatar_id":"","url":"https://api.github.com/users/rain01","html_url":"https://github.com/rain01","followers_url":"https://api.github.com/users/rain01/followers","following_url":"https://api.github.com/users/rain01/following{/other_user}","gists_url":"https://api.github.com/users/rain01/gists{/gist_id}","starred_url":"https://api.github.com/users/rain01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rain01/subscriptions","organizations_url":"https://api.github.com/users/rain01/orgs","repos_url":"https://api.github.com/users/rain01/repos","events_url":"https://api.github.com/users/rain01/events{/privacy}","received_events_url":"https://api.github.com/users/rain01/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T16:59:32Z","updated_at":"2015-07-02T16:59:32Z","body":"**tl;dr:** fastest fix is keeping \"toggle_code\" false and commenting out line from [custom.js line 67](https://github.com/justinwalsh/daux.io/blob/master/js/custom.js#L67) because that's what is overwriting everything. Then users can't toggle code blocks anymore but at least it reads the config correctly and you won't get JS errors.\r\n\r\n@DannyBen I did little research and found out that JS fails when `toggle_code` is set to false, so it's definitely a bug.\r\n\r\nWhy changing float value doesn't matter is because when first loading the page, it will remember the default code block state which is floating code block at right side and is set here: \r\nhttps://github.com/justinwalsh/daux.io/blob/master/js/custom.js#L60\r\nThat won't happen when JS fails because of `toggle_code` false... otherwise JS will overwrite your preference you set in config.\r\n\r\nAlso I noticed extra features like this: \r\nhttps://github.com/justinwalsh/daux.io/blob/master/js/custom.js#L64\r\nWhich will change the float depending if you have any code blocks on the page or not."}}