Module Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Continue If CompareNotEq NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr While BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad If NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad TupleLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Expr Yield Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If NameLoad body If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body With Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body With Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Call NameLoad NameLoad
N/A N/A os N/A shutil itertools chain lektor._compat iteritems range_type lektor.db Page Attachment lektor.assets File Directory lektor.environment PRIMARY_ALT lektor.exception LektorException BuildError N/A LektorException N/A N/A N/A N/A builtin_build_programs N/A buildprogram N/A N/A source_cls N/A N/A decorator N/A N/A builder_cls N/A N/A N/A N/A N/A builtin_build_programs append N/A source_cls builder_cls N/A builder_cls N/A N/A decorator N/A SourceInfo N/A object N/A N/A Holds some information about a source file for indexing into the
    build state.
     __init__ N/A N/A self path filename alt type title_i18n N/A PRIMARY_ALT unknown None N/A N/A N/A self path path N/A N/A self alt alt N/A N/A self filename filename N/A N/A self type type N/A N/A self title_i18n N/A N/A en_title N/A self path N/A N/A en title_i18n N/A N/A en_title N/A title_i18n N/A en N/A N/A key value N/A iteritems title_i18n N/A N/A N/A key en N/A N/A N/A N/A value en_title N/A N/A N/A N/A self title_i18n N/A key value N/A N/A N/A self title_i18n N/A en en_title N/A N/A BuildProgram N/A object N/A __init__ N/A N/A self source build_state N/A N/A N/A N/A self source source N/A N/A self build_state build_state N/A N/A self artifacts N/A N/A N/A self _built False N/A primary_artifact N/A N/A self N/A N/A N/A Returns the primary artifact for this build program.  By
        default this is the first artifact produced.  This needs to be the
        one that corresponds to the URL of the source if it has one.
         N/A N/A N/A N/A N/A self artifacts N/A 0 N/A N/A N/A IndexError N/A N/A None N/A property describe_source_record N/A N/A self N/A N/A N/A Can be used to describe the source info by returning a
        :class:`SourceInfo` object.  This is indexed by the builder into
        the build state so that the UI can quickly find files without
        having to scan the file system.
         N/A N/A build N/A N/A self N/A N/A N/A Invokes the build program. N/A N/A self _built N/A N/A N/A RuntimeError This build program was already used. N/A N/A self _built True N/A N/A N/A self produce_artifacts N/A sub_artifacts N/A N/A failures N/A N/A gen N/A N/A self build_state builder _build N/A N/A artifact build_func N/A N/A N/A ctx N/A N/A gen build_artifact artifact build_func N/A N/A ctx None N/A N/A N/A N/A ctx exc_info None N/A N/A N/A N/A failures append N/A ctx exc_info N/A N/A N/A N/A sub_artifacts extend N/A ctx sub_artifacts N/A N/A artifact N/A self artifacts N/A N/A N/A _build artifact N/A self build_artifact N/A N/A sub_artifacts N/A failures N/A N/A N/A artifact build_func N/A N/A sub_artifacts pop N/A N/A _build artifact build_func N/A failures N/A N/A artifact N/A self artifacts N/A N/A N/A N/A artifact set_dirty_flag N/A produce_artifacts N/A N/A self N/A N/A N/A This produces the artifacts for building.  Usually this only
        produces a single artifact.
         N/A declare_artifact N/A N/A self artifact_name sources extra N/A None None N/A N/A This declares an artifact to be built in this program. N/A N/A N/A N/A self artifacts append N/A N/A N/A self build_state new_artifact artifact_name artifact_name sources sources source_obj N/A self source extra extra N/A build_artifact N/A N/A self artifact N/A N/A N/A This is invoked for each artifact declared. N/A iter_child_sources N/A N/A self N/A N/A N/A This allows a build program to produce children that also need
        building.  An individual build never recurses down to this, but
        a `build_all` will use this.
         N/A N/A iter N/A N/A N/A PageBuildProgram N/A BuildProgram N/A describe_source_record N/A N/A self N/A N/A N/A filename N/A N/A N/A self source iter_source_filenames N/A N/A N/A N/A N/A os path isfile filename N/A N/A N/A SourceInfo path N/A N/A self source path alt N/A N/A self source N/A _source_alt filename filename type page title_i18n N/A N/A N/A self source get_record_label_i18n N/A produce_artifacts N/A N/A self N/A N/A N/A pagination_enabled N/A N/A N/A N/A self source datamodel pagination_config enabled N/A N/A N/A N/A self source is_visible N/A N/A N/A N/A self source page_num None N/A pagination_enabled N/A N/A artifact_name N/A N/A self source url_path N/A N/A N/A artifact_name endswith / N/A N/A artifact_name index.html N/A N/A N/A self declare_artifact artifact_name sources N/A list N/A N/A N/A self source iter_source_filenames N/A build_artifact N/A N/A self artifact N/A N/A N/A N/A N/A N/A N/A N/A N/A self source url_path encode ascii N/A N/A N/A UnicodeError N/A N/A N/A BuildError N/A The URL for this record contains non ASCII characters.  This is currently not supported for portability reasons (%r). N/A N/A self source url_path N/A N/A N/A artifact render_template_into N/A N/A self source N/A _template this N/A self source N/A _iter_paginated_children N/A N/A self N/A N/A N/A total N/A N/A N/A N/A N/A self source datamodel pagination_config count_pages N/A self source N/A page_num N/A range_type 1 N/A total 1 N/A N/A N/A N/A Page N/A N/A self source pad N/A N/A self source _data page_num page_num N/A iter_child_sources N/A N/A self N/A N/A N/A p_config N/A N/A N/A self source datamodel pagination_config N/A pagination_enabled N/A p_config enabled N/A child_sources N/A N/A all_children N/A N/A N/A N/A self source children include_undiscoverable True N/A pagination_enabled N/A N/A N/A N/A N/A self source page_num None N/A N/A N/A N/A child_sources append N/A N/A self _iter_paginated_children N/A pq N/A N/A p_config get_pagination_query N/A self source N/A N/A N/A child_sources append N/A N/A set all_children N/A set pq N/A N/A N/A child_sources append N/A N/A self source attachments N/A N/A N/A N/A child_sources append N/A N/A N/A self source pagination items N/A N/A N/A N/A child_sources append all_children N/A N/A N/A child_sources append N/A N/A self source attachments N/A N/A chain child_sources N/A N/A N/A buildprogram Page AttachmentBuildProgram N/A BuildProgram N/A describe_source_record N/A N/A self N/A N/A N/A N/A SourceInfo path N/A N/A self source path alt N/A N/A self source alt filename N/A N/A self source attachment_filename type attachment title_i18n N/A en N/A N/A self source N/A _id N/A produce_artifacts N/A N/A self N/A N/A N/A N/A N/A self source is_visible N/A N/A N/A N/A self declare_artifact N/A N/A self source url_path sources N/A list N/A N/A N/A self source iter_source_filenames N/A build_artifact N/A N/A self artifact N/A N/A N/A N/A N/A artifact open wb df N/A N/A N/A open N/A N/A self source attachment_filename rb sf N/A N/A N/A N/A shutil copyfileobj sf df N/A N/A N/A buildprogram Attachment FileAssetBuildProgram N/A BuildProgram N/A produce_artifacts N/A N/A self N/A N/A N/A N/A N/A self declare_artifact N/A N/A self source artifact_name sources N/A N/A N/A self source source_filename N/A build_artifact N/A N/A self artifact N/A N/A N/A N/A N/A artifact open wb df N/A N/A N/A open N/A N/A self source source_filename rb sf N/A N/A N/A N/A shutil copyfileobj sf df N/A N/A N/A buildprogram File DirectoryAssetBuildProgram N/A BuildProgram N/A iter_child_sources N/A N/A self N/A N/A N/A N/A N/A self source children N/A N/A N/A buildprogram Directory