Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Page Builder migration docs release (#4381)
Browse files Browse the repository at this point in the history
* MAGEDOC-3442: Edit migrate from bluefoot topic

Adding TOC for migration

* MAGEDOC-3442: Edit migrate from bluefoot topic

Adding TOC for migration

* Use single-level path for TOC and add scope for migration

* Use the same group for migration as normal PB docs

* Updated tooling to inlcude PB migration repo

* MAGEDOC-3442: Migration from BlueFoot documentation

WIP TOC updates and beginning edits

* MAGEDOC-3442: Migration from BlueFoot documentation

WIP TOC updates and beginning edits

* Updating migration TOC to use index.html

* MAGEDOC-3442: Page Builder migration docs release to production

* Update Docfile.yml

Added new line

Co-Authored-By: bdenham <bdenham@adobe.com>

* MAGEDOC-3442: Page Builder migration docs release to production

Added pbm to subrepos

* MAGEDOC-3755: Fix configuration docs

Changed migration repo from the fork to the mainline

* Removed migration module banner message from Page Builder docs

* Reset migration repo back to magento-devdocs in Docfile

* Updated Page Builder toc to remove index.html from index link
  • Loading branch information
bdenham authored May 2, 2019
1 parent 31ea796 commit 0b2ee96
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Docfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ content_map:
repository: magento-devdocs/magento2-page-builder
branch: develop
filter: true
-
directory: page-builder-migration
repository: magento-devdocs/magento2-page-builder-data-migration
branch: 1.0.0-release
filter: true

8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ defaults:
github_link: false
feedback_link: false

-
scope:
path: page-builder-migration
values:
group: page-builder
github_link: false
feedback_link: false

-
scope:
path: guides/v2.3/mrg
Expand Down
28 changes: 28 additions & 0 deletions _data/toc/page-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,34 @@ pages:
url: /page-builder/docs/how-to/how-to-deactivate-pagebuilder.html
versionless: true

- label: BlueFoot content migration
versionless: true
children:

- label: Overview of content migration
url: /page-builder-migration/docs/
versionless: true

- label: Install the migration module
url: /page-builder-migration/docs/install-migration-module.html
versionless: true

- label: Run the migration module
url: /page-builder-migration/docs/run-migration-module.html
versionless: true

- label: How content migration works
url: /page-builder-migration/docs/how-content-migration-works.html
versionless: true

- label: Migrate content from custom blocks
url: /page-builder-migration/docs/migrate-content-custom-blocks.html
versionless: true

- label: Migrate other BlueFoot content
url: /page-builder-migration/docs/migrate-other-bluefoot-content.html
versionless: true

- label: Reference
versionless: true
children:
Expand Down
6 changes: 0 additions & 6 deletions _includes/layout/after-site-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@
This is the pre-release version of Amazon Sales Channel documentation. Content in this version is subject to change.
</div>
{% endif %}

{% if page.group == "page-builder" %}
<div class="message-banner">
The module for migrating BlueFoot content to Page Builder is not yet available. Stay tuned for more information.
</div>
{% endif %}
12 changes: 11 additions & 1 deletion rakelib/update.rake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ namespace :update do
end
end

desc 'Update Page Builder Migration docs'
task :pbm do
puts 'Updating Page Builder Migration docs'.magenta
abort 'Cannot find the "page-builder-migration" directory' unless Dir.exist? 'page-builder-migration'
Dir.chdir 'page-builder-migration' do
sh 'git remote -v'
sh 'git pull'
end
end

desc 'Update MFTF docs'
task :mftf do
puts 'Updating MFTF docs:'.magenta
Expand Down Expand Up @@ -78,5 +88,5 @@ namespace :update do
task all: %w[devdocs subrepos]

desc 'Update subrepositories only'
task subrepos: %w[m1 mbi pb mftf v2_0]
task subrepos: %w[m1 mbi pb pbm mftf v2_0]
end

0 comments on commit 0b2ee96

Please sign in to comment.