Lines Matching refs:pagename
61 def get_page_prefix(app: Sphinx, pagename: str) -> str:
76 if not os.path.isfile(app.env.doc2path(pagename)):
80 if re.match(exclude, pagename):
85 if re.match(pattern, pagename):
92 def gh_link_get_url(app: Sphinx, pagename: str, mode: str = "blob") -> str | None:
104 page_prefix = get_page_prefix(app, pagename)
114 str(app.env.doc2path(pagename, False)),
119 def gh_link_get_open_issue_url(app: Sphinx, pagename: str, sha1: str) -> str | None:
131 page_prefix = get_page_prefix(app, pagename)
138 app.env.doc2path(pagename, False),
166 def git_info_filter(app: Sphinx, pagename) -> tuple[str, str] | None: argument
179 page_prefix = get_page_prefix(app, pagename)
186 app.env.doc2path(pagename, False),