Lines Matching defs:pages
7 # genRef.py - create API ref pages from spec source files
443 # Only do structural checks on API pages
510 Script only knows how to do this for /enums/ pages, at present.
540 ' * The See Also section for other reference pages using this type.\n',
657 """Extract reference pages from a spec asciidoc source file.
670 logDiag(specFile + ': found', len(pageMap.keys()), 'potential pages')
678 pages = {}
684 # 'freeform' pages are always generated
685 # 'feature' pages (core versions & extensions) are generated if they are in
687 # All other pages (APIs) are generated if they are in the API map for
720 pages[pi.name] = pi
722 pages[alias] = pi
724 return pages
728 """Generate the single-page version of the ref pages.
795 # OpenXR does not create separate ref pages for FlagBits:
798 # Vk*Flags pages, via the logic
851 # Do not link to spec version or extension name - those ref pages are not created.
948 help='Set the base directory in which pages are generated')
950 help='Don\'t generate inferred ref pages automatically')
952 help='a filename to extract ref pages from')
988 # Dictionary of pages & aliases
989 pages = {}
993 pages.update(d)
995 # Now figure out which pages were not generated from the spec.
1044 # Summarize pages that were not generated, for good or bad reasons
1069 for page in sorted(pages):
1070 p = pages[page]
1082 # Run through dictionary of pages generating an TOC
1087 for page in sorted(pages, key=str.upper):
1088 p = pages[page]
1115 # print('name {} -> page {}'.format(page, pages[page].name))