jekyll-algolia

Add fast and relevant search to your Jekyll site

  • 所有者: algolia/jekyll-algolia
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Jekyll Algolia Plugin

gem version
ruby
jekyll
build master
build develop
coverage master

Add fast and relevant search to your Jekyll site.

Usage

$ bundle exec jekyll algolia

This will push the content of your Jekyll website to your Algolia index.

Documentation

Full documentation can be found on
https://community.algolia.com/jekyll-algolia/

Installation

The plugin requires at least Jekyll 3.6.0 and Ruby 2.3.0.

First, add the jekyll-algolia gem to your Gemfile, in the :jekyll_plugins
section.

# Gemfile

group :jekyll_plugins do
  gem 'jekyll-algolia', '~> 1.0'
end

Once this is done, download all dependencies with bundle install.

Basic configuration

You need to provide certain Algolia credentials for this plugin to index your
site.

If you don't yet have an Algolia account, we suggest that you open a free
Community plan here. You can find more information about the Algolia plans
in our FAQ.

Once signed in, you should get your application ID from your dashboard and
define it inside your _config.yml file like this:

# _config.yml

algolia:
  application_id: 'your_application_id'

Run it

Once your application ID is setup, you can run the indexing by running the
following command:

ALGOLIA_API_KEY='your_admin_api_key' bundle exec jekyll algolia

Note that ALGOLIA_API_KEY should be set to your admin API key.

More about the Community plan

The Algolia Community plan lets you host up to 10k records and perform up
to 100k add/edit/delete operations per month (search operations are free). The
plan is entirely free, with no time limit.

What we ask in exchange is that you display a "Search by Algolia" logo next to
your search results. Our InstantSearch libraries have a simple boolean
option to toggle that on an off. If you want more flexibility, you can find
all versions of our logo here.

If you need more information about the other Algolia plans, you can check our
FAQ
.

Thanks

Thanks to Anatoliy Yastreb for a great tutorial on creating Jekyll
plugins.

主要指標

概覽
名稱與所有者algolia/jekyll-algolia
主編程語言Ruby
編程語言Ruby (語言數: 8)
平台
許可證MIT License
所有者活动
創建於2017-11-07 15:01:04
推送於2023-10-27 00:29:04
最后一次提交2023-03-23 13:38:19
發布數37
最新版本名稱1.7.1 (發布於 2021-05-31 14:18:05)
第一版名稱0.0.1 (發布於 2017-12-21 18:40:07)
用户参与
星數216
關注者數62
派生數36
提交數622
已啟用問題?
問題數136
打開的問題數34
拉請求數23
打開的拉請求數4
關閉的拉請求數37
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?