Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@inkeep/docusaurus

Package Overview
Dependencies
Maintainers
5
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inkeep/docusaurus

Install NPM package

  • 2.0.16
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Installation

Install NPM package

    npm install @inkeep/docusaurus

Configuration

Add the code shown below to docusaurus.config to connect the plugin to docusaurus:

For ChatButton component type:

    themes: ["@inkeep/docusaurus/chatButton"],

For SearchBar component type:

     themes: ["@inkeep/docusaurus/searchBar"],

Customize your widget's config (Example shown below):

//..
    themeConfig: {
        inkeepConfig: {
            chatButtonType: 'RECTANGLE_SHORTCUT', // optional
            baseSettings: {
                apiKey: "apiKey", // required
                integrationId: "integrationId", // required
                organizationId: "organizationId", // required
                primaryBrandColor: "#522FC9", // required -- your brand color, widget color scheme is derived from this
                organizationDisplayName: "Inkeep", // optional
                // ...optional settings
                theme: {
                    stylesheetUrls: ['/path/to/stylesheets'], // optional
                },
            },
            modalSettings: {
                // optional settings
            },
            searchSettings: {
                // optional settings
            },
            aiChatSettings: {
                // optional settings
                botAvatarSrcUrl: "img/logo.svg", // use your own bot avatar
                quickQuestions: [
                    "Example question 1?",
                    "Example question 2?",
                    "Example question 3?",
                ],
            },
        }
    },

Publishing a new verison

  1. cd path/to/docusaurus-widgets
  2. in shared/consts.js update the WIDGET_VERSION
  3. in shared/consts.js update the corresponding INTEGRITY_SHA (go to https://unpkg.com/@inkeep/uikit-js@<WIDGET_VERSION>/dist/embed.js?meta)
  4. update the package version in package.json
  5. npm run build
  6. npm pack
  7. npm publish

FAQs

Package last updated on 03 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc