Skip to content

Commit

Permalink
New GA4 ID; redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
d45 committed Jan 14, 2025
1 parent e01c89b commit 2503591
Show file tree
Hide file tree
Showing 4 changed files with 3,022 additions and 550 deletions.
5 changes: 5 additions & 0 deletions website/docs/dashext/trex_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ The [Samples-Typescript](https://github.com/tableau/extensions-api/tree/master/S

Finds and displays all the parameters in the dashboard and then sets an event listener that waits for a parameter to change, which triggers a refresh.

- **[PdfViewer (Typescript)](https://github.com/tableau/extensions-api/tree/master/Samples-Typescript/Dashboard/PdfViewer?=target="_blank")**

Demonstrates how to use Extensions API features, such as settings, configuration, and parameters in a Typescript application. The sample allows PDF files to be viewed in a networked dashboard extension.


- **[Settings](https://github.com/tableau/extensions-api/tree/master/Samples/Dashboard/Settings?=target="_blank")**

Uses the `settings` namespace to save settings (key-value pairs) for the extension. Demonstrates how you can save settings for each instance of an extension, which enables sharing common views of a workbook.
Expand Down
49 changes: 40 additions & 9 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ const getConfig = async () => {
'@docusaurus/plugin-google-gtag',
{
// trackingID: 'UA-625217-51',
trackingID: '376609887',
trackingID: '469571326',
anonymizeIP: true,
},
],

/* [
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
Expand All @@ -246,22 +246,53 @@ const getConfig = async () => {
to: '/docs/publish/trex_publish',
from: '/docs/trex_publish',
},
{
to: '/docs/publish/trex_contributing',
from: '/docs/trex_contributing',
},
{
to: '/docs/publish/trex_sandbox_publish',
from: '/docs/trex_sandbox_publish',
},
// dashext folder
// (portal page fix)
{
to: '/docs/dashext/trex_getstarted',
to: '/docs',
from: '/docs/trex_getstarted',
},
// (dev portal page fix)
{
to: '/docs/publish/trex_contributing',
from: '/docs/trex_contributing',
},
// (dev portal page fix)
{
to: '/docs/security/trex_security',
from: '/docs/trex_security',
},
// dev portal page fix
{
to: '/docs/debug/trex_debugging',
from: '/docs/trex_debugging',
},
// dev portal page fix
{
to: '/docs/debug/trex_debug_server',
from: '/docs/trex_debug_server',
},
// dev portal page fix
{
to: '/docs/debug/trex_logging',
from: '/docs/trex_logging',
},
// dev portal page fix
{
to: '/docs/security/trex_xss_guidance',
from: '/docs/trex_xss_guidance',
},
// dev portal page fix
{
to: '/docs/security/trex_sandbox_test',
from: '/docs/trex_sandbox_test',
},
],
},
], */
],

],

Expand Down
15 changes: 8 additions & 7 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
},
"dependencies": {
"@babel/helper-explode-assignable-expression": "^7.18.6",
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-google-tag-manager": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-mermaid": "^3.4.0",
"@docusaurus/utils-validation": "^3.4.0",
"@docusaurus/core": "^3.7.0",
"@docusaurus/plugin-client-redirects": "^3.7.0",
"@docusaurus/plugin-google-tag-manager": "^3.7.0",
"@docusaurus/preset-classic": "^3.7.0",
"@docusaurus/theme-mermaid": "^3.7.0",
"@docusaurus/utils-validation": "^3.7.0",
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
Expand All @@ -36,8 +37,8 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/types": "^3.4.0",
"@docusaurus/module-type-aliases": "^3.7.0",
"@docusaurus/types": "^3.7.0",
"@tsconfig/docusaurus": "^1.0.5",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
Expand Down
Loading

0 comments on commit 2503591

Please sign in to comment.