parameters: (self, page, path)
return_statement: return node.relativeDestination(page)
docstring: Locates page based on supplied path.
docstring_summary: Locates page based on supplied path.
docstring_tokens: Locates page based on supplied path .
function: def _findPath(self, page, path):
          """Locates page based on supplied path."""
          node = self.translator.findPage(path.lstrip('/'), exact=path.startswith('/'))
          if node is None:
              msg = 'Failed to locate navigation item: {}.'.format(path)
              LOG.error(msg)
              raise exceptions.MooseDocsException(msg)
          return node.relativeDestination(page)
function_tokens: def _findPath ( self , page , path ) : node = self . translator . findPage ( path . lstrip ( '/' ) , exact = path . startswith ( '/' ) ) if node is None : msg = 'Failed to locate navigation item: {}.' . format ( path ) LOG . error ( msg ) raise exceptions . MooseDocsException ( msg ) return node . relativeDestination ( page )