doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/doctools.js
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);
  }
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);
  }
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 ) ; }
get the current relative url
get the current relative url