@blackbaud/skyux-builder-stache-search
This script is used to scrape Stache 2 sites and consolidate the content into a JSON blob for indexing.
Last updated 10 months ago by blackbaud .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @blackbaud/skyux-builder-stache-search 
SYNC missed versions from official npm registry.

Stache Search

npm status

These commands create the assets required to scrape a Stache SKYUX SPA and publish the resulting JSON blob to an Azure Search Service Index.

Installation

npm install --save-dev @blackbaud/skyux-builder-stache-search

Usage

Add searchConfig to the stache object in your skyuxconfig.json file's appSettings in order to configure variables for the search commands. All of these are configured by default:

"appSettings": {
  "stache": {
    "searchConfig": {
      "allowSiteToBeSearched": true,
      "is_internal": true,
      "site_names": ['stache2'],
      "is_globally_searchable": true
    }
  }
}

allowSiteToBeSearched

This setting determines if a site should be searched or not. The default is true. Setting this to false short circuits the commands during the build and release process, preventing the site from being scraped and the results published.

is_internal

This setting indicates whether a Stache site is internal only or not. The default is true. If set to false, the site's search contents will be available via the public endpoint for non-Blackbaud employees to view.

site_names

This setting determines which Stache sites should be included in the search results. The default is only the site you are currently on. If you add other site names to the array, it will add those sites' contents to the searchable content.

is_globally_searchable

This setting determines whether the site will be included on the global search page. The default is set true, allowing your sites content to appear on the global stache search. If set to false, your site content will only be searchable when queried directly.

Found an issue?

Please log all issues related to Stache (and its plugins) at blackbaud/stache2.

Current Tags

  • 2.1.0                                ...           latest (10 months ago)

19 Versions

  • 2.1.0                                ...           10 months ago
  • 2.0.0                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.4                                ...           2 years ago
  • 1.4.3                                ...           2 years ago
  • 1.4.2                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 19
Last Day 0
Last Week 19
Last Month 2
Dependencies (4)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |