Lines Matching refs:pagePath
33 bool CanonicalPagePath(PagePath &pagePath) in CanonicalPagePath() argument
35 if (!Utils::PathToRealPath(pagePath.dir, pagePath.dir)) { in CanonicalPagePath()
36 … LOG(ERROR) << "page path canonical failed, please check your config, dir = " << pagePath.dir; in CanonicalPagePath()
39 for (auto &file : pagePath.pages) { in CanonicalPagePath()
40 file = pagePath.dir + "/" + file; in CanonicalPagePath()
151 PagePath pagePath {}; in LoadPages() local
152 if (!Visit<SETVAL>(node, pagePath)) { in LoadPages()
153 LOG(ERROR) << "parse page path error: " << pagePath.dir; in LoadPages()
157 if (!CanonicalPagePath(pagePath)) { in LoadPages()
162 if (!LayoutParser::GetInstance().LoadLayout(pagePath.pages, pageInfos)) { in LoadPages()
166 if (!PageManager::GetInstance().Init(pageInfos, pagePath.entry)) { in LoadPages()