Gathering detailed insights and metrics for @eastuni/antora-site-generator-lunr-ko
Gathering detailed insights and metrics for @eastuni/antora-site-generator-lunr-ko
Gathering detailed insights and metrics for @eastuni/antora-site-generator-lunr-ko
Gathering detailed insights and metrics for @eastuni/antora-site-generator-lunr-ko
An Antora's site generator that produces a Lunr index
npm install @eastuni/antora-site-generator-lunr-ko
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (93.85%)
Dockerfile (6.15%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
212 Commits
1 Branches
1 Contributors
Updated on May 03, 2021
Latest Version
0.6.3
Package Id
@eastuni/antora-site-generator-lunr-ko@0.6.3
Unpacked Size
9.50 kB
Size
3.54 kB
File Count
5
NPM Version
6.14.12
Node Version
14.16.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
12
17
2021-05-03 add language ko
==============
This site generator is a copy of the default site generator that in addition produces a Lunr index that can be used in your documentation UI. Lunr provides a great search experience in your documentation site without the need for external, server-side, search services.
Antora is a modular static site generator designed for creating documentation sites from AsciiDoc documents. Its site generator pipeline aggregates documents from versioned content repositories and processes them using Asciidoctor.
Install the site generator. Open a terminal and type:
$ npm i -g antora-site-generator-lunr
When generating your documentation site, use the --generator
option:
$ DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr NODE_PATH="$(npm -g root)" antora --generator antora-site-generator-lunr site.yml
NOTE: The NODE_PATH
assignment is necessary to ensure Antora can locate node modules install globally.
Depending on your environment, you may find that this assignment is unnecessary.
If you've installed Antora globally using Yarn, you may need to add "$(yarn global dir)/node_modules"
to the NODE_PATH
environment variable instead.
Please read the documentation to enable the search component in your documentation UI.
The Docker image is built upon the Antora's official Docker image and should be used as a replacement. For example, instead of running:
$ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t antora/antora:2.3.4 antora-playbook.yml
You will run:
$ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t ggrossetie/antora-lunr antora-playbook.yml
The image sets DOCSEARCH_ENABLED=true
and DOCSEARCH_ENGINE=lunr
environment variables.
When executing docker run
, you can overwrite any variable defined in the image.
For example:
$ docker run --env DOCSEARCH_ENABLED=false # ...
Moreover, the site generator is automatically configured on the antora
command (i.e. --generator antora-site-generator-lunr
).
When installing this generator globally (i.e., npm i -g
), it also installs a private copy of Antora (minus the CLI).
Thus, to upgrade the copy of Antora this site generator uses, you need to reinstall this package.
Upgrading Antora alone isn't sufficient.
To upgrade this site generator and Antora, open a terminal and type the following commands:
$ npm uninstall -g antora-site-generator-lunr @antora/cli @antora/site-generator-default
$ npm i -g antora-site-generator-lunr @antora/cli @antora/site-generator-default
These commands ensure you have the latest version of both the site generator and Antora regardless of whether you're using this site generator.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More