3

I generate documentation with compodoc, I would like to exclude some files/directories from the documentation coverage

I added the exclude property of tsconfig.json file.

  "exclude": [
    "node_modules",
    "*.spec.ts",
    "./app/core-module/test"
  ]

The files are well excluded from the documentation but not from the documentation coverage.

Does anyone have any ideas please ?

Caro
  • 612
  • 5
  • 10

1 Answers1

3

hi try to add separate tsconfig.compodoc.json

 {
        "include": [
            "src/**/*"
        ],
        "exclude": [
          "node_modules/",
          "projects/"
        ]
      }
corsaro
  • 731
  • 1
  • 9
  • 24