docs: function stateRefSearch(pages, stateName) {
              for (var i = 0; i < pages.length; i++) {
                  if (pages[i].name === stateName) {
                      return pages[i];
                  }
              }
  
              return null;
          }