Skip to content

Commit

Permalink
Merge pull request #398 from lunasec-io/fix-analytics
Browse files Browse the repository at this point in the history
Fix analytics by inserted into every HTML file
  • Loading branch information
freeqaz authored Jan 3, 2022
2 parents d222fe1 + 8be8d65 commit 973a6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "yarn run openapi:generate && TYPEDOC_WATCH=true docusaurus start --port 4000",
"build": "yarn run openapi:generate && TYPEDOC_WATCH=false yarn run build:docs && yarn insert:analytics",
"build:docs": "docusaurus build",
"insert:analytics": "../tools/analytics-inserter/analytics-inserter.js",
"insert:analytics": "find ./build -iname \"*.html\" | xargs sed -i -e \"/<\\/body>/r ../tools/analytics-inserter/analytics-fragment.txt\" -e \"s/<\\/body>//\"",
"swizzle": "docusaurus swizzle",
"deploy": "yarn run openapi:generate && docusaurus deploy",
"deploy:s3-redirect-config": "s3-redirect-generator --inputConfig ./redirect-config.js --bucket ",
Expand Down

0 comments on commit 973a6c4

Please sign in to comment.