Lines Matching +full:class +full:- +full:rev
11 This extension introduces a new directive: ``manifest-projects-table``. It can
14 .. manifest-projects-table::
22 - ``manifest_projects_table_manifest``: Path to the manifest file.
26 SPDX-License-Identifier: Apache-2.0
41 class ManifestProjectsTable(SphinxDirective):
49 def rev_url(base_url: str, rev: str) -> str:
58 rev: Revision.
64 if re.match(r"^[0-9a-f]{40}$", rev):
65 return f"{base_url}/commit/{rev}"
67 return f"{base_url}/releases/tag/{rev}"
69 def run(self) -> list[nodes.Element]:
134 def setup(app: Sphinx) -> dict[str, Any]:
137 directives.register_directive("manifest-projects-table", ManifestProjectsTable)