Skip to content

Commit

Permalink
fix: link to main branch from generated client docs (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusefnapora authored Feb 21, 2022
1 parent 3aaf9d1 commit b0a1f8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build:cjs": "rollup --config rollup.config.js",
"build:esm": "rollup --config rollup.esm.config.js",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && npx codecov",
"typedoc": "typedoc ./src/lib.js ./src/lib/interface.ts --out ../../docs/client --excludeExternals --internalNamespace _",
"typedoc": "typedoc",
"prepare": "npm run build"
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/client/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"entryPoints": ["./src/lib.js", "./src/lib/interface.ts"],
"out": "../../docs/client",
"excludeExternals": true,
"internalNamespace": "_",
"gitRevision": "main",
"plugin": ["typedoc-plugin-mdn-links", "typedoc-plugin-missing-exports"]
}

0 comments on commit b0a1f8e

Please sign in to comment.