Skip to content

v2.0.2

Compare
Choose a tag to compare
@dipakparmar dipakparmar released this 19 Sep 01:00
· 72 commits to main since this release
f146f65

What's Changed

Add this line for better type and autocomplete support in your IDE.

module.exports = {
  plugins: [
    [
      "@dipakparmar/docusaurus-plugin-umami",
+      /** @type {import('@dipakparmar/docusaurus-plugin-umami').Options} */
      ({
        websiteID: "your-website-id", // Required
        analyticsDomain: "analytics.mydomain.com", // Required
        scriptName: "", // Optional
        dataHostURL: "", // Optional
        dataAutoTrack: true, // Optional
        dataDoNoTrack: true, // Optional
        dataCache: true, // Optional
        dataDomains: "", // comma separated list of domains, *Recommended*
      }),
    ],
  ],
};

Full Changelog: v1.0.3...v2.0.2