1. 27 Jun, 2016 1 commit
  2. 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:
          ./docs/assets/js/vendor/anchor.min.js
      So we can remove the '/assets' suffix from the left argument
      and the '../' prefix from the right argument
      and still obtain the same result.
      ead5ed6d
  3. 20 Jun, 2016 1 commit
  4. 10 Jun, 2016 1 commit
  5. 05 Jun, 2016 5 commits
  6. 04 Jun, 2016 8 commits
  7. 31 May, 2016 7 commits
  8. 20 May, 2016 1 commit
  9. 11 Apr, 2016 1 commit
  10. 02 Apr, 2016 1 commit
  11. 24 Mar, 2016 3 commits
  12. 19 Mar, 2016 1 commit
  13. 16 Mar, 2016 2 commits
  14. 15 Mar, 2016 1 commit
  15. 07 Mar, 2016 2 commits
  16. 03 Mar, 2016 1 commit
  17. 28 Feb, 2016 1 commit
  18. 27 Feb, 2016 1 commit
  19. 23 Feb, 2016 1 commit