forked from smart-on-fhir/client-js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
typedoc.js
69 lines (55 loc) · 3.64 KB
/
typedoc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
module.exports = {
// Set the name of the project that will be used in the header of the
// template.
name: "fhirclient",
// Specifies the output mode the project is used to be compiled with:
// 'file' or 'modules'
mode: "modules",
// Specifies the location the documentation should be written to.
out: "docs/typedoc",
// Define patterns for excluded files when specifying paths.
exclude: ["node_modules"],
// Define patterns for files that should be considered being external.
externalPattern: "node_modules",
// Prevent externally resolved TypeScript files from being documented.
excludeExternals: true,
// Turn on parsing of .d.ts declaration files.
includeDeclarations: true,
// Should TypeDoc generate documentation pages even after the compiler has
// returned errors?
ignoreCompilerErrors: true,
// Ignores private variables and methods
excludePrivate: false,
// Ignores protected variables and methods
excludeProtected: false,
// Prevent symbols that are not exported from being documented.
excludeNotExported: false,
// Specifies whether categorization will be done at the group level.
categorizeByGroup: true,
// Specifies the order in which categories appear. * indicates the relative
// order for categories not in the list.
categoryOrder: "*",
// --defaultCategory Specifies the default category for reflections without a category.
// defaultCategory: "fhirclient",
// --disableOutputCheck Should TypeDoc disable the testing and cleaning of the output directory?
// --entryPoint Specifies the fully qualified name of the root symbol. Defaults to global namespace.
// entryPoint: "FHIR",
// --gaID Set the Google Analytics tracking ID and activate tracking code.
// --gaSite Set the site name for Google Analytics. Defaults to `auto`.
// --gitRevision Use specified revision instead of the last revision for linking to GitHub source files.
// --hideGenerator Do not print the TypeDoc link at the end of the page.
// --includes DIRECTORY Specifies the location to look for included documents (use [[include:FILENAME]] in comments).
// --json Specifies the location and file name a json file describing the project is written to.
// --listInvalidSymbolLinks Emits a list of broken symbol [[navigation]] links after documentation generation
listInvalidSymbolLinks: true,
// --logger Specify the logger that should be used, 'none' or 'console'
// --media DIRECTORY Specifies the location with media files that should be copied to the output directory.
// --options Specify a js option file that should be loaded. If not specified TypeDoc will look for 'typedoc.js' in the current directory.
// --plugin Specify the npm plugins that should be loaded. Omit to load all installed plugins, set to 'none' to load no plugins.
// --readme Path to the readme file that should be displayed on the index page. Pass `none` to disable the index page and start the documentation on the globals page.
readme: "../README.md",
// --theme Specify the path to the theme that should be used or 'default' or 'minimal' to use built-in themes.
theme: "docs/typedoc-theme"
// --toc Specifies the top level table of contents.
// --tsconfig Specify a typescript config file that should be loaded. If not specified TypeDoc will look for 'tsconfig.json' in the current directory.
};