Git Product home page Git Product logo

Comments (1)

ggrossetie avatar ggrossetie commented on May 30, 2024

Thanks, I followed the README and got lunr integrated on my Antora 2.0 development setup.

Well done 🚀

This is now site/search_index.json.

Actually it depends on your configuration.
If your configuration is:

output:
  dir: ./public

Then I'm right 😉
But I agree we should probably, say "an index file should be created at the root of your output directory". We could go one step further and explain that the output directory is configured in the playbook with the output.dir key ?

Something like "Use the following URL..." would be clearer.

👍

I couldn't make any progress when attempting to use a file:// reference.

Technically it can work if you disable web security and allow file access from the file protocol. But we should probably rephrase.
Having said that I need to do some testings to see if we can get it work without a local web server (and without running the browser with additional flags).

Please feel free to open a pull request to clarify the README, I will gladly merge your contribution 😄

from antora-lunr.

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.