forked from magento/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build all navigations from _data/*.yml
Converts footer links to the .yml data
- Loading branch information
Showing
5 changed files
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- label: Become a Contributor | ||
url: https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md | ||
|
||
- label: Glossary | ||
url: https://magento.github.io/glossary/index.html?audience=developer | ||
|
||
- label: Privacy Policy | ||
url: https://magento.com/legal/terms/privacy/ | ||
|
||
- label: Terms of Service | ||
url: https://magento.com/legal/terms/ | ||
|
||
- label: License/Trademark FAQ | ||
url: https://magento.com/legal/licensing/ | ||
|
||
- label: Release Notes | ||
url: /release-notes/bk-release-notes.html | ||
|
||
- label: Third-Party Licenses | ||
url: /magento-third-party.html | ||
versionless: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
{% assign items = site.data.footer-links %} | ||
|
||
<ul class="nav footer-links"> | ||
<li><a href="https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md">Become a Contributor</a> | ||
<li><a href="https://magento.github.io/glossary/index.html?audience=developer">Glossary</a></li> | ||
<li><a href="http://magento.com/legal/terms/privacy/">Privacy Policy</a></li> | ||
<li><a href="http://magento.com/legal/terms/">Terms of Service</a></li> | ||
<li><a href="http://magento.com/legal/licensing/">License/Trademark FAQ</a></li> | ||
<!-- If the page is in the root, the link points to the default version of release notes. | ||
The default version is set in the config.yaml. | ||
{%- capture release-notes -%} | ||
{%- unless page.baseurl == empty -%} | ||
{{page.baseurl}}/release-notes/bk-release-notes.html | ||
{%- else -%} | ||
/guides/v{{ site.version }}/release-notes/bk-release-notes.html | ||
{%- endunless -%} | ||
{%- endcapture -%} | ||
--> | ||
<li><a href="{{release-notes}}">Release Notes</a></li> | ||
<li><a href="{{ site.baseurl }}/magento-third-party.html">Third-Party Licenses</a></li> | ||
{% for item in items %} | ||
{% include layout/nav-item.html section=item %} | ||
{% endfor %} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters