You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dmitry Shevtsov edited this page May 19, 2021
·
1 revision
{{ site.devdocs_url }}
When you refer to https://devdocs.magento.com, use a variable {{ site.devdocs_url }} as a substitute for the domain name.
Example
For https://devdocs.magento.com/cloud/architecture/starter-architecture.html,
use {{ site.devdocs_url }}/cloud/architecture/starter-architecture.html
{{ site.version }}
When you refer to a versioned link, and you want that link to always refer to the latest docs, use {{ site.version }} as a substitute for the version number.
Example
For https://devdocs.magento.com/guides/v2.4/pattern-library/general/accessibilityguideline/accessibilityGuideline.html,
use {{ site.devdocs_url }}/guides/v{{ site.version }}/pattern-library/general/accessibilityguideline/accessibilityGuideline.html