2017-12-02 02:48:58 +00:00
|
|
|
/* eslint-disable no-unused-vars, camelcase */
|
|
|
|
|
2017-08-28 03:24:24 +00:00
|
|
|
// This is a reference for how conf.priv.js should look.
|
|
|
|
//
|
|
|
|
// Copy this file to a new file named "conf.priv.js" and update
|
|
|
|
// the API keys as needed.
|
|
|
|
//
|
|
|
|
// WARNING: Don't `git commit` your actual "conf.priv.js" file if you
|
|
|
|
// add real API keys to it! Malicious parties frequently scan GitHub for
|
|
|
|
// these keys and use them for bad stuff. The "conf.priv.js" file is already
|
|
|
|
// ignored by .gitignore, but just be safe.
|
|
|
|
|
|
|
|
// These are private API keys which are required for certain search completions.
|
|
|
|
// You can obtain them all for free at the supplied links.
|
2017-12-02 02:48:58 +00:00
|
|
|
const keys = {
|
|
|
|
crunchbase: "", // https://about.crunchbase.com/crunchbase-basic-access/
|
|
|
|
google_cs: "", // https://developers.google.com/custom-search/json-api/v1/overview?hl=en_US
|
|
|
|
google_yt: "", // https://developers.google.com/youtube/v3/docs/
|
|
|
|
wolframalpha: "", // https://products.wolframalpha.com/api/
|
|
|
|
domainr: "", // https://market.mashape.com/domainr/domainr
|
2017-11-17 14:30:47 +00:00
|
|
|
|
2018-03-22 00:08:16 +00:00
|
|
|
//*** Google Custom Search Engines ***//
|
2017-12-02 02:48:58 +00:00
|
|
|
// Can be created at https://cse.google.com/cse
|
|
|
|
// Simply create a separate Custom Search Engine for each of the following entries,
|
2018-03-22 00:05:26 +00:00
|
|
|
// pasting the provided URL string(s) in the "Sites to Search" field.
|
2017-12-02 02:48:58 +00:00
|
|
|
// Then, after creation, go to the control panel for the new Search Engine and copy the
|
|
|
|
// Search Engine ID (cx) into the appropriate configuration variable below:
|
|
|
|
google_cx_ex: "", // hexdocs.pm/*/master/*.html
|
|
|
|
google_cx_af: "", // bbs.archlinux.org/*
|
|
|
|
google_cx_al: "", // www.archlinux.org/packages/*/x86_64/*
|
|
|
|
google_cx_no: "", // nodejs.org/api/*
|
|
|
|
google_cx_cs: "", // chrome.google.com/webstore/*
|
|
|
|
google_cx_jq: "", // api.jquery.com/*
|
2018-03-22 00:05:26 +00:00
|
|
|
google_cx_gg: "", // godoc.org/*, golang.org/pkg/*
|
2017-12-02 02:48:58 +00:00
|
|
|
}
|
2017-11-17 14:30:47 +00:00
|
|
|
|
|
|
|
// You can place any additional private/sensitive variables here and they will
|
|
|
|
// be included before the rest of your configuration scripts.
|
|
|
|
// Running `gulp build` will generate the final configuration by concatenating
|
|
|
|
// this file with your main configuration files.
|