shopify-cli 1.3.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +2 -2
- data/.github/CONTRIBUTING.md +9 -1
- data/.github/PULL_REQUEST_TEMPLATE.md +10 -1
- data/.github/workflows/release.yml +61 -0
- data/.github/workflows/triage.yml +22 -0
- data/.gitignore +0 -1
- data/.rubocop.yml +61 -8
- data/.rubocop_todo.yml +11 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +30 -0
- data/Gemfile +3 -2
- data/Gemfile.lock +39 -37
- data/README.md +39 -7
- data/RELEASING.md +19 -29
- data/Rakefile +2 -0
- data/dev.yml +2 -2
- data/docs/_config.yml +1 -18
- data/docs/app/node/commands/index.md +2 -80
- data/docs/app/node/index.md +2 -33
- data/docs/app/rails/commands/index.md +2 -78
- data/docs/app/rails/index.md +2 -34
- data/docs/core/index.md +2 -84
- data/docs/getting-started/index.md +2 -25
- data/docs/getting-started/install/index.md +1 -118
- data/docs/getting-started/migrate/index.md +2 -94
- data/docs/getting-started/uninstall/index.md +2 -35
- data/docs/getting-started/upgrade/index.md +2 -39
- data/docs/help/start-app/index.md +2 -4
- data/docs/index.md +2 -24
- data/install.sh +1 -1
- data/lib/project_types/extension/cli.rb +21 -11
- data/lib/project_types/extension/commands/extension_command.rb +2 -2
- data/lib/project_types/extension/features/argo.rb +117 -0
- data/lib/project_types/extension/forms/create.rb +2 -2
- data/lib/project_types/extension/models/specification.rb +35 -0
- data/lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb +19 -0
- data/lib/project_types/extension/models/specification_handlers/default.rb +67 -0
- data/lib/project_types/extension/models/specifications.rb +77 -0
- data/lib/project_types/extension/tasks/configure_features.rb +52 -0
- data/lib/project_types/extension/tasks/fetch_specifications.rb +38 -0
- data/lib/project_types/node/cli.rb +4 -1
- data/lib/project_types/node/commands/connect.rb +15 -0
- data/lib/project_types/node/commands/create.rb +10 -4
- data/lib/project_types/node/commands/generate.rb +2 -11
- data/lib/project_types/node/messages/messages.rb +16 -50
- data/lib/project_types/rails/cli.rb +4 -1
- data/lib/project_types/rails/commands/connect.rb +15 -0
- data/lib/project_types/rails/commands/create.rb +15 -12
- data/lib/project_types/rails/forms/create.rb +1 -1
- data/lib/project_types/rails/gem.rb +1 -1
- data/lib/project_types/rails/messages/messages.rb +8 -5
- data/lib/project_types/script/cli.rb +9 -5
- data/lib/project_types/script/commands/create.rb +6 -4
- data/lib/project_types/script/commands/enable.rb +12 -4
- data/lib/project_types/script/commands/push.rb +5 -13
- data/lib/project_types/script/config/extension_points.yml +17 -12
- data/lib/project_types/script/errors.rb +21 -0
- data/lib/project_types/script/forms/create.rb +26 -2
- data/lib/project_types/script/graphql/app_script_update_or_create.graphql +10 -1
- data/lib/project_types/script/layers/application/build_script.rb +18 -17
- data/lib/project_types/script/layers/application/create_script.rb +12 -10
- data/lib/project_types/script/layers/application/extension_points.rb +24 -0
- data/lib/project_types/script/layers/application/push_script.rb +18 -16
- data/lib/project_types/script/layers/domain/errors.rb +7 -0
- data/lib/project_types/script/layers/domain/extension_point.rb +62 -7
- data/lib/project_types/script/layers/domain/metadata.rb +55 -0
- data/lib/project_types/script/layers/domain/push_package.rb +25 -6
- data/lib/project_types/script/layers/infrastructure/assemblyscript_project_creator.rb +17 -52
- data/lib/project_types/script/layers/infrastructure/assemblyscript_task_runner.rb +42 -11
- data/lib/project_types/script/layers/infrastructure/errors.rb +16 -0
- data/lib/project_types/script/layers/infrastructure/extension_point_repository.rb +10 -4
- data/lib/project_types/script/layers/infrastructure/project_creator.rb +2 -1
- data/lib/project_types/script/layers/infrastructure/push_package_repository.rb +25 -13
- data/lib/project_types/script/layers/infrastructure/rust_project_creator.rb +72 -0
- data/lib/project_types/script/layers/infrastructure/rust_task_runner.rb +59 -0
- data/lib/project_types/script/layers/infrastructure/script_service.rb +9 -1
- data/lib/project_types/script/layers/infrastructure/task_runner.rb +4 -3
- data/lib/project_types/script/messages/messages.rb +55 -4
- data/lib/project_types/script/script_project.rb +25 -16
- data/lib/project_types/script/ui/error_handler.rb +59 -1
- data/lib/project_types/theme/cli.rb +40 -0
- data/lib/project_types/theme/commands/connect.rb +54 -0
- data/lib/project_types/theme/commands/create.rb +48 -0
- data/lib/project_types/theme/commands/deploy.rb +38 -0
- data/lib/project_types/theme/commands/generate.rb +20 -0
- data/lib/project_types/theme/commands/generate/env.rb +79 -0
- data/lib/project_types/theme/commands/push.rb +55 -0
- data/lib/project_types/theme/commands/serve.rb +31 -0
- data/lib/project_types/theme/forms/connect.rb +34 -0
- data/lib/project_types/theme/forms/create.rb +22 -0
- data/lib/project_types/theme/messages/messages.rb +147 -0
- data/lib/project_types/theme/tasks/ensure_themekit_installed.rb +78 -0
- data/lib/project_types/theme/themekit.rb +113 -0
- data/lib/shopify-cli/admin_api.rb +42 -2
- data/lib/shopify-cli/api.rb +34 -33
- data/lib/shopify-cli/commands/config.rb +24 -0
- data/lib/shopify-cli/commands/connect.rb +32 -15
- data/lib/shopify-cli/commands/system.rb +10 -1
- data/lib/shopify-cli/context.rb +23 -2
- data/lib/shopify-cli/core/entry_point.rb +1 -1
- data/lib/shopify-cli/core/monorail.rb +6 -4
- data/lib/shopify-cli/feature.rb +0 -2
- data/lib/shopify-cli/http_request.rb +27 -0
- data/lib/shopify-cli/js_deps.rb +1 -1
- data/lib/shopify-cli/messages/messages.rb +31 -7
- data/lib/shopify-cli/method_object.rb +104 -0
- data/lib/shopify-cli/partners_api.rb +25 -3
- data/lib/shopify-cli/process_supervision.rb +1 -1
- data/lib/shopify-cli/project.rb +12 -8
- data/lib/shopify-cli/project_type.rb +18 -2
- data/lib/shopify-cli/resolve_constant.rb +25 -0
- data/lib/shopify-cli/result.rb +432 -0
- data/lib/shopify-cli/shopifolk.rb +87 -0
- data/lib/shopify-cli/task.rb +8 -0
- data/lib/shopify-cli/tasks/create_api_client.rb +13 -2
- data/lib/shopify-cli/tasks/ensure_env.rb +3 -0
- data/lib/shopify-cli/tasks/select_org_and_shop.rb +10 -5
- data/lib/shopify-cli/tunnel.rb +8 -2
- data/lib/shopify-cli/version.rb +1 -1
- data/lib/shopify_cli.rb +5 -1
- data/shopify.fish +1 -1
- data/shopify.sh +1 -1
- data/vendor/deps/cli-kit/REVISION +1 -1
- data/vendor/deps/cli-kit/lib/cli/kit/logger.rb +2 -2
- data/vendor/deps/cli-kit/lib/cli/kit/system.rb +3 -3
- data/vendor/deps/cli-ui/REVISION +1 -1
- data/vendor/deps/cli-ui/lib/cli/ui.rb +26 -22
- data/vendor/deps/cli-ui/lib/cli/ui/ansi.rb +4 -6
- data/vendor/deps/cli-ui/lib/cli/ui/frame.rb +3 -3
- data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_stack.rb +8 -9
- data/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style.rb +1 -1
- data/vendor/deps/cli-ui/lib/cli/ui/glyph.rb +1 -0
- data/vendor/deps/cli-ui/lib/cli/ui/printer.rb +15 -3
- data/vendor/deps/cli-ui/lib/cli/ui/prompt/interactive_options.rb +4 -11
- data/vendor/deps/cli-ui/lib/cli/ui/spinner.rb +3 -5
- data/vendor/deps/cli-ui/lib/cli/ui/terminal.rb +10 -10
- data/vendor/deps/cli-ui/lib/cli/ui/version.rb +1 -1
- data/vendor/deps/cli-ui/lib/cli/ui/wrap.rb +56 -0
- data/vendor/deps/webrick/.gitignore +9 -0
- data/vendor/deps/webrick/Gemfile +3 -0
- data/vendor/deps/webrick/LICENSE.txt +22 -0
- data/vendor/deps/webrick/README.md +61 -0
- data/vendor/deps/webrick/Rakefile +10 -0
- data/vendor/deps/webrick/lib/webrick.rb +232 -0
- data/vendor/deps/webrick/lib/webrick/accesslog.rb +157 -0
- data/vendor/deps/webrick/lib/webrick/cgi.rb +313 -0
- data/vendor/deps/webrick/lib/webrick/compat.rb +36 -0
- data/vendor/deps/webrick/lib/webrick/config.rb +158 -0
- data/vendor/deps/webrick/lib/webrick/cookie.rb +172 -0
- data/vendor/deps/webrick/lib/webrick/htmlutils.rb +30 -0
- data/vendor/deps/webrick/lib/webrick/httpauth.rb +96 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/authenticator.rb +117 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/basicauth.rb +116 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/digestauth.rb +395 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/htdigest.rb +132 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/htgroup.rb +97 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/htpasswd.rb +158 -0
- data/vendor/deps/webrick/lib/webrick/httpauth/userdb.rb +53 -0
- data/vendor/deps/webrick/lib/webrick/httpproxy.rb +354 -0
- data/vendor/deps/webrick/lib/webrick/httprequest.rb +636 -0
- data/vendor/deps/webrick/lib/webrick/httpresponse.rb +564 -0
- data/vendor/deps/webrick/lib/webrick/https.rb +152 -0
- data/vendor/deps/webrick/lib/webrick/httpserver.rb +294 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet.rb +23 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/abstract.rb +152 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/cgi_runner.rb +47 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/cgihandler.rb +126 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/erbhandler.rb +88 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/filehandler.rb +552 -0
- data/vendor/deps/webrick/lib/webrick/httpservlet/prochandler.rb +47 -0
- data/vendor/deps/webrick/lib/webrick/httpstatus.rb +194 -0
- data/vendor/deps/webrick/lib/webrick/httputils.rb +512 -0
- data/vendor/deps/webrick/lib/webrick/httpversion.rb +76 -0
- data/vendor/deps/webrick/lib/webrick/log.rb +156 -0
- data/vendor/deps/webrick/lib/webrick/server.rb +381 -0
- data/vendor/deps/webrick/lib/webrick/ssl.rb +215 -0
- data/vendor/deps/webrick/lib/webrick/utils.rb +265 -0
- data/vendor/deps/webrick/lib/webrick/version.rb +18 -0
- data/vendor/deps/webrick/webrick.gemspec +74 -0
- metadata +77 -27
- data/docs/Gemfile +0 -5
- data/docs/Gemfile.lock +0 -258
- data/docs/_data/nav.yml +0 -35
- data/docs/_includes/footer.html +0 -15
- data/docs/_includes/head.html +0 -19
- data/docs/_includes/sidebar_nav.html +0 -22
- data/docs/_includes/toc.html +0 -112
- data/docs/_layouts/default.html +0 -79
- data/docs/css/docs.css +0 -157
- data/docs/images/header.png +0 -0
- data/docs/installing-ruby.md +0 -28
- data/lib/project_types/extension/features/argo/admin.rb +0 -20
- data/lib/project_types/extension/features/argo/base.rb +0 -129
- data/lib/project_types/extension/features/argo/checkout.rb +0 -20
- data/lib/project_types/extension/models/type.rb +0 -81
- data/lib/project_types/extension/models/types/checkout_post_purchase.rb +0 -23
- data/lib/project_types/extension/models/types/product_subscription.rb +0 -24
- data/lib/project_types/node/commands/generate/billing.rb +0 -39
- data/lib/project_types/node/commands/generate/page.rb +0 -59
- data/lib/project_types/node/commands/generate/webhook.rb +0 -37
- data/lib/project_types/script/layers/domain/script.rb +0 -18
- data/lib/project_types/script/layers/infrastructure/assemblyscript_tsconfig.rb +0 -38
- data/lib/project_types/script/layers/infrastructure/script_repository.rb +0 -59
- data/lib/project_types/script/templates/ts/as-pect.config.js +0 -27
- data/lib/project_types/script/templates/ts/as-pect.d.ts +0 -1
data/docs/_data/nav.yml
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
sidebar:
|
|
2
|
-
- title: Introduction
|
|
3
|
-
section: intro
|
|
4
|
-
url: /
|
|
5
|
-
- title: Getting started
|
|
6
|
-
section: getting-started
|
|
7
|
-
url: /getting-started/
|
|
8
|
-
subnav:
|
|
9
|
-
- title: Install
|
|
10
|
-
url: /getting-started/install/
|
|
11
|
-
- title: Upgrade
|
|
12
|
-
url: /getting-started/upgrade/
|
|
13
|
-
- title: Uninstall
|
|
14
|
-
url: /getting-started/uninstall/
|
|
15
|
-
- title: Migrate from a legacy version
|
|
16
|
-
url: /getting-started/migrate/
|
|
17
|
-
- title: Core commands
|
|
18
|
-
section: core
|
|
19
|
-
url: /core/
|
|
20
|
-
- title: Node app projects
|
|
21
|
-
section: node
|
|
22
|
-
url: /app/node/
|
|
23
|
-
subnav:
|
|
24
|
-
- title: Getting started
|
|
25
|
-
url: /app/node/
|
|
26
|
-
- title: Command reference
|
|
27
|
-
url: /app/node/commands/
|
|
28
|
-
- title: Rails app projects
|
|
29
|
-
section: rails
|
|
30
|
-
url: /app/rails/
|
|
31
|
-
subnav:
|
|
32
|
-
- title: Getting started
|
|
33
|
-
url: /app/rails/
|
|
34
|
-
- title: Command reference
|
|
35
|
-
url: /app/rails/commands/
|
data/docs/_includes/footer.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<div class="page-container page-container--footer">
|
|
2
|
-
<footer class="footer--main" role="contentinfo">
|
|
3
|
-
<div class="footer-bottom">
|
|
4
|
-
<div class="grid">
|
|
5
|
-
<div class="grid__item color-white">
|
|
6
|
-
<p>
|
|
7
|
-
Built and maintained by <a href="https://www.shopify.com">Shopify Inc.</a> © {{ site.time | date: '%Y' }}.
|
|
8
|
-
Want to contribute? <a href="https://www.shopify.com/careers">Join the team</a>
|
|
9
|
-
</p>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
</footer>
|
|
15
|
-
</div>
|
data/docs/_includes/head.html
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<meta charset="utf-8">
|
|
2
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
3
|
-
|
|
4
|
-
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}</title>
|
|
5
|
-
|
|
6
|
-
{% if page.description %}
|
|
7
|
-
<meta name="description" content="{{ site.github.project_tagline }}">
|
|
8
|
-
{% endif %}
|
|
9
|
-
|
|
10
|
-
<link rel="canonical" href="https://shopify.github.io/shopify-app-cli/">
|
|
11
|
-
|
|
12
|
-
<meta name="robots" content="index, follow">
|
|
13
|
-
<meta name="st:robots" content="index, follow">
|
|
14
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
15
|
-
<meta property='st:title' content="{{ site.title }}">
|
|
16
|
-
|
|
17
|
-
<link rel="shortcut icon" type="image/png" href="https://cdn.shopify.com/shopify-marketing_assets/static/shopify-favicon.png" />
|
|
18
|
-
<link href="https://cdn.shopify.com/shopify-marketing_assets/builds/88.3.2/marketing_assets.css" rel="stylesheet" type="text/css">
|
|
19
|
-
<link href="{{ '/css/docs.css' | relative_url }}" rel="stylesheet" type="text/css">
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<ul class="in-page-menu in-page-menu--vertical">
|
|
2
|
-
{% for item in site.data.nav.sidebar %}
|
|
3
|
-
<li>
|
|
4
|
-
<a class="{% if item.url == page.url %}is-active{% endif %}" href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
|
5
|
-
{% if item.section == page.section %}
|
|
6
|
-
<ul>
|
|
7
|
-
{% for subitem in item.subnav %}
|
|
8
|
-
<li><a class="{% if subitem.url == page.url %}is-active{% endif %}" href="{{ subitem.url | relative_url }}">{{ subitem.title }}</a></li>
|
|
9
|
-
{% endfor %}
|
|
10
|
-
</ul>
|
|
11
|
-
{% endif %}
|
|
12
|
-
</li>
|
|
13
|
-
{% endfor %}
|
|
14
|
-
</ul>
|
|
15
|
-
|
|
16
|
-
<p>
|
|
17
|
-
<a href="{{ site.github.repository_url }}" class="link--external">GitHub repository</a>
|
|
18
|
-
</p>
|
|
19
|
-
|
|
20
|
-
<p>
|
|
21
|
-
<a href="https://shopify.dev/" class="link--external">Shopify Developer Docs</a><br />
|
|
22
|
-
</p>
|
data/docs/_includes/toc.html
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
{% capture tocWorkspace %}
|
|
2
|
-
{% comment %}
|
|
3
|
-
Version 1.0.11
|
|
4
|
-
https://github.com/allejo/jekyll-toc
|
|
5
|
-
|
|
6
|
-
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
|
7
|
-
|
|
8
|
-
Usage:
|
|
9
|
-
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
|
10
|
-
|
|
11
|
-
Parameters:
|
|
12
|
-
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
|
13
|
-
|
|
14
|
-
Optional Parameters:
|
|
15
|
-
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
|
16
|
-
* class (string) : '' - a CSS class assigned to the TOC
|
|
17
|
-
* id (string) : '' - an ID to assigned to the TOC
|
|
18
|
-
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
|
19
|
-
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
|
20
|
-
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
|
21
|
-
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
|
|
22
|
-
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
|
23
|
-
* anchor_class (string) : '' - add custom class(es) for each anchor element
|
|
24
|
-
* skipNoIDs (bool) : false - skip headers that do not have an `id` attribute
|
|
25
|
-
|
|
26
|
-
Output:
|
|
27
|
-
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
|
|
28
|
-
generate the table of contents and will NOT output the markdown given to it
|
|
29
|
-
{% endcomment %}
|
|
30
|
-
|
|
31
|
-
{% capture my_toc %}{% endcapture %}
|
|
32
|
-
{% assign orderedList = include.ordered | default: false %}
|
|
33
|
-
{% assign skipNoIDs = include.skipNoIDs | default: false %}
|
|
34
|
-
{% assign minHeader = include.h_min | default: 1 %}
|
|
35
|
-
{% assign maxHeader = include.h_max | default: 6 %}
|
|
36
|
-
{% assign nodes = include.html | split: '<h' %}
|
|
37
|
-
{% assign firstHeader = true %}
|
|
38
|
-
|
|
39
|
-
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
|
40
|
-
|
|
41
|
-
{% for node in nodes %}
|
|
42
|
-
{% if node == "" %}
|
|
43
|
-
{% continue %}
|
|
44
|
-
{% endif %}
|
|
45
|
-
|
|
46
|
-
{% if skipNoIDs == true %}
|
|
47
|
-
{% unless node contains "id=" %}
|
|
48
|
-
{% continue %}
|
|
49
|
-
{% endunless %}
|
|
50
|
-
{% endif %}
|
|
51
|
-
|
|
52
|
-
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
|
53
|
-
|
|
54
|
-
{% if headerLevel < minHeader or headerLevel > maxHeader %}
|
|
55
|
-
{% continue %}
|
|
56
|
-
{% endif %}
|
|
57
|
-
|
|
58
|
-
{% if firstHeader %}
|
|
59
|
-
{% assign firstHeader = false %}
|
|
60
|
-
{% assign minHeader = headerLevel %}
|
|
61
|
-
{% endif %}
|
|
62
|
-
|
|
63
|
-
{% assign indentAmount = headerLevel | minus: minHeader %}
|
|
64
|
-
{% assign _workspace = node | split: '</h' %}
|
|
65
|
-
|
|
66
|
-
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
|
67
|
-
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
|
68
|
-
{% assign html_id = _idWorkspace[0] %}
|
|
69
|
-
|
|
70
|
-
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
|
|
71
|
-
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
|
72
|
-
{% assign html_class = _classWorkspace[0] %}
|
|
73
|
-
|
|
74
|
-
{% if html_class contains "no_toc" %}
|
|
75
|
-
{% continue %}
|
|
76
|
-
{% endif %}
|
|
77
|
-
|
|
78
|
-
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
|
79
|
-
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
|
80
|
-
|
|
81
|
-
{% assign space = '' %}
|
|
82
|
-
{% for i in (1..indentAmount) %}
|
|
83
|
-
{% assign space = space | prepend: ' ' %}
|
|
84
|
-
{% endfor %}
|
|
85
|
-
|
|
86
|
-
{% if include.item_class and include.item_class != blank %}
|
|
87
|
-
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
|
88
|
-
{% endif %}
|
|
89
|
-
|
|
90
|
-
{% capture anchor_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
|
|
91
|
-
{% capture anchor_body %}{{ anchor_body | replace: "|", "\|" }}{% endcapture %}
|
|
92
|
-
|
|
93
|
-
{% if html_id %}
|
|
94
|
-
{% capture list_item %}[{{ anchor_body }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
|
|
95
|
-
{% else %}
|
|
96
|
-
{% capture list_item %}{{ anchor_body }}{% endcapture %}
|
|
97
|
-
{% endif %}
|
|
98
|
-
|
|
99
|
-
{% capture my_toc %}{{ my_toc }}
|
|
100
|
-
{{ space }}{{ listModifier }} {{ listItemClass }} {{ list_item }}{% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
|
|
101
|
-
{% endfor %}
|
|
102
|
-
|
|
103
|
-
{% if include.class and include.class != blank %}
|
|
104
|
-
{% capture my_toc %}{:.{{ include.class }}}
|
|
105
|
-
{{ my_toc | lstrip }}{% endcapture %}
|
|
106
|
-
{% endif %}
|
|
107
|
-
|
|
108
|
-
{% if include.id %}
|
|
109
|
-
{% capture my_toc %}{: #{{ include.id }}}
|
|
110
|
-
{{ my_toc | lstrip }}{% endcapture %}
|
|
111
|
-
{% endif %}
|
|
112
|
-
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
|
data/docs/_layouts/default.html
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
{% include head.html %}
|
|
5
|
-
</head>
|
|
6
|
-
<body>
|
|
7
|
-
<div id="GlobalIconSymbols" style="display: none;"><svg xmlns="http://www.w3.org/2000/svg"><symbol id="search"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M14.312 12.897l5.395 5.396a1 1 0 11-1.414 1.414l-5.396-5.395A7.954 7.954 0 018 16c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8a7.946 7.946 0 01-1.688 4.897zM8 2C4.691 2 2 4.691 2 8s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6z" clip-rule="evenodd"></path></svg></symbol><symbol id="modules-arrow-right"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17.707 9.293l-5-5c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414L14.586 9H3c-.553 0-1 .448-1 1s.447 1 1 1h11.586l-3.293 3.293c-.39.39-.39 1.023 0 1.414.195.195.45.293.707.293s.512-.098.707-.293l5-5c.39-.39.39-1.023 0-1.414z"></path></svg>
|
|
8
|
-
</symbol><symbol id="shopify-developers-logo"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 948.88 142.83"><path fill="#95bf46" d="M107.41 27.15a1.35 1.35 0 0 0-1.22-1.15L95 25.18 86.7 17c-.82-.82-2.41-.57-3-.39l-4.2 1.27C77 10.72 72.63 4.14 64.91 4.14h-.65C62.06 1.26 59.34 0 57 0 39 0 30.41 22.48 27.72 33.91l-12.59 3.9c-3.9 1.22-4 1.35-4.54 5C10.21 45.62 0 124.55 0 124.55l79.54 14.9 43.09-9.32S107.5 27.85 107.41 27.15zm-32.3-7.92l-6.73 2.08v-1.45A33 33 0 0 0 66.77 9c3.98.5 6.63 5 8.34 10.24zM61.84 9.88c1.11 2.77 1.82 6.75 1.82 12.12v.78l-13.9 4.3c2.68-10.33 7.69-15.32 12.08-17.2zm-5.35-5.06a4.06 4.06 0 0 1 2.31.78C53 8.32 46.86 15.15 44.25 28.79l-11 3.4c3.07-10.4 10.33-27.37 23.24-27.37z"></path><path fill="#5f8e3e" d="M106.19 26L95 25.18 86.7 17a2 2 0 0 0-1.15-.53l-6 123 43.09-9.32s-15.13-102.28-15.22-103a1.35 1.35 0 0 0-1.23-1.15z"></path><path fill="#fff" d="M64.91 49.83l-5.32 15.81a24.44 24.44 0 0 0-10.36-2.49c-8.37 0-8.79 5.25-8.79 6.57 0 7.22 18.82 10 18.82 26.89 0 13.3-8.44 21.87-19.82 21.87-13.65 0-20.64-8.5-20.64-8.5l3.66-12.08s7.18 6.16 13.23 6.16a5.34 5.34 0 0 0 5.57-5.39c0-9.42-15.44-9.84-15.44-25.31 0-13 9.35-25.63 28.22-25.63 7.27.02 10.87 2.1 10.87 2.1z"></path><path fill="#fff" d="M172.87 79.46c-4.3-2.33-6.51-4.3-6.51-7 0-3.44 3.07-5.65 7.86-5.65a28.08 28.08 0 0 1 10.56 2.33l3.93-12s-3.61-2.82-14.24-2.82c-14.8 0-25.05 8.47-25.05 20.38 0 6.75 4.79 11.91 11.17 15.59 5.16 2.95 7 5 7 8.1s-2.58 5.77-7.37 5.77c-7.13 0-13.88-3.68-13.88-3.68l-4.17 12s6.23 4.17 16.7 4.17c15.23 0 26.16-7.49 26.16-21-.03-7.22-5.53-12.38-12.16-16.19zm60.66-25.29c-7.49 0-13.38 3.56-17.93 9l-.25-.12 6.51-34h-16.94l-16.46 86.57h16.95L211.06 86c2.21-11.17 8-18.05 13.38-18.05 3.81 0 5.28 2.58 5.28 6.26a38.72 38.72 0 0 1-.74 7.49l-6.39 33.89h16.95l6.63-35a63.31 63.31 0 0 0 1.23-11.05c.01-9.6-5.03-15.37-13.87-15.37zm52.19 0c-20.38 0-33.89 18.42-33.89 38.93 0 13.14 8.1 23.7 23.33 23.7 20 0 33.52-17.93 33.52-38.93 0-12.16-7.12-23.7-22.96-23.7zm-8.35 49.61c-5.77 0-8.23-4.91-8.23-11.05 0-9.7 5-25.54 14.24-25.54 6 0 8 5.16 8 10.19-.01 10.44-5.05 26.4-14.01 26.4zM352 54.17c-11.44 0-17.93 10.07-17.93 10.07h-.25l1-9.09h-15c-.74 6.14-2.09 15.47-3.44 22.47l-11.79 62h16.95l4.67-25.05h.37s3.48 2.21 9.95 2.21c19.89 0 32.91-20.38 32.91-41 .03-11.42-5.01-21.61-17.44-21.61zM335.82 104a10.76 10.76 0 0 1-7-2.46l2.82-15.84c2-10.56 7.49-17.56 13.38-17.56 5.16 0 6.75 4.79 6.75 9.33.01 10.96-6.49 26.53-15.95 26.53zm57.84-74.15a9.67 9.67 0 0 0-9.7 9.82c0 5 3.19 8.47 8 8.47h.25a9.57 9.57 0 0 0 9.95-9.82 8.06 8.06 0 0 0-8.5-8.47zm-23.7 85.72h16.95l11.54-60.05h-17.07l-11.42 60.05zm71.59-60.17h-11.79l.61-2.82c1-5.77 4.42-10.93 10.07-10.93a17.66 17.66 0 0 1 5.4.86l3.32-13.26s-2.95-1.47-9.21-1.47c-6 0-12 1.72-16.58 5.65-5.77 4.91-8.47 12-9.82 19.16l-.49 2.82h-7.86l-2.46 12.77h7.86l-9 47.4h16.95l9-47.4h11.67zM467 96.78h-.25c-.33-4.69-4.18-41.26-4.18-41.26h-17.83l10.19 55.14a3.61 3.61 0 0 1-.37 2.82 29 29 0 0 1-9.21 10.19 36.65 36.65 0 0 1-9.58 4.79l4.67 14.37a38.7 38.7 0 0 0 16.56-9.21c7.74-7.25 14.86-18.42 22.23-33.65L500 55.52h-17.68S471.72 82.21 467 96.78zm90.73-39.51c-2.36-1.49-6.57-2.48-10.54-2.48-19.22 0-33.61 21-33.61 41.92 0 10.79 4.84 20.09 15.5 20.09 8.56 0 15.5-5.33 20.22-13.39h.25l-1.74 12.15h5.08a160.79 160.79 0 0 1 2.36-17.86l13.15-69.57h-5.33zm-5.83 30.26c-2.73 14.88-13.15 24.56-21.33 24.56-9.43 0-11.41-8.56-11.41-16 0-17.12 11.66-36.59 27.29-36.59 4.59 0 7.94 1.24 10 3zm45.89-32.74c-17 0-29 22.45-29 39.56 0 11.41 4.84 22.32 18.73 22.32a29.58 29.58 0 0 0 16.25-4.46l-1.64-4.21a25.94 25.94 0 0 1-13.77 4c-6.33 0-10.91-3.35-13-10-1.24-4.34-1.12-12.15-.5-14.88 19.47.12 36.83-4.09 36.83-19.22-.01-6.78-4.1-13.11-13.9-13.11zm8.31 13.27c0 11.78-14.88 14.39-30.39 14.26 3.72-12.9 11.91-22.82 21.08-22.82 5.58 0 9.3 3 9.3 8.43zM657.07 56l-20.22 39.35A137.07 137.07 0 0 0 631 108h-.37c0-2.85-.74-7.32-1.61-13.52L623.83 56h-5.33l8.31 59.53h5l31-59.53zm32.74-1.21c-17 0-29 22.45-29 39.56 0 11.41 4.84 22.32 18.73 22.32a29.58 29.58 0 0 0 16.25-4.46l-1.64-4.21a25.94 25.94 0 0 1-13.77 4c-6.33 0-10.91-3.35-13-10-1.24-4.34-1.12-12.15-.5-14.88 19.47.12 36.83-4.09 36.83-19.22-.01-6.78-4.1-13.11-13.9-13.11zm8.31 13.27c0 11.78-14.88 14.39-30.39 14.26 3.72-12.9 11.91-22.82 21.08-22.82 5.58 0 9.3 3 9.3 8.43zm8.55 47.5h5.34l16.62-87.43h-5.46l-16.5 87.43zm51.72-60.77c-18.11 0-29.39 21.58-29.39 38.95 0 12.28 6.08 23.07 19 23.07h.12c19.22 0 29.27-23.81 29.27-39.07-.02-10.79-4.74-22.95-19-22.95zm-9.55 57.3h-.12c-9.3 0-14.14-8.43-14.14-18.85 0-15.24 9.42-33.74 23.31-33.74 10.91 0 13.89 10.42 13.89 18.23.01 14.27-9.42 34.36-22.94 34.36zm67.96-57.3c-7.94 0-15.38 5.08-20.71 13.27h-.25l1.86-12h-5.08c-.74 5.46-1.86 12.65-3.35 20.46l-11.91 63.38h5.33l4.71-25.67h.25c2.23 1.24 6.08 2.6 11.91 2.6 19 0 32.74-22.57 32.74-42.66.01-9.83-4.21-19.38-15.5-19.38zm-16.74 57.3c-4.84 0-8.81-1.24-11.53-3.35l3.84-20.46c3.35-18 14.39-28.77 22.82-28.77 8.81 0 11.53 7.94 11.53 15 0 15.26-10.91 37.58-26.66 37.58zm67.09-57.3c-17 0-29 22.45-29 39.56 0 11.41 4.84 22.32 18.73 22.32a29.58 29.58 0 0 0 16.25-4.46l-1.64-4.21a25.94 25.94 0 0 1-13.77 4c-6.33 0-10.91-3.35-13-10-1.24-4.34-1.12-12.15-.5-14.88 19.47.12 36.83-4.09 36.83-19.22-.05-6.78-4.05-13.11-13.9-13.11zm8.31 13.27c0 11.78-14.88 14.39-30.39 14.26C848.8 69.43 857 59.5 866.16 59.5c5.58 0 9.3 3 9.3 8.43zM916 60.62l1.12-5.71c-.62 0-1.49-.12-2.23-.12-7.44 0-13.39 6.33-17 14.26h-.25c.74-5.21 1.24-9.18 1.61-13h-4.84c-.5 5.21-1.36 11.91-2.85 19.47L884 115.56h5.33l5.71-30.26c2.48-13 11.16-24.8 19-24.8a8.82 8.82 0 0 1 1.96.12zm22.46-1.12a17 17 0 0 1 8.44 2.5l2-4.59c-1.74-1.36-5.71-2.6-9.8-2.6-10.54 0-18.11 7.57-18.11 16.87 0 5.58 3.22 10.91 9.18 14.76 5.58 3.6 8.06 7.19 8.06 13.15 0 6.82-5.33 12.4-13.15 12.4a18.2 18.2 0 0 1-10.42-3.35l-2.11 4.46c2 1.61 6.7 3.6 12 3.6 10.29 0 19.1-6.57 19.1-18.6 0-6.08-3.47-11.53-9.18-15.38-4.84-3.35-8.06-6.45-8.06-12 .02-6.13 4.86-11.22 12.05-11.22z"></path></svg></symbol><symbol id="modules-caret-right"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-242.1 245.6 6.6 10.3"><path d="M-235.6 250.7l-5.1 5.2-1.4-1.4 3.7-3.8-3.7-3.7 1.4-1.4"></path></svg></symbol><symbol id="modules-nav-external-indicator"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 7"><path d="M7,7V0H0L7,7z"></path></svg>
|
|
9
|
-
</symbol><symbol id="modules-caret-down"><svg xmlns="http://www.w3.org/2000/svg" baseProfile="tiny" viewBox="0 0 10.289 6.563"><path d="M5.212 6.563L0 1.423 1.404 0l3.788 3.735L8.865.01l1.424 1.404"></path></svg></symbol><symbol id="modules-mobile-hamburger"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M19 11H1c-.552 0-1-.447-1-1s.448-1 1-1h18c.552 0 1 .447 1 1s-.448 1-1 1zm0-7H1c-.552 0-1-.447-1-1s.448-1 1-1h18c.552 0 1 .447 1 1s-.448 1-1 1zm0 14H1c-.552 0-1-.447-1-1s.448-1 1-1h18c.552 0 1 .447 1 1s-.448 1-1 1z"></path></svg>
|
|
10
|
-
</symbol><symbol id="modules-cancel"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.414 10l6.293-6.293c.39-.39.39-1.023 0-1.414s-1.023-.39-1.414 0L10 8.586 3.707 2.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414L8.586 10l-6.293 6.293c-.39.39-.39 1.023 0 1.414.195.195.45.293.707.293s.512-.098.707-.293L10 11.414l6.293 6.293c.195.195.45.293.707.293s.512-.098.707-.293c.39-.39.39-1.023 0-1.414L11.414 10z"></path></svg>
|
|
11
|
-
</symbol><symbol id="modules-social-facebook"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M15.6 30V19.4h5V15h-5v-3.1c0-1 .6-1.9 1.3-1.9h3.8V5.6h-3.8c-3.1 0-5.6 2.8-5.6 6.3V15H7.5v4.4h3.8v10.1C4.8 27.9 0 22 0 15 0 6.7 6.7 0 15 0s15 6.7 15 15c0 8.1-6.4 14.7-14.4 15z"></path></svg>
|
|
12
|
-
</symbol><symbol id="modules-social-twitter"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M30 15c0 8.3-6.7 15-15 15S0 23.3 0 15 6.7 0 15 0s15 6.7 15 15zm-3.7-5.5c-.8.3-1.6.6-2.5.7.9-.5 1.5-1.4 1.8-2.4-.8.5-1.7.8-2.7 1-.8-.8-1.9-1.4-3.1-1.4-2.4 0-4.2 1.9-4.2 4.3 0 .3 0 .7.1 1-3.5-.2-6.7-1.9-8.8-4.5-.3.7-.6 1.4-.6 2.2 0 1.5.7 2.8 1.9 3.5-.7 0-1.4-.2-1.9-.5 0 2.1 1.5 3.8 3.4 4.2-.3.1-.7.1-1.1.1-.3 0-.6 0-.8-.1.5 1.7 2.1 2.8 4 2.9-1.5 1.1-3.3 1.9-5.3 1.9-.3 0-.7 0-1-.1 1.9 1.2 4.1 1.9 6.5 1.9 7.8 0 12.1-6.5 12.1-12.1v-.6c.9-.4 1.6-1.2 2.2-2z"></path></svg>
|
|
13
|
-
</symbol><symbol id="modules-social-youtube"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M30 15c0 8.3-6.7 15-15 15S0 23.3 0 15 6.7 0 15 0s15 6.7 15 15zm-5.6 0c0-6.9 0-6.9-9.4-6.9s-9.4 0-9.4 6.9 0 6.9 9.4 6.9 9.4 0 9.4-6.9zm-11.9-3.7l6.3 3.8-6.3 3.8v-7.6z"></path></svg>
|
|
14
|
-
</symbol><symbol id="modules-social-instagram"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M15 30C6.7 30 0 23.3 0 15c0-1.1.1-2.1.3-3.1h7.2c-.4 1-.6 2-.6 3.1 0 4.5 3.6 8.1 8.1 8.1s8.1-3.6 8.1-8.1c0-1.1-.2-2.2-.6-3.1h7.2c.2 1 .3 2 .3 3.1 0 8.3-6.7 15-15 15zm5.9-20.6c-1.5-1.5-3.6-2.5-5.9-2.5s-4.4 1-5.9 2.5h-8C3.3 3.9 8.7 0 15 0s11.7 3.9 13.9 9.4h-8zm-.3 5.6c0 3.1-2.5 5.6-5.6 5.6-3.1 0-5.6-2.5-5.6-5.6 0-3.1 2.5-5.6 5.6-5.6 3.1 0 5.6 2.5 5.6 5.6z"></path></svg>
|
|
15
|
-
</symbol><symbol id="modules-social-linkedin"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M30 15c0 8.3-6.7 15-15 15S0 23.3 0 15 6.7 0 15 0s15 6.7 15 15zM11.3 7.8c0-1.2-1-2.2-2.5-2.2s-2.5.9-2.5 2.2c0 1.2 1 2.2 2.5 2.2s2.5-1 2.5-2.2zm-.7 4.1H6.9v10.6h3.8V11.9zm13.8 5c0-3.4-1.7-5.6-4.4-5.6-1.5 0-2.6.9-3.1 2.3l-.1-1.6H13c0 .4.1 2.5.1 2.5v8.1h3.8V17c0-1.5.7-2.5 1.8-2.5s1.9.6 1.9 2.5v5.6h3.8v-5.7z"></path></svg>
|
|
16
|
-
</symbol><symbol id="modules-social-pinterest"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M15 30c-1.5 0-2.9-.2-4.3-.6.6-.9 1.2-2 1.5-3.2.2-.7 1-4.1 1-4.1.5 1 2 1.9 3.7 1.9 4.8 0 8.1-4.4 8.1-10.3 0-4.4-3.8-8.6-9.5-8.6-7.1-.1-10.6 5-10.6 9.3 0 2.6 1 4.9 3.1 5.7.3.1.7 0 .8-.4.1-.2.2-.9.3-1.2.1-.4 0-.5-.2-.8-.6-.7-1-1.6-1-3 0-3.8 2.8-7.2 7.4-7.2 4 0 6.2 2.5 6.2 5.8 0 4.3-1.9 8-4.8 8-1.6 0-2.7-1.3-2.4-2.9.5-1.9 1.3-4 1.3-5.3 0-1.2-.7-2.3-2-2.3-1.6 0-2.9 1.7-2.9 3.9 0 1.4.5 2.4.5 2.4S9.5 24 9.3 25.3c-.3 1.1-.4 2.4-.3 3.5-5.3-2.4-9-7.7-9-13.8C0 6.7 6.7 0 15 0s15 6.7 15 15-6.7 15-15 15z"></path></svg>
|
|
17
|
-
</symbol><symbol id="modules-close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44"><path d="M39.196 43.3L1.154 5.256l3.89-3.89 38.04 38.043z"></path><path d="M.54 39.413L38.58 1.37l3.89 3.89L4.428 43.302z"></path></svg></symbol></svg></div>
|
|
18
|
-
<header class="site-nav-container">
|
|
19
|
-
|
|
20
|
-
<div class="marketing-nav-wrapper">
|
|
21
|
-
<nav class="marketing-nav--skin-dark marketing-nav marketing-nav--primary" id="ShopifyMainNav" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement" aria-label="Main Navigation">
|
|
22
|
-
|
|
23
|
-
<div class="marketing-nav__logo color-white">
|
|
24
|
-
<a href="{{ '/' | relative_url }}" class="marketing-nav__logo__shopify">
|
|
25
|
-
<svg class="icon" aria-labelledby="icon-shopify-developers-logo-5-title" role="img"><title id="icon-shopify-developers-logo-5-title">Home</title> <use xlink:href="#shopify-developers-logo"></use> </svg>
|
|
26
|
-
</a>
|
|
27
|
-
</div>
|
|
28
|
-
<span class="marketing-nav__items display--expanded-nav"></span>
|
|
29
|
-
</nav>
|
|
30
|
-
</div>
|
|
31
|
-
</header>
|
|
32
|
-
|
|
33
|
-
<div id="PageContainer">
|
|
34
|
-
|
|
35
|
-
<section class="section section--tight section-padding section--padding-top-only ui-hero">
|
|
36
|
-
<div class="grid">
|
|
37
|
-
<div class="grid__item">
|
|
38
|
-
<p class="section-heading__kicker heading--5 hide--mobile">Shopify Open Source</p>
|
|
39
|
-
<h1 class="section-heading__heading heading--2 ui-hero__header gutter-bottom--reset--mobile">Shopify App CLI</h1>
|
|
40
|
-
<p class="text-major hide--mobile ui-hero__header">
|
|
41
|
-
Build Shopify apps faster
|
|
42
|
-
</p>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</section>
|
|
46
|
-
<section id="Content">
|
|
47
|
-
<div class="grid">
|
|
48
|
-
<div class="grid__item grid__item--tablet-up-quarter" id="SidebarNav">
|
|
49
|
-
{% include sidebar_nav.html %}
|
|
50
|
-
</div>
|
|
51
|
-
<div class="grid__item grid__item--tablet-up-three-quarters sticky-menu-content">
|
|
52
|
-
<main role="main" id="Main">
|
|
53
|
-
|
|
54
|
-
<article>
|
|
55
|
-
|
|
56
|
-
<h1>{{ page.title }}</h1>
|
|
57
|
-
|
|
58
|
-
{% if page.toc %}
|
|
59
|
-
<h2 class="heading--4">On this page</h2>
|
|
60
|
-
|
|
61
|
-
<div class="on-this-page">
|
|
62
|
-
{% include toc.html html=content h_max=2 %}
|
|
63
|
-
</div>
|
|
64
|
-
{% endif %}
|
|
65
|
-
|
|
66
|
-
{{ content }}
|
|
67
|
-
</article>
|
|
68
|
-
|
|
69
|
-
</main>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</section>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
{% include footer.html %}
|
|
77
|
-
|
|
78
|
-
</body>
|
|
79
|
-
</html>
|
data/docs/css/docs.css
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
article {
|
|
2
|
-
padding: 30px 0;
|
|
3
|
-
color: #212326;
|
|
4
|
-
min-height: 80vh;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
article a:link {
|
|
8
|
-
text-decoration: underline;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
article a:hover {
|
|
12
|
-
text-decoration: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
article h1,
|
|
16
|
-
article h2,
|
|
17
|
-
article h3,
|
|
18
|
-
article h4,
|
|
19
|
-
article h5,
|
|
20
|
-
article h6 {
|
|
21
|
-
margin-top: 1em;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
article h1:first-child,
|
|
25
|
-
article h2:first-child,
|
|
26
|
-
article h3:first-child,
|
|
27
|
-
article h4:first-child,
|
|
28
|
-
article h5:first-child,
|
|
29
|
-
article h6:first-child {
|
|
30
|
-
margin-top: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
article ul {
|
|
34
|
-
list-style: disc;
|
|
35
|
-
margin-left: 20px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
article ol {
|
|
39
|
-
list-style: decimal;
|
|
40
|
-
margin-left: 20px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
blockquote {
|
|
44
|
-
margin: 0 0 30px 0;
|
|
45
|
-
padding: 20px 20px 10px 20px;
|
|
46
|
-
text-align: left;
|
|
47
|
-
background: #f0f1f2;
|
|
48
|
-
border-left: 4px solid #828a91;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
blockquote b,
|
|
52
|
-
blockquote strong,
|
|
53
|
-
blockquote h4 {
|
|
54
|
-
margin-top: 0;
|
|
55
|
-
color: #647382;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
blockquote h4 {
|
|
59
|
-
padding-left: 30px;
|
|
60
|
-
background-position: left top;
|
|
61
|
-
background-repeat: no-repeat;
|
|
62
|
-
background-size: 1em auto;
|
|
63
|
-
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2033.8%2039.5%22%3E%3Cstyle%20type=%22text/css%22%3Ecircle,%20ellipse,%20line,%20path,%20polygon,%20polyline,%20rect,%20text%20%7B%20fill:%20rgb(100,%20115,%20130)%20!important;%20%7D%3C/style%3E%3Cpath%20d=%22M13.3%2034.6c.2.1.4.2.7.4-.3-.1-.5-.2-.7-.4z%22/%3E%3Cpath%20d=%22M33%208c.7-1.2%201-2.6.6-4-.3-1.4-1.2-2.5-2.4-3.2-.7-.5-1.7-.8-2.6-.8-1.8%200-3.5.9-4.5%202.5-.8%201.3-1%202.8-.6%204.2-.7-.2-1.4-.3-2.2-.4-4.3-.4-8.6%201.4-11.3%204.9%200%200%200%20.1-.1.1-.3.3-.5.7-.7%201.1-.3.6-.6%201.1-.8%201.6-.8%201.8-2.1%203.2-3.9%204-1.6.7-2%20.7-2.1.7-.8.1-1.5.5-2%201.2-.4.7-.5%201.5-.2%202.3C1.3%2024.7%203%2026.9%205.3%2029l1.8%201.5c-.3.3-.5.6-.8%201-1.5%202.5-.7%205.7%201.7%207.2.8.5%201.8.8%202.7.8%201.8%200%203.5-.9%204.5-2.5.2-.3.4-.7.5-1.1.5.2%201%20.5%201.5.6%202.8%201.1%205.4%201.7%208%201.7h1.2c.8%200%201.5-.5%201.9-1.2.4-.7.5-1.6.2-2.3%200-.1-.2-.5-.3-2.2-.1-1.9.5-3.7%201.7-5.1l.1-.2c.4-.5.7-.9%201-1.4l.6-1.2v-.1c2-4.2%201.5-9.1-1.2-12.9-.3-.4-.6-.8-1-1.2C31%2010.1%2032.2%209.3%2033%208zM13.6%2036c-.6%201-1.6%201.5-2.8%201.5-.6%200-1.2-.2-1.7-.5-1.5-.9-2-2.9-1.1-4.5.2-.3.4-.6.7-.8.8.6%201.6%201.1%202.6%201.7.7.4%201.4.8%202%201.2.2.1.4.2.7.3-.1.4-.2.8-.4%201.1zm16.3-12.3c-.2.4-.3.7-.5%201-.2.4-.5.8-.9%201.2l-.1.1c-1%201.2-1.7%202.7-2%204.2-.1%200-.1.1-.2.1-1.6.4-11-2.6-16.2-8.9-.3-.4-1-.5-1.4-.1-.4.3-.5%201-.1%201.4%205%206.1%2014%209.7%2017.5%209.7h.3v.1c.1%201.9.3%202.6.5%202.9.1.2%200%20.4%200%20.5%200%20.1-.2.2-.4.2-2.7.2-5.3-.3-8.3-1.5-.8-.3-1.6-.7-2.5-1.1-1-.5-2.1-1.1-3.2-1.8s-2.1-1.3-3-2c-.9-.7-1.8-1.4-2.7-2.2-2.1-1.9-3.6-4-4.6-6.2-.1-.2%200-.4%200-.4%200-.1.2-.2.4-.2s.8-.1%202.8-.9c2.2-1%204-2.8%205-5%20.2-.4.4-.8.7-1.3.2-.3.4-.5.6-.8%200%200%200-.1.1-.1%202.2-2.9%205.9-4.5%209.6-4.1%201.6.2%203.2.7%204.6%201.6%201.2.8%202.3%201.7%203.1%202.9%202.2%203%202.6%207.1.9%2010.7zM31.3%207c-.6%201-1.6%201.5-2.8%201.5-.6%200-1.2-.2-1.7-.5-1.5-.9-2-2.9-1.1-4.5.6-1%201.6-1.5%202.8-1.5.6%200%201.2.2%201.7.5.7.5%201.3%201.2%201.5%202%20.2.8.1%201.7-.4%202.5z%22/%3E%3Cpath%20d=%22M22.8%2011.3c-.2.5-.7.8-1.2.7-.1%200-4.2-.7-8.8%208.5-.1.3-.5.5-.8.5-.2%200-.3%200-.4-.1-.5-.2-.7-.9-.5-1.3%205.5-10.9%2010.8-9.6%2011-9.5.6.1.9.7.7%201.2z%22/%3E%3C/svg%3E");
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
code {
|
|
67
|
-
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
|
|
68
|
-
padding: 0.5px 5px 2px;
|
|
69
|
-
border-radius: 5px;
|
|
70
|
-
background: #f4f6f8;
|
|
71
|
-
border: 1px solid #c4cdd5;
|
|
72
|
-
overflow-wrap: break-word;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
h1 code, h2 code, h3 code, .on-this-page code {
|
|
76
|
-
background-color: transparent;
|
|
77
|
-
border: none;
|
|
78
|
-
padding: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
#PageContainer {
|
|
82
|
-
overflow: visible;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
#Content {
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#SidebarNav {
|
|
89
|
-
padding-top: 30px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@media screen and (min-width: 46.875em) {
|
|
93
|
-
#SidebarNav {
|
|
94
|
-
position: -webkit-sticky;
|
|
95
|
-
position: -moz-sticky;
|
|
96
|
-
position: -ms-sticky;
|
|
97
|
-
position: -o-sticky;
|
|
98
|
-
position: sticky;
|
|
99
|
-
top: 0;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
#SidebarNav .is-active {
|
|
104
|
-
font-weight: 700;
|
|
105
|
-
border-color: #212326;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.marketing-nav__logo__shopify {
|
|
109
|
-
width: 214px;
|
|
110
|
-
height: 32px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.in-page-menu li > ul {
|
|
114
|
-
margin-left: 30px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.in-page-menu li ul a {
|
|
118
|
-
border-left: 0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.link--external {
|
|
122
|
-
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2020%2020%22%3E%3Cstyle%20type=%22text/css%22%3Ecircle,%20ellipse,%20line,%20path,%20polygon,%20polyline,%20rect,%20text%20%7B%20fill:%20rgb(92,%20106,%20196)%20!important;%20%7D%3C/style%3E%3Cpath%20d=%22M17%202c.553%200%201%20.448%201%201v5c0%20.552-.447%201-1%201s-1-.448-1-1V5.414l-7.293%207.293c-.195.195-.45.293-.707.293s-.512-.098-.707-.293c-.39-.39-.39-1.023%200-1.414L14.586%204H12c-.553%200-1-.448-1-1s.447-1%201-1h5zm-4%209c.553%200%201%20.448%201%201v5c0%20.552-.447%201-1%201H3c-.553%200-1-.448-1-1V7c0-.552.447-1%201-1h5c.553%200%201%20.448%201%201s-.447%201-1%201H4v8h8v-4c0-.552.447-1%201-1z%22/%3E%3C/svg%3E%0A");
|
|
123
|
-
background-position: right center;
|
|
124
|
-
background-repeat: no-repeat;
|
|
125
|
-
background-size: 16px 16px;
|
|
126
|
-
padding-right: 18px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.footer-nav {
|
|
130
|
-
margin-bottom: 0;
|
|
131
|
-
border-bottom: 0;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/* Code highlights */
|
|
135
|
-
|
|
136
|
-
div.highlight {
|
|
137
|
-
color: #ffffff;
|
|
138
|
-
background-color: #000639;
|
|
139
|
-
border-radius: 5px;
|
|
140
|
-
margin-bottom: 15px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
pre.highlight {
|
|
144
|
-
font-size: 1em;
|
|
145
|
-
white-space: pre-wrap;
|
|
146
|
-
margin: 0;
|
|
147
|
-
overflow-x: auto;
|
|
148
|
-
text-align: left;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.highlight code {
|
|
152
|
-
display: block;
|
|
153
|
-
padding: 15px 0 15px 20px;
|
|
154
|
-
background: none;
|
|
155
|
-
border: none;
|
|
156
|
-
white-space: pre;
|
|
157
|
-
}
|