You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/05/25 18:49:30 UTC

[solr] branch main updated: SOLR-16214: Fix refGuide usage of lunr (#878)

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 4476b88775b SOLR-16214: Fix refGuide usage of lunr (#878)
4476b88775b is described below

commit 4476b88775b0d29ba6e7293e499fefdd72a8e1c0
Author: Houston Putman <ho...@apache.org>
AuthorDate: Wed May 25 14:49:27 2022 -0400

    SOLR-16214: Fix refGuide usage of lunr (#878)
    
    Remove the use of supplemental-ui, as it's no longer necessary
    with the lunr-extension.
---
 solr/solr-ref-guide/build.gradle          | 2 --
 solr/solr-ref-guide/playbook.template.yml | 1 -
 2 files changed, 3 deletions(-)

diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle
index 54d9eef0e53..f44d3583527 100644
--- a/solr/solr-ref-guide/build.gradle
+++ b/solr/solr-ref-guide/build.gradle
@@ -148,7 +148,6 @@ task buildLocalAntoraPlaybookYaml(type: Copy) {
         'source_url'         : project.rootDir,
         'source_branches'    : "HEAD",
         'start_path'         : project.rootDir.relativePath(file(project.ext.siteStagingDir)),
-        'supplemental_files' : "${project.ext.nodeProjectDir}/node_modules/@antora/lunr-extension/supplemental_ui",
         'site_dir'           : "./" + file(project.ext.siteStagingDir).relativePath(file(project.ext.siteDir)),
     ]
 
@@ -180,7 +179,6 @@ task buildOfficialAntoraPlaybookYaml(type: Copy) {
         'source_url'         : "https://github.com/apache/solr.git",
         'source_branches'    : branches,
         'start_path'         : 'solr/solr-ref-guide',
-        'supplemental_files' : "${project.ext.nodeProjectDir}/node_modules/@antora/lunr-extension/supplemental_ui",
         'site_dir'           : "./" + file(project.ext.playbooksDir).relativePath(file(project.ext.siteDir)),
     ]
 
diff --git a/solr/solr-ref-guide/playbook.template.yml b/solr/solr-ref-guide/playbook.template.yml
index bf750a24c3f..3b120a1c681 100644
--- a/solr/solr-ref-guide/playbook.template.yml
+++ b/solr/solr-ref-guide/playbook.template.yml
@@ -38,7 +38,6 @@ ui:
   bundle:
     url: 'https://nightlies.apache.org/solr/solr-reference-guide-ui-bundle/ui-bundle.zip'
     snapshot: true
-  supplemental_files: '${supplemental_files}'
 output:
   clean: true
   dir: '${site_dir}'