### Example Theme Check Configuration Source: https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration An example `.theme-check.yml` file demonstrating various configuration options. ```yaml root: "dist" extends: "theme-check:recommended" require: - ./my-custom-checks.js ignore: - assets/custom.js checks: theme-layout-layout-file: enabled: false theme-liquid-html-check: severity: warning ignore: - templates/customers/*.liquid theme-content-for-layout-theme-object: max-name-length: 10 ``` -------------------------------- ### Theme Get Configuration File Example Source: https://shopify.dev/docs/storefronts/themes/tools/theme-kit/command-reference The `theme get` command outputs a `config.yml` file with the following structure, containing your store's connection details. ```yaml development: password: [your-theme-kit-password] theme_id: "[your-theme-id]" store: [your-store].myshopify.com ``` -------------------------------- ### LiquidDoc Usage Examples Source: https://shopify.dev/docs/storefronts/themes/tools/liquid-doc.md This example shows how to provide multiple usage examples for a price display snippet, demonstrating different ways to call the snippet with various parameters. ```liquid {% doc %} Price display snippet @param {number} price - Price value @param {boolean} [show_compare_at] - Whether to show compare-at price @example {% render 'price', price: product.price, show_compare_at: true %} @example {% render 'price', price: variant.price, show_compare_at: false %} {% enddoc %} ``` -------------------------------- ### Test Theme Kit installation Source: https://shopify.dev/docs/storefronts/themes/tools/theme-kit/troubleshooting Verify that Theme Kit is installed and functioning correctly by running the help command. ```bash theme --help ``` -------------------------------- ### Install Theme Kit on Windows Source: https://shopify.dev/docs/storefronts/themes/tools/theme-kit/getting-started Install Theme Kit on Windows using Chocolatey. ```bash choco install themekit ``` -------------------------------- ### Example ignore file content Source: https://shopify.dev/docs/storefronts/themes/tools/theme-kit/configuration-reference This example shows a valid ignore file format where each pattern is on a new line. Lines starting with '#' are treated as comments. ```text # $PROJECT_DIR/themekit_ignores # plain file names config/settings_data.json # globs *.png # regex /\\.(txt|gif|bat)$/ ``` -------------------------------- ### Example Schema Configuration Source: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/asset-size-app-block-javascript This example shows how to configure the `javascript` property within a theme app extension's schema to specify a JavaScript file. ```liquid {% schema %} { ... "javascript": "chat-widget.js" } {% endschema %} ``` -------------------------------- ### Complete Example Source: https://shopify.dev/docs/storefronts/themes/tools/cli/theme-preview-overrides An example demonstrating the use of per-file operations (`source`, `merge`, and per-file `diffs`) within a single JSON overrides file. ```APIDOC ## Complete example The following example uses per-file operations (`source`, `merge`, and per-file `diffs`): ```json { "metadata": { "version": "0.1.0" }, "theme_changes": { "templates/index.json": { "merge": { "current": { "product_image_size": "large" } } }, "templates/product.liquid": { "source": "