diff --git a/.gitignore b/.gitignore index ab03be3cad..2a37a404eb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ tools/php-cs-fixer/vendor node_modules/ .yarn yarn.lock +docs/css/*.map diff --git a/docs/ai_actions/ai_actions.md b/docs/ai_actions/ai_actions.md index 3009b638f8..957a2ea0fc 100644 --- a/docs/ai_actions/ai_actions.md +++ b/docs/ai_actions/ai_actions.md @@ -1,6 +1,7 @@ --- description: AI Actions help editors by automating repetitive tasks. page_type: landing_page +edition: lts-update month_change: false --- diff --git a/docs/ai_actions/ai_actions_guide.md b/docs/ai_actions/ai_actions_guide.md index 493e9c7634..efaf7cda18 100644 --- a/docs/ai_actions/ai_actions_guide.md +++ b/docs/ai_actions/ai_actions_guide.md @@ -1,5 +1,6 @@ --- description: AI Actions LTS update helps editors by automating repetitive tasks. +edition: lts-update month_change: true --- diff --git a/docs/ai_actions/extend_ai_actions.md b/docs/ai_actions/extend_ai_actions.md index f3d87e2e44..d1ecfe397c 100644 --- a/docs/ai_actions/extend_ai_actions.md +++ b/docs/ai_actions/extend_ai_actions.md @@ -1,5 +1,6 @@ --- description: Extend AI Actions by connecting to other services and adding new capabilities. +edition: lts-update month_change: false --- diff --git a/docs/ai_actions/install_ai_actions.md b/docs/ai_actions/install_ai_actions.md index b93be2c94e..cf6729d889 100644 --- a/docs/ai_actions/install_ai_actions.md +++ b/docs/ai_actions/install_ai_actions.md @@ -1,5 +1,6 @@ --- description: Install the AI Actions LTS update. +edition: lts-update month_change: true --- diff --git a/docs/api/event_reference/ai_action_events.md b/docs/api/event_reference/ai_action_events.md index 97a520aab8..f8e0d9857d 100644 --- a/docs/api/event_reference/ai_action_events.md +++ b/docs/api/event_reference/ai_action_events.md @@ -1,6 +1,7 @@ --- description: Events that are triggered when working with AI actions. page_type: reference +edition: lts-update month_change: false --- diff --git a/docs/api/php_api/php_api_reference/css/base.css b/docs/api/php_api/php_api_reference/css/base.css index f0ffe3fbf0..de648e4b76 100644 --- a/docs/api/php_api/php_api_reference/css/base.css +++ b/docs/api/php_api/php_api_reference/css/base.css @@ -199,7 +199,8 @@ html{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:n --mid-grey: rgb(201,201,208); --dark-grey: rgb(151,151,151); - + --color-warning-dark-01: rgb(211,130,43); + --color-primary-main: rgb(163,39,104); --caution-border: var(--ibexa-orange); --note-border: var(--mid-grey); --enterprise-border: var(--ibexa-jazzberry); @@ -700,7 +701,6 @@ div.pills { } .pill { - background-color: var(--ibexa-jazzberry); border-radius: 2.18px; padding: 3px 8px; color: var(--white); @@ -713,7 +713,8 @@ div.pills { } .experience-pill { - background-color: var(--ibexa-orange); + color: var(--color-warning-dark-01); + border: 1px solid var(--color-warning-dark-01); } .commerce-pill::after { @@ -721,7 +722,8 @@ div.pills { } .commerce-pill { - background-color: var(--ibexa-jazzberry); + color: var(--color-primary-main); + border: 1px solid var(--color-primary-main); } .optional-pill::after { @@ -729,7 +731,8 @@ div.pills { } .optional-pill { - background-color: var(--sherpa-blue); + color: var(--sherpa-blue); + border: 1px solid var(--sherpa-blue); } .md-clipboard:focus, .md-clipboard:hover { @@ -1631,21 +1634,6 @@ ul.breadcrumbs li.breadcrumb-item-current span { background-color: transparent; } -.md-typeset .content-header .experience-pill { - color: var(--ibexa-orange); - border: 1px solid var(--ibexa-orange); -} - -.md-typeset .content-header .commerce-pill { - color: var(--ibexa-jazzberry); - border: 1px solid var(--ibexa-jazzberry); -} - -.md-typeset .content-header .optional-pill { - color: var(--sherpa-blue); - border: 1px solid var(--sherpa-blue); -} - .md-typeset .content-header img { display: inline-block; margin-bottom: -2px; diff --git a/docs/api/php_api/php_api_reference/css/template.css b/docs/api/php_api/php_api_reference/css/template.css index 52a917a1eb..a596e870b7 100644 --- a/docs/api/php_api/php_api_reference/css/template.css +++ b/docs/api/php_api/php_api_reference/css/template.css @@ -290,7 +290,8 @@ --mid-grey: rgb(201,201,208); --dark-grey: rgb(151,151,151); - + --color-warning-dark-01: rgb(211,130,43); + --color-primary-main: rgb(163,39,104); --caution-border: var(--ibexa-orange); --note-border: var(--mid-grey); --enterprise-border: var(--ibexa-jazzberry); @@ -791,7 +792,6 @@ div.pills { } .pill { - background-color: var(--ibexa-jazzberry); border-radius: 2.18px; padding: 3px 8px; color: var(--white); @@ -804,7 +804,8 @@ div.pills { } .experience-pill { - background-color: var(--ibexa-orange); + color: var(--color-warning-dark-01); + border: 1px solid var(--color-warning-dark-01); } .commerce-pill::after { @@ -812,7 +813,8 @@ div.pills { } .commerce-pill { - background-color: var(--ibexa-jazzberry); + color: var(--color-primary-main); + border: 1px solid var(--color-primary-main); } .optional-pill::after { @@ -820,7 +822,8 @@ div.pills { } .optional-pill { - background-color: var(--sherpa-blue); + color: var(--sherpa-blue); + border: 1px solid var(--sherpa-blue); } .md-clipboard:focus, .md-clipboard:hover { diff --git a/docs/content_management/data_migration/importing_data.md b/docs/content_management/data_migration/importing_data.md index 55dc32a435..312b888838 100644 --- a/docs/content_management/data_migration/importing_data.md +++ b/docs/content_management/data_migration/importing_data.md @@ -346,7 +346,7 @@ You can also update attributes, including changing which attribute group they be You can't change the attribute type of an existing attribute. -##### Date and time attributes +##### Date and time attributes [[% include 'snippets/lts-update_badge.md' %]] If you're using attributes of the [date and time type](date_and_time.md), you can manage it through the migrations as well, for example: @@ -487,7 +487,7 @@ When updating a content type, use: [[= include_file('code_samples/data_migration/examples/update_tag.yaml') =]] ``` -### AI action configurations +### AI action configurations [[% include 'snippets/lts-update_badge.md' %]] - The following example shows how you can create a new action configuration in your system: diff --git a/docs/css/custom.css b/docs/css/custom.css index c065d35f71..fe9b85528a 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -152,32 +152,41 @@ body { .md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 { color: var(--ibexa-dusk-black); line-height: 1; + display: flex; + align-items: center; + text-align: center; } .md-typeset h1 { margin: 0 0 1rem; - font-size: 34px; + font-size: 24px; + line-height: 34px; } .md-typeset h2 { - font-size: 28px; + font-size: 20px; + line-height: 27px; } .md-typeset h3 { - font-size: 24px; + font-size: 18px; + line-height: 22px; } .md-typeset h4 { - font-size: 22px; + font-size: 16; + line-height: 19px; } .md-typeset h5 { - font-size: 18px; + font-size: 14px; + line-height: 18px; text-transform: none; } .md-typeset h6 { - font-size: 16px; + font-size: 12px; + line-height: 18px; } .md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 { @@ -546,35 +555,6 @@ a.external:not(.card):after { padding: 0; } -div.pills { - float: right; -} - -.pill { - background-color: var(--ibexa-jazzberry); - border-radius: 2.18px; - padding: 3px 8px; - color: var(--white); - font-size: 10px; - font-weight: 500; -} - -.experience-pill::after { - content: "Experience"; -} - -.experience-pill { - background-color: var(--ibexa-orange); -} - -.commerce-pill::after { - content: "Commerce"; -} - -.commerce-pill { - background-color: var(--ibexa-jazzberry); -} - .md-clipboard:focus, .md-clipboard:hover { color: var(--ibexa-jazzberry); } diff --git a/docs/css/navigation.css b/docs/css/navigation.css index a079aa2634..a62f53f0b4 100644 --- a/docs/css/navigation.css +++ b/docs/css/navigation.css @@ -142,13 +142,6 @@ padding-bottom: 0.5rem; } -.md-nav__link .pill.new { - margin-right: 15px; - background-color: #d9e8ff; - color: #3562a0; - text-transform: lowercase; -} - .md-nav__link::after { font-weight: 700; } @@ -302,6 +295,8 @@ padding: 1rem 0.8rem; border-bottom: 1px solid var(--mid-grey); background: white; + display: flex; + align-items: center; } .push { diff --git a/docs/css/pills.css b/docs/css/pills.css new file mode 100644 index 0000000000..67b2c18e30 --- /dev/null +++ b/docs/css/pills.css @@ -0,0 +1,60 @@ +.pill { + font-size: 12px; + font-weight: initial; + line-height: 18px; + padding: 1px 8px; + border: 1px solid; + margin-right: 8px; + color: #A32768; +} +.pill--headless { + color: #C4234A; + border-color: #C4234A; +} +.pill--headless::after { + content: "Headless"; +} +.pill--experience { + color: #D3822B; + border-color: #D3822B; +} +.pill--experience::after { + content: "Experience"; +} +.pill--commerce { + color: #A32768; + border-color: #A32768; +} +.pill--commerce::after { + content: "Commerce"; +} +.pill--lts-update { + color: #5DA7C0; + border-color: #5DA7C0; +} +.pill--lts-update::after { + content: "LTS Update"; +} +.pill--new-feature { + color: #2C9445; + border-color: #2C9445; +} +.pill--new-feature::after { + content: "New feature"; +} +.pill--inline:first-of-type { + margin-left: 8px; +} +.pill--new { + margin-right: 15px; + align-self: center; + color: #d9e8ff; + color: #3562a0; + text-transform: lowercase; +} + +div.pills { + float: right; +} + +/*# sourceMappingURL=pills.css.map */ diff --git a/docs/css/release-notes.css b/docs/css/release-notes.css index 476dc3b908..8663f96563 100644 --- a/docs/css/release-notes.css +++ b/docs/css/release-notes.css @@ -1,28 +1,3 @@ -.release-notes-header h1, -.release-notes h1 { - font-size: 24px; -} -.release-notes-header h2, -.release-notes h2 { - font-size: 20px; -} -.release-notes-header h3, -.release-notes h3 { - font-size: 18px; -} -.release-notes-header h4, -.release-notes h4 { - font-size: 16px; -} -.release-notes-header h5, -.release-notes h5 { - font-size: 14px; -} -.release-notes-header h6, -.release-notes h6 { - font-size: 12px; -} - .release-notes-header { display: flex; justify-content: space-between; @@ -206,32 +181,6 @@ display: flex; padding: 4px 0 8px; } -.release-note__tag { - font-size: 12px; - padding: 1px 8px; - border: 1px solid; - margin-right: 8px; -} -.release-note__tag--headless { - color: #C4234A; - border-color: #C4234A; -} -.release-note__tag--experience { - color: #D3822B; - border-color: #D3822B; -} -.release-note__tag--commerce { - color: #A32768; - border-color: #A32768; -} -.release-note__tag--lts-update { - color: #5DA7C0; - border-color: #5DA7C0; -} -.release-note__tag--new-feature { - color: #2C9445; - border-color: #2C9445; -} .release-note__date { color: #71767C; margin-bottom: 24px; diff --git a/docs/js/custom.js b/docs/js/custom.js index 12a5eceb77..f3d1816b41 100644 --- a/docs/js/custom.js +++ b/docs/js/custom.js @@ -33,7 +33,7 @@ $(document).ready(function() { }); // Add version pill to top of navigation - $('#site-name').append('' + branchName + ''); + $('#site-name').append('' + branchName + ''); $('.rst-current-version.switcher__label').html(branchName); @@ -236,5 +236,5 @@ $(document).ready(function() { }); // Mark higher-level nodes with "New" pill, not only the actual item - $('.pill.new:not([hidden])').parents('.md-nav__item').children('label').children('.pill.new[hidden]').removeAttr('hidden'); + $('.pill--new:not([hidden])').parents('.md-nav__item').children('label').children('.pill--new[hidden]').removeAttr('hidden'); }); diff --git a/docs/js/release-notes.js b/docs/js/release-notes.js index 4fd8675cf0..75a39870dd 100644 --- a/docs/js/release-notes.js +++ b/docs/js/release-notes.js @@ -14,7 +14,7 @@ const visibleItems = visibleItemsContainer.querySelectorAll('.release-notes-filters__visible-item'); const releaseNotesNodes = doc.querySelectorAll('.release-note'); const releaseNotesItems = [...releaseNotesNodes].map((releaseNotesNode) => { - const tagsNodes = releaseNotesNode.querySelectorAll('.release-note__tag'); + const tagsNodes = releaseNotesNode.querySelectorAll('.release-note__tags .pill'); const tagsItems = [...tagsNodes].map((tagNode) => `filter-${tagNode.dataset.filter}`); return { diff --git a/docs/pim/attributes/date_and_time.md b/docs/pim/attributes/date_and_time.md index 30d0e8cfb9..413671c5dc 100644 --- a/docs/pim/attributes/date_and_time.md +++ b/docs/pim/attributes/date_and_time.md @@ -1,5 +1,6 @@ --- description: Date and time attribute type allows you to store product information related to time, like an expiration date or date of manufacturing. +edition: lts-update --- # Date and time attributes diff --git a/docs/search/ai_actions_search_reference/action_configuration_criteria.md b/docs/search/ai_actions_search_reference/action_configuration_criteria.md index e8e83bd9f5..a5046e9ea2 100644 --- a/docs/search/ai_actions_search_reference/action_configuration_criteria.md +++ b/docs/search/ai_actions_search_reference/action_configuration_criteria.md @@ -1,5 +1,6 @@ --- month_change: false +edition: lts-update --- # Action Configuration Search Criterion reference diff --git a/docs/search/ai_actions_search_reference/action_configuration_sort_clauses.md b/docs/search/ai_actions_search_reference/action_configuration_sort_clauses.md index e058a766bb..d83cde7113 100644 --- a/docs/search/ai_actions_search_reference/action_configuration_sort_clauses.md +++ b/docs/search/ai_actions_search_reference/action_configuration_sort_clauses.md @@ -1,5 +1,6 @@ --- month_change: false +edition: lts-update --- # Action Configuration Search Sort Clauses reference diff --git a/docs/search/criteria_reference/datetimeattribute_criterion.md b/docs/search/criteria_reference/datetimeattribute_criterion.md index 15c581cfe4..14abe150cd 100644 --- a/docs/search/criteria_reference/datetimeattribute_criterion.md +++ b/docs/search/criteria_reference/datetimeattribute_criterion.md @@ -1,5 +1,6 @@ --- description: DateTimeAttribute Criterion +edition: lts-update --- # DateTimeAttribute criterion diff --git a/docs/search/criteria_reference/datetimeattributerange_criterion.md b/docs/search/criteria_reference/datetimeattributerange_criterion.md index fd0d628527..72df235edb 100644 --- a/docs/search/criteria_reference/datetimeattributerange_criterion.md +++ b/docs/search/criteria_reference/datetimeattributerange_criterion.md @@ -1,5 +1,6 @@ --- description: DateTimeAttributeRange Criterion +edition: lts-update --- # DateTimeAttributeRange criterion diff --git a/docs/snippets/commerce_badge.md b/docs/snippets/commerce_badge.md index 0aa977a29b..94a50a63cc 100644 --- a/docs/snippets/commerce_badge.md +++ b/docs/snippets/commerce_badge.md @@ -1 +1 @@ - + diff --git a/docs/snippets/experience_badge.md b/docs/snippets/experience_badge.md index df97d86805..642de51538 100644 --- a/docs/snippets/experience_badge.md +++ b/docs/snippets/experience_badge.md @@ -1 +1 @@ - + diff --git a/docs/snippets/lts-update_badge.md b/docs/snippets/lts-update_badge.md new file mode 100644 index 0000000000..3a63215a49 --- /dev/null +++ b/docs/snippets/lts-update_badge.md @@ -0,0 +1 @@ + diff --git a/main.py b/main.py index 0ee534c714..e9042f6265 100644 --- a/main.py +++ b/main.py @@ -172,7 +172,7 @@ def release_note_entry_begin(header : str, date: str, categories : List[str]) -> category_badges = "".join( [ """ -