{"push_id":1440753398,"size":36,"distinct_size":36,"ref":"refs/heads/highlighted-navigation","head":"3b5c70c549ff59fbfd80594db7813a60afaf76f1","before":"42bc81874dbeedc739d47d2574d16ada24856228","commits":[{"sha":"dc9fbf76073649c4658c1ffabf3a958aa763a377","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Accessibility improvements\n\nAdd labels to distinguish the two navigation elements, add a `main` element to allow the user to easily switch between the table of contents and the documentation body using landmarks.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/dc9fbf76073649c4658c1ffabf3a958aa763a377"},{"sha":"ce185dfe885f02581e59e4f16f7e06559d8f27b7","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Update anchored heading icon\n\nAt the moment, we're using a unicode link icon in lieu of a proper\nGDS-style icon. This updates the icon to one that's a touch more\nfitting.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/ce185dfe885f02581e59e4f16f7e06559d8f27b7"},{"sha":"ce6b2248396bfc649c9129f56e7b8c473898d7de","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Remove html5shiv\n\nWe added modernizr as a dependency in 33d5743 to allow us to detect flexbox support in IE11. Modernizr was configured to include html5shiv.\n\nThe html5shiv include was then removed, but the file itself was never removed.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/ce6b2248396bfc649c9129f56e7b8c473898d7de"},{"sha":"cac549d2663abc29cdc84529078eee45ff217319","author":{"name":"Oliver Byford","email":"20118480acc82dcb1481dfe8f21cb84160e1a1cb@byford.org"},"message":"Merge pull request #16 from alphagov/minor-accessibility-things\n\nAccessibility improvements","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/cac549d2663abc29cdc84529078eee45ff217319"},{"sha":"cc484e3d89a66e3191c7989befa706bae40cbd7e","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Merge pull request #15 from alphagov/improve-anchor-icon\n\nUpdate anchored heading icon","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/cc484e3d89a66e3191c7989befa706bae40cbd7e"},{"sha":"714a3c17f696e35d9867c2b989233f8e6ba11c35","author":{"name":"Oliver Byford","email":"20118480acc82dcb1481dfe8f21cb84160e1a1cb@byford.org"},"message":"Merge pull request #17 from alphagov/remove-html5-shiv\n\nRemove html5shiv","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/714a3c17f696e35d9867c2b989233f8e6ba11c35"},{"sha":"6b11af24cd007e7dd656b27213c93d5f59233aa7","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Add deployment script\n\nThis adds an extremely basic script at `script/deploy` that pushes the\nsite to integration on PaaS, along with a few pre-flight checks:\n\n- It ensures we have a Staticfile.auth file present, which is required\n  to give us basic authentication on PaaS\n- Checks we're on master\n- Checks our working tree isn't dirty (in English: checks we have no\n  files that aren't commited into git that would be built)\n- Checks that our branch is up-to-date","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/6b11af24cd007e7dd656b27213c93d5f59233aa7"},{"sha":"89188e79c736f64fbf8b5daf8e51628cab891156","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Merge pull request #18 from alphagov/deploy-script\n\nAdd deployment script","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/89188e79c736f64fbf8b5daf8e51628cab891156"},{"sha":"fd14f7a05c09b698f2186fa068f91ebe82fc86b0","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Add a max-width to images\n\nAt the moment, an image inserted into the tech docs will be rendered at\nwhatever resolution it's supplied in. This is somewhat far from ideal,\nas a massive image could end up breaking the page in unpleasant ways.\n\nThis adds a max-width of 100% to all images inside the technical\ndocumentation container to ensure we stop anything overflowing it.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/fd14f7a05c09b698f2186fa068f91ebe82fc86b0"},{"sha":"f0dc8075e58d6ba95ca270ad70370513c555639b","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Add auto width and height to images\n\nPer some advice at\nhttps://blog.jayway.com/2014/12/08/proportional-image-scaling-in-your-responsive-web-design/,\nIE8 and below has some odd behaviour when using max-width if `height:\nauto;` and `width: auto;` are not set. With thanks to @36degrees for\npointing this out!","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/f0dc8075e58d6ba95ca270ad70370513c555639b"},{"sha":"d3ef43029aafe012f0ec579b6b5ddd1dac7cbaf3","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Merge pull request #21 from alphagov/image-max-width\n\nAdd a max-width to images","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/d3ef43029aafe012f0ec579b6b5ddd1dac7cbaf3"},{"sha":"7d3545c09414f660f8da34dba3791d9c84a69840","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Add fixed table of contents header on mobile\n\nAs the technical documentation is a very long document, there is a need to be able to easily jump around it when on using a mobile device or a narrow viewport.\n\nThis adds a ‘sticky’ ‘Table of Contents’ element when within the mobile breakpoint which, when clicked, expands into a scrollable table of contents. It makes use of the very new `position: sticky` CSS attribute which is polyfilled for older browsers (which is, in fact, most of them).\n\nThis also adds an autoprefixer to the asset pipeline.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/7d3545c09414f660f8da34dba3791d9c84a69840"},{"sha":"6846b094c28f5c84595ab452565e0583034d798c","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Add ‘Table of Contents’ and ‘Close’ icons","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/6846b094c28f5c84595ab452565e0583034d798c"},{"sha":"98ce6aaac3acf841efe46e90a02c7c1fda56e149","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Fix offset when navigating to headings on mobile\n\nThis unfortunately means that the toc component needs to interfere with the technical documentation component. It’d be good to avoid this if possible, but there doesn’t appear to be a way.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/98ce6aaac3acf841efe46e90a02c7c1fda56e149"},{"sha":"097857fcddd45fb40e4946907011965d700b6772","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Remove unused variables from TOC JS","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/097857fcddd45fb40e4946907011965d700b6772"},{"sha":"ab514423d0eed6cdcf247a7ddb05ee46f6b65508","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Fix navigation toggle stacking bug\n\nThe navigation toggle has a z-index of 10 but this is ignored when the fixed behaviour is being polyfilled, because it falls back to static positioning where z-index is ignored.\n\nThis meant that the negative margin on the headings (which is in place so that when using the navigation the heading appears within the visible part of the page and not behind the navigation toggle) obscured the navigation toggle and meant it did not work when at the top of the page.\n\nBy wrapping the toggle with another element and making _that_ element ‘sticky’, and giving the toggle element relative positioning and a z-index, we can avoid this behaviour.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/ab514423d0eed6cdcf247a7ddb05ee46f6b65508"},{"sha":"e35c3c33c60bd7a399b9774f8062523d1d9418ee","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Fix layout in IE\n\nModernizr needs to be loaded in the head so that the html5 elements get shimmed correctly.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/e35c3c33c60bd7a399b9774f8062523d1d9418ee"},{"sha":"a92e3be4ed39d2c446c31411039385a0e685d5d4","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Use more appropriate tablet breakpoint\n\nThe iPhone 6s in landscape mode currently gets the split pane view, which is pretty much useless. So break to tablet view at a slightly higher viewport size.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/a92e3be4ed39d2c446c31411039385a0e685d5d4"},{"sha":"26a11c38b5c9b5f4f79b3addecf8dc500635ccb8","author":{"name":"Josh McMillan","email":"2d27c8320aa3eefe09ead96ce62c361629bc5ad6@joshmcmillan.co.uk"},"message":"Add CloudFoundry manifest.yml\n\nIt seems advisable to supply a manifest.yml file to be used by\nCloudFoundry rather than passing parameters into `cf push` – this way,\nif someone runs the push command without running `script/deploy`, things\nwon't explode in a surprising fashion.\n\nMore info:\nhttps://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/26a11c38b5c9b5f4f79b3addecf8dc500635ccb8"},{"sha":"59d16246a04a56d2293c593f9da3eb7d822fc37e","author":{"name":"Oliver Byford","email":"8ca81a9b56c5b3a82c78587cd2cfdce8085f1ff8@digital.cabinet-office.gov.uk"},"message":"Fix layout in IE8 through IE10\n\nIE8 through IE10 don’t support flexbox, so fall back to a simpler layout with the navigation floated to the left.\n\nWe discussed moving away from flexbox to just using absolutely positioned divs to define the application layout, but it would require us to ‘know’ and fix the the size of the header. Given the header currently ‘breaks’ onto two lines for the Platform as a Service documentation, this won’t really work for us.\n\nWe are making an assumption that IE8-IE10 will account for a even lower percentage of users than we see on GOV.UK (~2.75%) as they will be from a more technical background. We should validate this once we have collected analytics data in production.","distinct":true,"url":"https://api.github.com/repos/mcmillan/tech-docs-template/commits/59d16246a04a56d2293c593f9da3eb7d822fc37e"}]}
{"actor":{"display_login":"mcmillan"}}