typedoc.js 864 B

123456789101112131415161718192021222324252627282930313233343536
  1. // const git = require('git-rev-sync');
  2. module.exports = {
  3. exclude: [
  4. // '^((?!index\.ts).)*$',
  5. // '^((?!index\.tsx).)*$',
  6. // '**/*+(__tests__|internal|lib|node_modules|demos)/**/*',
  7. '.history',
  8. '**/.storybook',
  9. '**/babel.config.js',
  10. '**/*.spec.ts*',
  11. '**/*.stories.ts*',
  12. '**/buildutils/**',
  13. '**/docs/source/**',
  14. '**/examples/**',
  15. // '**/lib/**',
  16. '**/node_modules/**',
  17. '**/test/**',
  18. '**/tests/**',
  19. '**/testutils/**',
  20. '**/packages/metapackage/**'
  21. ],
  22. excludeNotExported: true,
  23. ignoreCompilerErrors: false,
  24. mode: 'library',
  25. name: '@jupyterlab',
  26. out: 'docs/api',
  27. readme: 'README.md',
  28. theme: 'typedoc-theme',
  29. tsconfig: 'tsconfigdoc.json'
  30. // gitRevision: 'master',
  31. // 'sourcefile-url-prefix': `https://github.com/sinnerschrader/feature-hub/tree/${git.short()}/packages/`,
  32. };