Skip to content

Commit

Permalink
docs: fix providers docs
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Oct 21, 2023
1 parent c31a0e7 commit d094c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const coreSrc = "../packages/core/src"
const providers = fs
.readdirSync(path.join(__dirname, coreSrc, "/providers"))
.filter((file) => file.endsWith(".ts"))
.map((p) => `${coreSrc}/providers/${p}`)
.map((p) => `providers/${p}`)

const typedocConfig = require("./typedoc.json")
// @ts-expect-error
Expand Down Expand Up @@ -271,7 +271,7 @@ const docusaurusConfig = {
],
],
plugins: [
typedocFramework("core", ["index.ts", "adapters.ts", "errors.ts", "jwt.ts", "types.ts"]),
typedocFramework("core", ["index.ts", "adapters.ts", "errors.ts", "jwt.ts", "types.ts"].concat(providers)),
typedocFramework("frameworks-sveltekit", ["lib/index.ts", "lib/client.ts"]),
...(process.env.TYPEDOC_SKIP_ADAPTERS
? []
Expand Down

0 comments on commit d094c6f

Please sign in to comment.