Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The theme 'pages-plugin' is not defined. The available themes are: default #77

Open
CrispenGari opened this issue Sep 9, 2024 · 0 comments

Comments

@CrispenGari
Copy link

When i run the command yarn document i get the following errors. I don't know what am i doing wrong here:

-- package.json scripts

{
 "scripts": {
    "test": "jest --detectOpenHandles",
    "build": "tsup src/index.ts --format esm,cjs --dts",
    "lint": "yarn add react --dev && tsc && npx standard --fix && yarn remove react",
    "ci": "yarn lint && yarn test && yarn build",
    "release": "yarn lint && yarn test && yarn build && changeset publish",
    "document": "typedoc --options typedoc.json"
  },
}

Here are the versions of typescript, typedoc-plugin-pages and typedoc

 "typedoc": "^0.26.5",
  "typedoc-plugin-pages": "^1.1.0",
  "typescript": "^5.5.4"

My typedoc.json file looks as follows:

{
  "readme": "./documentation/introduction.md",
  "name": "Reactite Documentation",
  "out": "docs/web",
  "exclude": [
    "src/*+(App|.test|index|setupTests|serviceWorker).ts*",
    "**/**/dist/*"
  ],
  "excludePrivate": true,
  "theme": "pages-plugin"
}

What am i possibly doing wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant