docs: function getHashPath(rootURL, location) {
      var path = rootURL;
      var historyPath = getHistoryPath(rootURL, location);
      var routePath = historyPath.substr(rootURL.length);
  
      if (routePath !== '') {
        if (routePath.charAt(0) !== '/') {
          routePath = '/' + routePath;
        }
  
        path += '#' + routePath;
      }
  
      return path;
    }