code: function() {
              var target;
              $('a[href^="#"]').not('.pldoc-tab-wrapper .pldoc-link').on('click', function(event) {
                  event.preventDefault();
  
                  target = $(event.currentTarget).attr('href');
  
                  $('html, body').stop().animate({
                      scrollTop: $(target).offset().top
                  }, 1000, 'swing', function() {
                      Ui.sendFocus(target);
                  });
              });
          }
docs: smoothscroll to target links