Coder Social home page Coder Social logo

Comments (3)

pixelastic avatar pixelastic commented on August 21, 2024

Could you check the latest develop and let me know if you like the output better? I added a stand by message when stuff was actually pushed, and added a "Nothing to index" message if your content is already up to date.

As for errors, I would rather only display the standby message when we actually start pushing things to the API. The error you are getting is early than that, when trying to get a list of the content already in the index. It's not technically pushing records, but reading them.

from jekyll-algolia.

ashmaroli avatar ashmaroli commented on August 21, 2024

The standby message just before pushing looks good for now. So technically, this request ticket has been resolved.. but..
in non-verbose mode, there's a period of silence between the reading of config file and outputting the above standby message, when nothing is output to the terminal.

So, i'd like to extend this feature request for more standby messages:

$ bundle exec jekyll algolia
Configuration file: [file-path]
           Algolia: Processing site...
                    Extracting records...
                    Found 9 files
                    Pushing records to Algolia...
                    Pushing 50 records
                    ✔ Indexing complete

I would also like to point out that the current set of messages differ between normal mode and verbose mode. I expected to see info level messages in both normal mode and verbose mode..

from jekyll-algolia.

pixelastic avatar pixelastic commented on August 21, 2024

The period of silence is actually Jekyll building the website (converting markdown to HTML, applying layout, etc). I've added logs for 'Processing site...' and 'Extracting records...'

It's pushed to develop. I'll release a new version of the gem shortly

Also, info level messages should be displayed in both modes. But because the --verbose flags also triggers the verbose of Jekyll itself it's possible you didn't see the message in the output.

from jekyll-algolia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.