algolia / algolia/jekyll-algolia

Question: Is it possible to index items nested within a data file subfolder?

Open
#144 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
211
Forks
35
PR merge metrics
No merged PRs in 30d

Description

## How can I index items in a data file subfolder?

For example, using an example from the Jekyll docs, how would I index members specified in `_data/orgs/jekyll.yml` like below?

```
username: jekyll
name: Jekyll
members:
- name: Tom Preston-Werner
github: mojombo

- name: Parker Moore
github: parkr
```

I can't remove the nesting.

### Ruby version used:
2.6.3p62

### Jekyll version used:
4.0.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the example with _data/orgs/jekyll.yml and inspect how Jekyll data files are discovered and indexed. Confirm whether the nested members entries are omitted, then define done as making those members searchable without removing the data nesting.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll, ruby
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.