1. 26 Jun, 2016 1 commit
    • Chris Rebert's avatar
      Fix docs asset file paths in /grunt/configBridge.json (#20178) · ead5ed6d
      Chris Rebert authored
      Previously, when running the docs locally, the site, rooted at:
          http://localhost:9001/
      would reference docs assets using relative URLs such as:
          /../assets/js/vendor/anchor.min.js
      which is equivalent to:
          http://localhost:9001/../assets/js/vendor/anchor.min.js
      which is nonsense, since the root directory has no parent directory.
      Apparently browsers silently ignore this extra '..', hence why this wasn't noticed until now.
      But if you adjust Jekyll's `baseurl` setting, this mistake causes incorrect URLs to get generated.
      
      This commit corrects the problem by removing the extra '../' from the paths.
      
      These paths are also referenced in the Gruntfile, where the fix actually allows us to simplify the code.
      Previously, in the Gruntfile, we were doing, e.g.:
          path.join('./docs/assets', '../assets/js/vendor/anchor.min.js')
      which calculates to:
          ./docs/assets/../assets/js/vendor/anchor.min.js
      which can be simplified to:
        ...
      ead5ed6d
  2. 19 Nov, 2015 1 commit
    • Chris Rebert's avatar
      Docs: Separate Tether out from docs.min.js · 9a5222ca
      Chris Rebert authored
      We can't include it in docs.min.js because docs.min.js includes application.js,
      application.js depends on bootstrap.js,
      and the tooltip portion of bootstrap.js depends on Tether.
      
      So instead, we need to load Tether separately before bootstrap.js
      
      [skip sauce]
      9a5222ca
  3. 24 Oct, 2015 2 commits
  4. 29 Aug, 2015 1 commit
  5. 28 Aug, 2015 1 commit
  6. 27 Aug, 2015 1 commit
  7. 25 Aug, 2015 1 commit
  8. 13 Aug, 2015 1 commit
  9. 27 Jul, 2015 1 commit
  10. 23 Apr, 2015 1 commit
  11. 21 Jan, 2015 1 commit
  12. 13 Jan, 2015 1 commit
  13. 24 Dec, 2014 1 commit
  14. 19 Dec, 2014 1 commit
  15. 17 Dec, 2014 1 commit
  16. 16 Dec, 2014 2 commits
  17. 10 Dec, 2014 1 commit
  18. 04 Nov, 2014 1 commit