Skip to content

Commit

Permalink
Fix docs with fix_docs script ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed Sep 2, 2024
1 parent da3bbb2 commit 4392045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"bundle:web": "wasm-bindgen target/wasm32-unknown-unknown/release/identity_wasm.wasm --typescript --weak-refs --target web --out-dir web && node ./build/web && tsc --project ./lib/tsconfig.web.json && node ./build/replace_paths ./lib/tsconfig.web.json web",
"build:nodejs": "npm run build:src && npm run bundle:nodejs && wasm-opt -O node/identity_wasm_bg.wasm -o node/identity_wasm_bg.wasm",
"build:web": "npm run build:src && npm run bundle:web && wasm-opt -O web/identity_wasm_bg.wasm -o web/identity_wasm_bg.wasm",
"build:docs": "typedoc",
"build:docs": "typedoc && npm run fix_docs",
"build:examples:web": "tsc --project ./examples/tsconfig.web.json && node ./build/replace_paths ./examples/tsconfig.web.json ./examples/dist resolve",
"build": "npm run build:web && npm run build:nodejs && npm run build:docs",
"example:node": "ts-node --project tsconfig.node.json -r tsconfig-paths/register ./examples/src/main.ts",
Expand All @@ -32,7 +32,7 @@
"test:unit:node": "ts-mocha -p tsconfig.node.json ./tests/*.ts --parallel --exit",
"cypress": "cypress open",
"fmt": "dprint fmt",
"fix_js_doc": "sed -Ei 's/\\((.*)\\)\\[\\]/\\1\\[\\]/' ./node/identity_wasm.js"
"fix_docs": "sed -Ei 's/(\\.md?#([^#]*)?)#/\\1/' ./docs/api/**/*.md"
},
"config": {
"CYPRESS_VERIFY_TIMEOUT": 100000
Expand Down

0 comments on commit 4392045

Please sign in to comment.