-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "DEV: Migrate custom header links to new objects setting type (#…
- Loading branch information
1 parent
7374793
commit a178fdd
Showing
8 changed files
with
32 additions
and
204 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,5 @@ | ||
en: | ||
theme_metadata: | ||
settings: | ||
custom_header_links: "Comma delimited in this order: link text, link title, URL, view, target, hide on scroll<br><b>Link text:</b> The text for the link<br><b>Link title:</b> the text that shows when the link is hovered<br><b>URL:</b> The path for the link (can be relative)<br><b>View:</b> vdm = desktop and mobile, vdo = desktop only, vmo = mobile only<br><b>Target:</b> blank = opens in a new tab, self = opens in the same tab<br><b>Hide on scroll:</b> remove = hides the link when the title is expanded on topic pages keep = keeps the link visible even when the title is visible on topic pages<br><b>Language:</b> blank = no locale assoaciated to the link, else insert a locale code (en, fr, de, ...)" | ||
links_position: "Note that when links are displayed on the left, they're automatically hidden while scrolling within topics to make room for the title" | ||
custom_header_links: | ||
description: Custom links to be displayed in the header | ||
schema: | ||
properties: | ||
text: | ||
label: Text | ||
description: The text for the link | ||
title: | ||
label: Title | ||
description: The title attribute for the link | ||
url: | ||
label: URL | ||
description: The URL for the link | ||
view: | ||
label: View | ||
description: | | ||
vdm = desktop and mobile | ||
vdo = desktop only | ||
vmo = mobile only | ||
target: | ||
label: Target | ||
description: | | ||
blank = opens in a new tab | ||
self = opens in the same tab | ||
hide_on_scroll: | ||
label: Hide on scroll | ||
description: | | ||
remove = hides the link when the title is expanded on topic pages | ||
keep = keeps the link visible even when the title is visible on topic pages | ||
locale: | ||
label: Locale | ||
description: The locale in which the link should be displayed on. The link will be displayed on all locales if left blank. |
This file was deleted.
Oops, something went wrong.
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
52 changes: 0 additions & 52 deletions
52
test/unit/migrations/settings/0002-migrate-custom-header-links-test.js
This file was deleted.
Oops, something went wrong.