Skip to main content

UnsupportedDocTag

The doc tag can only be used within a liquid snippet file.


The following examples contain code snippets that either fail or pass this check.

The following example shows an invalid use of the doc tag:

sections/section.liquid

{% doc %}
@param {string} some_str
{% enddoc %}

The following example shows a valid use of the doc tag with a single parameter:

snippets/snippet.liquid

{% doc %}
@param {string} some_str
{% enddoc %}

The following example contains the default configuration for this check:

UnsupportedDocTag:
enabled: true
severity: error
ParameterDescription
enabledWhether this check is enabled.
severityThe severity of the check.

Anchor to Disabling this checkDisabling this check

Disabling this check isn't recommended.


Was this page helpful?