code: function() {
      var path = document.location.pathname;
      var parts = path.split(/\//);
      $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
        if (this == '..')
          parts.pop();
      });
      var url = parts.join('/');
      return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
    }
docs: get the current relative url