diff --git a/src/components/context7-widgets.js b/src/components/context7-widgets.js index 199004e..fdeb7a7 100644 --- a/src/components/context7-widgets.js +++ b/src/components/context7-widgets.js @@ -26,17 +26,18 @@ const CONTEXT7_WIDGETS = [ displayName: 'the Market Data Go SDK', placeholder: 'Ask about the Go SDK...', }, - // Uncomment as widgets are enabled in Context7: - // { - // pathPattern: /\/sheets(\/|$)/, - // library: '/websites/marketdata_app_sheets', - // placeholder: 'Ask about the Sheets Add-on...', - // }, - // { - // pathPattern: /\/api(\/|$)/, - // library: '/websites/marketdata_app_api', - // placeholder: 'Ask about the Market Data API...', - // }, + { + pathPattern: /\/sheets(\/|$)/, + library: '/websites/marketdata_app_sheets', + displayName: 'the Market Data Sheets Add-on', + placeholder: 'Ask about the Sheets Add-on...', + }, + { + pathPattern: /\/api(\/|$)/, + library: '/websites/marketdata_app_api', + displayName: 'the Market Data API', + placeholder: 'Ask about the Market Data API...', + }, ]; module.exports = CONTEXT7_WIDGETS; diff --git a/static/api/context7.json b/static/api/context7.json new file mode 100644 index 0000000..19621d4 --- /dev/null +++ b/static/api/context7.json @@ -0,0 +1,4 @@ +{ + "url": "https://context7.com/websites/marketdata_app_api", + "public_key": "pk_cKA5YsYjooQGa5qVTm3LD" +} diff --git a/static/sheets/context7.json b/static/sheets/context7.json new file mode 100644 index 0000000..b9f9d7c --- /dev/null +++ b/static/sheets/context7.json @@ -0,0 +1,4 @@ +{ + "url": "https://context7.com/websites/marketdata_app_sheets", + "public_key": "pk_cKA5YsYjooQGa5qVTm3LD" +}