Skip to content

Commit a38c210

Browse files
committed
feat: Add lunr extension to enable search
Fixes #17
1 parent 365501b commit a38c210

File tree

5 files changed

+73
-1
lines changed

5 files changed

+73
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ target/
1010
.project
1111
tmp/
1212
.DS_Store
13-
package.json
1413
package-lock.json
1514
node_modules
1615

antora-playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ asciidoc:
2222
antora:
2323
extensions:
2424
- ./extensions/edit-url/extension
25+
- '@antora/lunr-extension'

antora-ui-default/package.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "@antora/ui-default",
3+
"description": "An archetype project that produces a UI for creating documentation sites with Antora",
4+
"homepage": "https://gitlab.com/antora/antora-ui-default",
5+
"license": "MPL-2.0",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://gitlab.com/antora/antora-ui-default.git"
9+
},
10+
"engines": {
11+
"node": ">= 8.0.0"
12+
},
13+
"browserslist": [
14+
"last 2 versions"
15+
],
16+
"devDependencies": {
17+
"@asciidoctor/core": "~2.2",
18+
"@fontsource/roboto": "~4.5",
19+
"@fontsource/roboto-mono": "~4.5",
20+
"@vscode/gulp-vinyl-zip": "~2.5",
21+
"autoprefixer": "~9.7",
22+
"browser-pack-flat": "~3.4",
23+
"browserify": "~16.5",
24+
"cssnano": "~4.1",
25+
"eslint": "~6.8",
26+
"eslint-config-standard": "~14.1",
27+
"eslint-plugin-import": "~2.20",
28+
"eslint-plugin-node": "~11.1",
29+
"eslint-plugin-promise": "~4.2",
30+
"eslint-plugin-standard": "~4.0",
31+
"fancy-log": "~1.3",
32+
"fs-extra": "~8.1",
33+
"gulp": "~4.0",
34+
"gulp-concat": "~2.6",
35+
"gulp-connect": "~5.7",
36+
"gulp-eslint": "~6.0",
37+
"gulp-imagemin": "~6.2",
38+
"gulp-postcss": "~8.0",
39+
"gulp-stylelint": "~13.0",
40+
"gulp-uglify": "~3.0",
41+
"handlebars": "~4.7",
42+
"highlight.js": "9.18.3",
43+
"js-yaml": "~3.13",
44+
"merge-stream": "~2.0",
45+
"postcss-calc": "~7.0",
46+
"postcss-custom-properties": "~9.1",
47+
"postcss-import": "~12.0",
48+
"postcss-url": "~8.0",
49+
"prettier-eslint": "~9.0",
50+
"require-directory": "~2.1",
51+
"require-from-string": "~2.0",
52+
"stylelint": "~13.3",
53+
"stylelint-config-standard": "~20.0",
54+
"vinyl-fs": "~3.0"
55+
},
56+
"dependencies": {
57+
"prismjs": "^1.29.0"
58+
}
59+
}

local-playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ asciidoc:
2222
antora:
2323
extensions:
2424
- ./extensions/edit-url/extension
25+
- '@antora/lunr-extension'

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"devDependencies": {
3+
"@antora/cli": "3.1.2",
4+
"@antora/site-generator": "3.1.2"
5+
},
6+
"dependencies": {
7+
"@antora/lunr-extension": "^1.0.0-alpha.8",
8+
"antora": "^3.1.9",
9+
"prism": "^1.0.0",
10+
"prismjs": "^1.29.0"
11+
}
12+
}

0 commit comments

Comments
 (0)