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