Skip to content

Search rake produce incorrect file #488

@runette

Description

@runette

Describe the bug

I have a site. It is working.

However - when I try to create the search index using the command

bundle exec just-the-docs rake search:init

The command works and reports success but running the site locally - I get the following error from jekyll serve

Liquid Warning: Liquid syntax error (line 3): 
[:pipe, "|"] is not a valid expression in "{{| split: }}" in assets/js/zzzz-search-data.json

Expected behavior

I was expecting the command from the installation instructions would successfully create a valid search index

Desktop (please complete the following information):

  • Mac
  • Running locally using github-pages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions