1 viewer
rust 1,863,595 · typescript 235,774 · javascript 133,240 · python 20,426 · 6,417 files · digest 0b3c7cffac51 · built in 1.9 s · crystals off
crates/cre8-app-site/src/view_templates.rs
Items
const SITE_PAGE_VIEW_ID const SITE_INDEX_VIEW_ID const SITE_BUNDLE_VIEW_ID const SITE_TEMPLATES_VIEW_ID const SITE_PATCH_PATH struct AuthoredSections impl AuthoredSections struct SiteRenderHost impl SiteRenderHost struct RenderedSitePage const SITE_EDITOR_VIEW_ID const SITE_EDITOR_TITLE static SITE_EDITOR_DOCUMENT_ROUTES static SITE_EDITOR_TEMPLATE_SPEC const SITE_BUNDLE_STYLE const SITE_PAGE_STYLE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 72 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| site_page_template_contextsrc/view_templates.rs:1184 | fn | 16 | 3 | 9 | 4 | 2.3 | |
| render_site_document_withsrc/view_templates.rs:201 | fn | 17 | 3 | 1 | 2 | 2.3 | |
| build_site_editor_tree_with_sitesrc/view_templates.rs:1068 | fn | 115 | 17 | 3 | 10 | 2.3 | |
| render_site_documentsrc/view_templates.rs:194 | fn | 3 | 1 | 10 | 1 | 2.2 | |
| render_templated_pagesrc/view_templates.rs:537 | fn | 157 | 18 | 2 | 27 | 2 | |
| legacy_page_contextsrc/view_templates.rs:1203 | fn | 104 | 9 | 2 | 13 | 2 | |
| build_site_editor_tree_scopedsrc/view_templates.rs:1064 | fn | 3 | 1 | 4 | 1 | 1.8 | |
| site_patch_valuesrc/view_templates.rs:24 | fn | 15 | 3 | 2 | 2 | 1.5 | |
| parse_authored_sectionssrc/view_templates.rs:93 | fn | 37 | 8 | 5 | 1 | 1.4 | |
| AuthoredSections::into_partssrc/view_templates.rs:76 | method | 3 | 1 | 4 | 0 | 1.3 | |
| chambliss_like_manifestsrc/view_templates.rs:2003 | fn | 30 | 1 | 7 | 0 | 1.3 | |
| build_site_editor_treesrc/view_templates.rs:1060 | fn | 3 | 1 | 4 | 1 | 1.2 | |
| site_index_template_contextsrc/view_templates.rs:1308 | fn | 92 | 10 | 2 | 11 | 1.2 | |
| about_pagesrc/view_templates.rs:2034 | fn | 15 | 1 | 6 | 0 | 1.1 | |
| hostsrc/view_templates.rs:2050 | fn | 7 | 1 | 6 | 0 | 1.1 | |
| render_page_body_htmlsrc/view_templates.rs:961 | fn | 15 | 3 | 3 | 0 | 1.1 | |
| str_atsrc/view_templates.rs:403 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| site_bundle_template_contextsrc/view_templates.rs:1401 | fn | 90 | 7 | 2 | 10 | 1.1 | |
| SiteRenderHost::from_contextsrc/view_templates.rs:167 | method | 10 | 1 | 1 | 0 | 1 | |
| enrich_live_sectionssrc/view_templates.rs:227 | fn | 23 | 1 | 1 | 8 | 1 | |
| section_parse_warning_slotsrc/view_templates.rs:134 | fn | 9 | 1 | 2 | 1 | 1 | |
| fill_store_shop_from_sitesrc/view_templates.rs:254 | fn | 17 | 4 | 2 | 0 | 1 | |
| upcoming_eventssrc/view_templates.rs:762 | fn | 15 | 2 | 2 | 0 | 1 | |
| seo_head_htmlsrc/view_templates.rs:929 | fn | 26 | 7 | 3 | 0 | 0.8 | |
| schedule_readsrc/view_templates.rs:310 | fn | 5 | 1 | 2 | 1 | 0.7 | |
| render_page_list_itemsrc/view_templates.rs:869 | fn | 24 | 3 | 2 | 0 | 0.7 | |
| fake_shop_handlersrc/view_templates.rs:1769 | fn | 13 | 2 | 1 | 0 | 0.6 | |
| render_in_site_navsrc/view_templates.rs:897 | fn | 31 | 7 | 1 | 0 | 0.6 | |
| enrich_product_sections_from_shopsrc/view_templates.rs:44 | fn | 19 | 1 | 1 | 7 | 0.6 | |
| enrich_store_sections_from_shopsrc/view_templates.rs:275 | fn | 13 | 1 | 1 | 3 | 0.6 | |
| enrich_booking_sections_from_schedulesrc/view_templates.rs:294 | fn | 13 | 2 | 1 | 3 | 0.6 | |
| enrich_calendar_sections_from_event_and_schedulesrc/view_templates.rs:321 | fn | 61 | 4 | 1 | 7 | 0.6 | |
| enrich_practice_sections_from_schedulesrc/view_templates.rs:386 | fn | 16 | 2 | 1 | 4 | 0.6 | |
| enrich_market_chart_sections_from_capitalstrategysrc/view_templates.rs:699 | fn | 9 | 1 | 1 | 4 | 0.6 | |
| enrich_event_sections_from_eventsrc/view_templates.rs:724 | fn | 33 | 3 | 1 | 10 | 0.6 | |
| enrich_course_sections_from_coursesrc/view_templates.rs:811 | fn | 57 | 4 | 1 | 4 | 0.6 | |
| site_public_pathsrc/view_templates.rs:409 | fn | 4 | 3 | 1 | 1 | 0.6 | |
| site_page_headsrc/view_templates.rs:438 | fn | 95 | 15 | 1 | 8 | 0.6 | |
| origin_fromsrc/view_templates.rs:415 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| absolutizesrc/view_templates.rs:420 | fn | 6 | 4 | 1 | 0 | 0.6 | |
| json_ld_blockssrc/view_templates.rs:428 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| SiteRenderHost::to_valuesrc/view_templates.rs:179 | method | 7 | 1 | 0 | 0 | 0.5 | |
| past_events_drop_and_the_rest_run_soonest_firstsrc/view_templates.rs:784 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| site_editor_route_contextsrc/view_templates.rs:1009 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| site_editor_edit_route_contextsrc/view_templates.rs:1013 | fn | 10 | 2 | 0 | 0 | 0.5 | |
| site_editor_template_contextsrc/view_templates.rs:1024 | fn | 35 | 4 | 0 | 6 | 0.5 | |
| a_store_without_a_shop_sells_from_the_site_linked_shopsrc/view_templates.rs:1665 | fn | 21 | 2 | 0 | 1 | 0.5 | |
| markdown_body_renders_to_html_and_other_formats_pass_throughsrc/view_templates.rs:1688 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| site_editor_tree_renders_create_and_prefilled_edit_formssrc/view_templates.rs:1703 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| manifest_identity_replaces_built_in_template_demo_chromesrc/view_templates.rs:1720 | fn | 35 | 1 | 0 | 1 | 0.5 | |
| fake_itemsrc/view_templates.rs:1756 | fn | 12 | 1 | 0 | 0 | 0.5 | |
| product_sections_render_live_shop_data_in_templated_pagessrc/view_templates.rs:1784 | fn | 34 | 1 | 0 | 3 | 0.5 | |
| index_context_groups_pages_and_escapes_descriptionssrc/view_templates.rs:1820 | fn | 29 | 1 | 0 | 1 | 0.5 | |
| bundle_context_renders_empty_and_populated_site_groupssrc/view_templates.rs:1851 | fn | 28 | 1 | 0 | 1 | 0.5 | |
| absent_sections_parse_to_nothing_without_reporting_a_failuresrc/view_templates.rs:1883 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| well_formed_sections_all_parsesrc/view_templates.rs:1894 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| one_malformed_section_is_isolated_and_the_rest_survivesrc/view_templates.rs:1911 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| a_non_array_sections_value_is_reported_rather_than_ignoredsrc/view_templates.rs:1927 | fn | 8 | 2 | 0 | 2 | 0.5 | |
| the_warning_slot_names_every_failing_sectionsrc/view_templates.rs:1937 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| a_malformed_section_renders_a_warning_and_never_the_template_demo_copysrc/view_templates.rs:1954 | fn | 31 | 1 | 0 | 1 | 0.5 | |
| template_visitor_document_carries_escaped_site_and_page_identitysrc/view_templates.rs:1987 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| an_ad_angle_swaps_the_hero_copy_and_the_canonical_stays_the_pagesrc/view_templates.rs:2059 | fn | 35 | 3 | 0 | 5 | 0.5 | |
| render_site_document_is_deterministicsrc/view_templates.rs:2096 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| render_site_document_emits_the_seo_headsrc/view_templates.rs:2105 | fn | 23 | 1 | 0 | 4 | 0.5 | |
| theme_fonts_tokens_and_stylesheet_emit_in_ordersrc/view_templates.rs:2130 | fn | 17 | 4 | 0 | 4 | 0.5 | |
| frames_anchor_dedupe_bleed_and_chrome_reach_the_pagesrc/view_templates.rs:2149 | fn | 12 | 2 | 0 | 4 | 0.5 | |
| pages_without_a_template_inherit_the_site_template_and_keep_their_bodysrc/view_templates.rs:2163 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| a_hero_artist_page_on_its_host_has_one_h1_a_host_canonical_and_a_large_cardsrc/view_templates.rs:2178 | fn | 41 | 1 | 0 | 1 | 0.5 | |
| unpublished_pages_are_noindex_and_hosts_without_a_base_get_no_canonicalsrc/view_templates.rs:2221 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| page_shape_site_edit_editorsrc/view_templates.rs:2234 | fn | 6 | 2 | 0 | 2 | 0.5 | |
| page_shape_site_edit_slug_editorsrc/view_templates.rs:2242 | fn | 8 | 3 | 0 | 2 | 0.5 | |
| page_shape_discover_listsrc/view_templates.rs:2255 | fn | 9 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.