Lines Matching refs:app
203 def audit_events_purge(app, env, docname):
218 def audit_events_merge(app, env, docnames, other):
618 def process_audit_events(app, doctree, fromdocname):
624 env = app.builder.env
668 app.builder.get_relative_uri(fromdocname, doc),
682 def patch_pairindextypes(app, _env) -> None:
690 if app.builder.name != 'gettext':
706 def setup(app):
707 app.add_role('issue', issue_role)
708 app.add_role('gh', gh_issue_role)
709 app.add_role('source', source_role)
710 app.add_directive('impl-detail', ImplementationDetail)
711 app.add_directive('availability', Availability)
712 app.add_directive('audit-event', AuditEvent)
713 app.add_directive('audit-event-table', AuditEventListDirective)
714 app.add_directive('deprecated-removed', DeprecatedRemoved)
715 app.add_builder(PydocTopicsBuilder)
716 app.add_builder(suspicious.CheckSuspiciousMarkupBuilder)
717 app.add_object_type('opcode', 'opcode', '%s (opcode)', parse_opcode_signature)
718 app.add_object_type('pdbcommand', 'pdbcmd', '%s (pdb command)', parse_pdb_command)
719 app.add_object_type('2to3fixer', '2to3fixer', '%s (2to3 fixer)')
720 app.add_directive_to_domain('py', 'decorator', PyDecoratorFunction)
721 app.add_directive_to_domain('py', 'decoratormethod', PyDecoratorMethod)
722 app.add_directive_to_domain('py', 'coroutinefunction', PyCoroutineFunction)
723 app.add_directive_to_domain('py', 'coroutinemethod', PyCoroutineMethod)
724 app.add_directive_to_domain('py', 'awaitablefunction', PyAwaitableFunction)
725 app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
726 app.add_directive_to_domain('py', 'abstractmethod', PyAbstractMethod)
727 app.add_directive('miscnews', MiscNews)
728 app.connect('env-check-consistency', patch_pairindextypes)
729 app.connect('doctree-resolved', process_audit_events)
730 app.connect('env-merge-info', audit_events_merge)
731 app.connect('env-purge-doc', audit_events_purge)