Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on importers is not helpful #464

Open
ashmaroli opened this issue Feb 2, 2022 · 2 comments
Open

Documentation on importers is not helpful #464

ashmaroli opened this issue Feb 2, 2022 · 2 comments
Labels

Comments

@ashmaroli
Copy link
Member

The importer-specific page directs the visitor to run a Ruby script instead of using the CLI provided by the plugin.
For example, the documentation for importing a wordpress.com site directs the visitor to run:

$ ruby -r rubygems -e 'require "jekyll-import";
    JekyllImport::Importers::WordpressDotCom.run({
      "source" => "wordpress.xml",
      "no_fetch_images" => false,
      "assets_folder" => "assets"
    })'

instead of

jekyll import wordpressdotcom
@parkr
Copy link
Member

parkr commented Feb 2, 2022

There is a lot of cruft in this project that has accumulated over time. I think the reason we went this route originally was because the "jekyll import" subcommand was unreliable (jekyll needs to require jekyll-import for the subcommand to exist). So we went this less optimal route.

@jekyllbot

This comment was marked as off-topic.

@jekyllbot jekyllbot added the stale label Apr 2, 2022
@ashmaroli ashmaroli added pinned and removed stale labels Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants