Use another theme (postmark) with compodoc

1k Views Asked by At

I would like to use the postmark theme with compodoc (https://compodoc.github.io/website/guides/themes.html).

However, it does not work! I have already tried

npm run doc:buildandserve --theme Postmark

npm run compodoc --theme postmark

I get the error Provided source folder postmark was not found in the current directory

Do I have to download the theme? Where do I find it?

1

There are 1 best solutions below

0
On

I may be late in answering this. I just tried it today and it was working. Try the following command in Terminal of the project directory

compodoc -p src/tsconfig.app.json --theme postmark

And this will be the result

enter image description here

Method 2: If you are using script task in your package.json

enter image description here

command:

"compodoc": "npx compodoc -p src/tsconfig.app.json --theme postmark -n \"Project Name\""

Hope this help.