code: function renderNavbar() {
      var navbar = $('#navbar ul')[0];
      if (typeof (navbar) === 'undefined') {
        loadNavbar();
      } else {
        $('#navbar ul a.active').parents('li').addClass(active);
        renderBreadcrumb();
      }
  
      function loadNavbar() {
        var navbarPath = $("meta[property='docfx\\:navrel']").attr("content");
        if (!navbarPath) {
          return;
        }
        navbarPath = navbarPath.replace(/\\/g, '/');
        var tocPath = $("meta[property='docfx\\:tocrel']").attr("content") || '';
        if (tocPath) tocPath = tocPath.replace(/\\/g, '/');
        $.get(navbarPath, function (data) {
          $(data).find("#toc>ul").appendTo("#navbar");
          if ($('#search-results').length !== 0) {
            $('#search').show();
            $('body').trigger("searchEvent");
          }
          var index = navbarPath.lastIndexOf('/');
          var navrel = '';
          if (index > -1) {
            navrel = navbarPath.substr(0, index + 1);
          }
          $('#navbar>ul').addClass('navbar-nav');
          var currentAbsPath = util.getAbsolutePath(window.location.pathname);
          // set active item
          $('#navbar').find('a[href]').each(function (i, e) {
            var href = $(e).attr("href");
            if (util.isRelativePath(href)) {
              href = navrel + href;
              $(e).attr("href", href);
  
              // TODO: currently only support one level navbar
              var isActive = false;
              var originalHref = e.name;
              if (originalHref) {
                originalHref = navrel + originalHref;
                if (util.getDirectory(util.getAbsolutePath(originalHref)) === util.getDirectory(util.getAbsolutePath(tocPath))) {
                  isActive = true;
                }
              } else {
                if (util.getAbsolutePath(href) === currentAbsPath) {
                  var dropdown = $(e).attr('data-toggle') == "dropdown"
                  if (!dropdown) {
                    isActive = true;
                  }
                }
              }
              if (isActive) {
                $(e).addClass(active);
              }
            }
          });
          renderNavbar();
        });
      }
    }
docs: Update href in navbar