1. 20 10月, 2018 4 次提交
    • O
      Replace outdated Rails Guides logo · 8990921b
      Olivier Lacan 提交于
      The previous version wasn’t matching the Rails Guides logo source file
      listed at https://github.com/rails/homepage/blob/master/materials/rails_guides_logo.psd
      somehow. It was also a GIF when an 8-bit PNG results in a smaller file (2KB vs 4KB) which
      should be just as widely compatible with browsers.
      
      And that’s just for the 1x version. I added a new 2x version for “retina” or high-density
      displays and a CSS @media query to progressively enhance with this high density
      version of the logo. I’ve ensured that this query is supported across browsers by
      using vendor-specific versions when necessary. See:
      https://caniuse.com/#feat=css-media-resolution
      
      [ci skip]
      8990921b
    • O
      Shorten unnecessarily long names for Guides · af6dbcf1
      Olivier Lacan 提交于
      The names are only used in the Guides Index overlay and several of them are
      longer than they need to be.
      
      For example “Ruby on Rails” is mentioned over and over again in the Release
      Notes section although these are obviously all Rails versions we’re listing.
      
      There’s a Maintenance Policy category with a Maintenance Policy article which
      is redundant. Policies makes much more sense as a category.
      
      Similarly, Contributing to Ruby on Rails is both a category and an article.
      “Contributions” is a better category title. “Ruby on Rails Guides Guidelines” is
      a gigantic mouthful. We are *in* the Rails Guides, we don’t need to specify
      what guides we’re talking about here.
      
      As a final added advantage, all of these shortenings make the index much easier
      to parse in order to find an article.
      
      [ci skip]
      af6dbcf1
    • O
      Use CSS flexbox for Guides index menu · 06841343
      Olivier Lacan 提交于
      This notably allows us to tile each category without pushing the page down vertically
      as much as we previously did on any viewport wider than mobile sizes.
      
      It also means we can fit more guides which will become useful in the future since
      we have several new guides in the work.
      
      Finally the new layout allows three clearly distinct columns to emerge:
      - Start Here and Rails basics: Models, Views, Controllers, Other Components
      - Digging Deeper, Extending Rails, Contributing, Maintenance
      - Release Notes
      
      Having Release Notes shoot back up to the top of the third column is great
      because that makes finding the latest released version and its associated
      release notes much easier without having to scroll down a bunch.
      
      [ci skip]
      06841343
    • R
      Merge pull request #34257 from olivierlacan/verbose-query-logs-guides · e3111c12
      Richard Schneeman 提交于
      Add guides section on verbose query logs to Debugging
      e3111c12
  2. 19 10月, 2018 8 次提交
  3. 18 10月, 2018 3 次提交
  4. 17 10月, 2018 15 次提交
  5. 16 10月, 2018 10 次提交