Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/add-functionality/methods-and-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ When `customAuthenticationType` is set to `CustomAuthenticationType.AUTH_TOKEN`,
microstrategy.dossier.create({
placeholder: placeholderDiv,
url: "http://{host}:{port}/{Library}/app/{ProjectID}/{DossierID}",
enableCustomerAuthentication: true,
enableCustomAuthentication: true,
customAuthenticationType: microstrategy.dossier.CustomAuthenticationType.AUTH_TOKEN,
// The following function is the default implementation. User can provide custom implementation.
getLoginToken() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are three basic steps for embedding a MicroStrategy bot consumption page.
<script src="{YOUR_LIBRARY_SERVER_URL}/javascript/embeddinglib.js"></script>
```

Replace `{YOUR_LIBRARY_SERVER_URL}` with your actual MicroStrategy Library Server URL, e.g., <https://demo.microstrategy.com/MicroStrategyLibrary>.
Replace `{YOUR_LIBRARY_SERVER_URL}` with your actual MicroStrategy Library Server URL, e.g., [https://demo.microstrategy.com/MicroStrategyLibrary](https://demo.microstrategy.com/MicroStrategyLibrary).

1. Create a `<div>` as the placeholder where you want to embed the bot consumption page.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ microstrategy.embeddingContexts.embedBotConsumptionPage({
serverUrl: "https://demo.microstrategy.com/MicroStrategyLibrary",
projectId: "B19DEDCC11D4E0EFC000EB9495D0F44F",
objectId: "D9AB379D11EC92C1D9DC0080EFD415BB",
enableCustomerAuthentication: true,
customAuthenticationType: microstrategy.bot.CustomAuthenticationType.AUTH_TOKEN,
enableCustomAuthentication: true,
customAuthenticationType: microstrategy.dossier.CustomAuthenticationType.AUTH_TOKEN,
// The following function is the default implementation. User can provide custom implementation.
getLoginToken() {
// The similar logic as getLoginToken in existing Embedding SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ microstrategy.embeddingContexts.embedDossierConsumptionPage({
serverUrl: "https://demo.microstrategy.com/MicroStrategyLibrary",
projectId: "B19DEDCC11D4E0EFC000EB9495D0F44F",
objectId: "D9AB379D11EC92C1D9DC0080EFD415BB",
enableCustomerAuthentication: true,
enableCustomAuthentication: true,
customAuthenticationType: microstrategy.dossier.CustomAuthenticationType.AUTH_TOKEN,
// The following function is the default implementation. User can provide custom implementation.
getLoginToken() {
Expand Down
2 changes: 1 addition & 1 deletion docs/embed-library-main-page/embed-library-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ The `getLoginToken` function can be found in [the `getLoginToken` doc](../add-fu
microstrategy.embeddingContexts.embedLibraryPage({
placeholder: placeholderDiv,
serverUrl: "https://{host}:{port}/{Library}",
enableCustomerAuthentication: true,
enableCustomAuthentication: true,
customAuthenticationType: microstrategy.dossier.CustomAuthenticationType.AUTH_TOKEN,
// The following function is the default implementation. User can provide custom implementation.
getLoginToken() {
Expand Down
2 changes: 1 addition & 1 deletion docs/embed-report-page/embed-report-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ microstrategy.embeddingContexts.embedReportPage({
serverUrl: "https://demo.microstrategy.com/MicroStrategyLibrary",
projectId: "B19DEDCC11D4E0EFC000EB9495D0F44F",
objectId: "A409D6EC2245D4417C4FBEA5CD87D3A1",
enableCustomerAuthentication: true,
enableCustomAuthentication: true,
customAuthenticationType: microstrategy.dossier.CustomAuthenticationType.AUTH_TOKEN,
// The following function is the default implementation. User can provide custom implementation.
getLoginToken() {
Expand Down
2 changes: 1 addition & 1 deletion docs/native-embedding-architecture/embed-multiple-viz.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To embed multiple visualizations from one dossier, after referring `native-embed
(please use `<meta charset="UTF-8" />` character encoding tag)

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We have provided simple instructions and code snippets to help you configure the
Please also check out the examples in [Embedding SDK Playground](https://microstrategy.github.io/playground/) from the "Start over" button and [https://microstrategy.github.io/embedding-sdk-samples](https://microstrategy.github.io/embedding-sdk-samples).

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Enable Guest and other authentications in MicroStrategy Library Admin.
1. A live example can be seen on [GitHub](https://microstrategy.github.io/embedding-sdk-samples/feature_showcase/1_2_Guest_With_MultiAuth.html). Also check out [other examples](https://microstrategy.github.io/embedding-sdk-samples/).

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Here's how it would look if you follow the steps above.
Adjust as needed.

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
8 changes: 5 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const { themes } = require("prism-react-renderer");

const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -80,7 +82,7 @@ const config = {
},
{
type: "dropdown",
label: "Version 2021",
label: "Version 2024",
position: "right",
items: [
{
Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,35 +36,35 @@
"prepare": "husky install"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.3.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"yarn": "^1.22.19"
"@docusaurus/core": "^3.0.1",
"@docusaurus/preset-classic": "^3.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"yarn": "^1.22.21"
},
"devDependencies": {
"@cmfcmf/docusaurus-search-local": "^0.10.0",
"@docusaurus/eslint-plugin": "^2.2.0",
"@docusaurus/module-type-aliases": "^2.2.0",
"@tsconfig/docusaurus": "^1.0.5",
"chalk": "4.1.2",
"dotenv-cli": "^6.0.0",
"eslint": "^8.18.0",
"@cmfcmf/docusaurus-search-local": "^1.1.0",
"@docusaurus/eslint-plugin": "^3.0.1",
"@docusaurus/module-type-aliases": "^3.0.1",
"@docusaurus/tsconfig": "^3.0.1",
"chalk": "5.3.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.55.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-prettier": "^4.0.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"markdownlint-cli": "^0.31.1",
"prettier": "^2.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-prettier": "^5.0.1",
"gh-pages": "^6.1.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"markdownlint-cli": "^0.37.0",
"prettier": "^3.1.0",
"shelljs": "^0.8.5",
"typescript": "^4.6.4"
"typescript": "~5.2.2"
},
"browserslist": {
"production": [
Expand Down
Loading