@appium/docutils 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/build/lib/builder/deploy.d.ts +2 -2
  2. package/build/lib/builder/deploy.d.ts.map +1 -1
  3. package/build/lib/builder/deploy.js +6 -3
  4. package/build/lib/builder/deploy.js.map +1 -1
  5. package/build/lib/builder/nav.d.ts.map +1 -1
  6. package/build/lib/builder/nav.js +27 -19
  7. package/build/lib/builder/nav.js.map +1 -1
  8. package/build/lib/builder/reference.d.ts +1 -1
  9. package/build/lib/builder/reference.d.ts.map +1 -1
  10. package/build/lib/cli/command/build.d.ts +174 -176
  11. package/build/lib/cli/command/build.d.ts.map +1 -1
  12. package/build/lib/cli/command/build.js +3 -5
  13. package/build/lib/cli/command/build.js.map +1 -1
  14. package/build/lib/cli/command/init.d.ts +139 -141
  15. package/build/lib/cli/command/init.d.ts.map +1 -1
  16. package/build/lib/cli/command/init.js +3 -5
  17. package/build/lib/cli/command/init.js.map +1 -1
  18. package/build/lib/cli/command/validate.d.ts +63 -65
  19. package/build/lib/cli/command/validate.d.ts.map +1 -1
  20. package/build/lib/cli/command/validate.js +3 -5
  21. package/build/lib/cli/command/validate.js.map +1 -1
  22. package/build/lib/cli/config.js +1 -1
  23. package/build/lib/cli/config.js.map +1 -1
  24. package/build/lib/init.d.ts +13 -22
  25. package/build/lib/init.d.ts.map +1 -1
  26. package/build/lib/logger.js +0 -4
  27. package/build/lib/logger.js.map +1 -1
  28. package/build/lib/model.d.ts +6 -10
  29. package/build/lib/model.d.ts.map +1 -1
  30. package/build/lib/scaffold.d.ts +5 -5
  31. package/build/lib/scaffold.d.ts.map +1 -1
  32. package/build/lib/util.d.ts +2 -2
  33. package/build/lib/util.d.ts.map +1 -1
  34. package/build/lib/validate.d.ts +1 -1
  35. package/build/lib/validate.d.ts.map +1 -1
  36. package/lib/builder/deploy.ts +10 -4
  37. package/lib/builder/nav.ts +28 -22
  38. package/lib/cli/command/build.ts +4 -7
  39. package/lib/cli/command/init.ts +4 -7
  40. package/lib/cli/command/validate.ts +6 -7
  41. package/lib/logger.ts +6 -11
  42. package/lib/model.ts +3 -9
  43. package/package.json +8 -8
  44. package/requirements.txt +1 -1
  45. package/build/lib/build/mkdocs.d.ts +0 -58
  46. package/build/lib/build/mkdocs.d.ts.map +0 -1
  47. package/build/lib/build/mkdocs.js +0 -80
  48. package/build/lib/build/mkdocs.js.map +0 -1
  49. package/build/lib/build/typedoc.d.ts +0 -55
  50. package/build/lib/build/typedoc.d.ts.map +0 -1
  51. package/build/lib/build/typedoc.js +0 -120
  52. package/build/lib/build/typedoc.js.map +0 -1
  53. package/build/lib/build-api.d.ts +0 -18
  54. package/build/lib/build-api.d.ts.map +0 -1
  55. package/build/lib/build-api.js +0 -75
  56. package/build/lib/build-api.js.map +0 -1
  57. package/build/lib/build.d.ts +0 -21
  58. package/build/lib/build.d.ts.map +0 -1
  59. package/build/lib/build.js +0 -71
  60. package/build/lib/build.js.map +0 -1
  61. package/build/lib/cli/command/deploy.d.ts +0 -1
  62. package/build/lib/cli/command/deploy.d.ts.map +0 -1
  63. package/build/lib/cli/command/deploy.js +0 -2
  64. package/build/lib/cli/command/deploy.js.map +0 -1
  65. package/build/lib/cli/command-init.d.ts +0 -143
  66. package/build/lib/cli/command-init.d.ts.map +0 -1
  67. package/build/lib/cli/command-init.js +0 -164
  68. package/build/lib/cli/command-init.js.map +0 -1
  69. package/build/lib/cli/command-validate.d.ts +0 -52
  70. package/build/lib/cli/command-validate.d.ts.map +0 -1
  71. package/build/lib/cli/command-validate.js +0 -66
  72. package/build/lib/cli/command-validate.js.map +0 -1
  73. package/build/lib/cli/init.d.ts +0 -143
  74. package/build/lib/cli/init.d.ts.map +0 -1
  75. package/build/lib/cli/init.js +0 -164
  76. package/build/lib/cli/init.js.map +0 -1
  77. package/build/lib/cli/options.d.ts +0 -1
  78. package/build/lib/cli/options.d.ts.map +0 -1
  79. package/build/lib/cli/options.js +0 -2
  80. package/build/lib/cli/options.js.map +0 -1
  81. package/build/lib/cli/validate.d.ts +0 -1
  82. package/build/lib/cli/validate.d.ts.map +0 -1
  83. package/build/lib/cli/validate.js +0 -2
  84. package/build/lib/cli/validate.js.map +0 -1
  85. package/build/lib/cli.d.ts +0 -10
  86. package/build/lib/cli.d.ts.map +0 -1
  87. package/build/lib/cli.js +0 -328
  88. package/build/lib/cli.js.map +0 -1
  89. package/build/lib/init-task.d.ts +0 -49
  90. package/build/lib/init-task.d.ts.map +0 -1
  91. package/build/lib/init-task.js +0 -95
  92. package/build/lib/init-task.js.map +0 -1
  93. package/build/lib/io.d.ts +0 -1
  94. package/build/lib/io.d.ts.map +0 -1
  95. package/build/lib/io.js +0 -2
  96. package/build/lib/io.js.map +0 -1
  97. package/build/lib/mkdocs.d.ts +0 -58
  98. package/build/lib/mkdocs.d.ts.map +0 -1
  99. package/build/lib/mkdocs.js +0 -77
  100. package/build/lib/mkdocs.js.map +0 -1
  101. package/build/lib/nav.d.ts +0 -47
  102. package/build/lib/nav.d.ts.map +0 -1
  103. package/build/lib/nav.js +0 -132
  104. package/build/lib/nav.js.map +0 -1
  105. package/build/lib/test.d.ts +0 -9
  106. package/build/lib/test.d.ts.map +0 -1
  107. package/build/lib/test.js +0 -2
  108. package/build/lib/test.js.map +0 -1
  109. package/build/lib/typedoc.d.ts +0 -55
  110. package/build/lib/typedoc.d.ts.map +0 -1
  111. package/build/lib/typedoc.js +0 -122
  112. package/build/lib/typedoc.js.map +0 -1
  113. package/build/lib/types.d.ts +0 -52
  114. package/build/lib/types.d.ts.map +0 -1
  115. package/build/lib/types.js +0 -7
  116. package/build/lib/types.js.map +0 -1
  117. package/build/lib/validation/base-validator.d.ts +0 -218
  118. package/build/lib/validation/base-validator.d.ts.map +0 -1
  119. package/build/lib/validation/base-validator.js +0 -453
  120. package/build/lib/validation/base-validator.js.map +0 -1
  121. package/build/lib/validation/mkdocs-validator.d.ts +0 -5
  122. package/build/lib/validation/mkdocs-validator.d.ts.map +0 -1
  123. package/build/lib/validation/mkdocs-validator.js +0 -54
  124. package/build/lib/validation/mkdocs-validator.js.map +0 -1
  125. package/build/lib/validation/python-validator.d.ts +0 -1
  126. package/build/lib/validation/python-validator.d.ts.map +0 -1
  127. package/build/lib/validation/python-validator.js +0 -2
  128. package/build/lib/validation/python-validator.js.map +0 -1
  129. package/build/lib/validation/python.d.ts +0 -1
  130. package/build/lib/validation/python.d.ts.map +0 -1
  131. package/build/lib/validation/python.js +0 -2
  132. package/build/lib/validation/python.js.map +0 -1
  133. package/build/lib/validation/validate.d.ts +0 -221
  134. package/build/lib/validation/validate.d.ts.map +0 -1
  135. package/build/lib/validation/validate.js +0 -508
  136. package/build/lib/validation/validate.js.map +0 -1
  137. package/build/lib/validation/validator.d.ts +0 -220
  138. package/build/lib/validation/validator.d.ts.map +0 -1
  139. package/build/lib/validation/validator.js +0 -470
  140. package/build/lib/validation/validator.js.map +0 -1
  141. package/build/test/unit/mike.spec.js +0 -17
  142. package/build/test/unit/mike.spec.js.map +0 -1
@@ -1,143 +0,0 @@
1
- import { CommandModule, InferredOptionTypes } from 'yargs';
2
- declare const opts: {
3
- readonly copyright: {
4
- readonly description: "Copyright notice";
5
- readonly group: "MkDocs Config:";
6
- readonly nargs: 1;
7
- readonly requiresArg: true;
8
- readonly type: "string";
9
- };
10
- readonly dir: {
11
- readonly default: ".";
12
- readonly defaultDescription: "(current directory)";
13
- readonly description: "Directory of package";
14
- readonly group: "Paths:";
15
- readonly normalize: true;
16
- readonly type: "string";
17
- };
18
- readonly 'dry-run': {
19
- readonly describe: "Do not write any files; show what would be done";
20
- readonly group: "Initialization Behavior:";
21
- readonly type: "boolean";
22
- };
23
- readonly force: {
24
- readonly alias: "f";
25
- readonly describe: "Overwrite existing configurations";
26
- readonly group: "Initialization Behavior:";
27
- readonly type: "boolean";
28
- };
29
- readonly include: {
30
- readonly alias: "i";
31
- readonly array: true;
32
- readonly coerce: (value: string | string[]) => string[];
33
- readonly description: "Files to include in compilation (globs OK)";
34
- readonly nargs: 1;
35
- readonly requiresArg: true;
36
- readonly type: "string";
37
- };
38
- readonly mkdocs: {
39
- readonly default: true;
40
- readonly description: "Create mkdocs.yml if needed";
41
- readonly group: "Initialization Behavior:";
42
- readonly type: "boolean";
43
- };
44
- readonly 'mkdocs-yml': {
45
- readonly defaultDescription: "./mkdocs.yml";
46
- readonly description: "Path to mkdocs.yml";
47
- readonly group: "Paths:";
48
- readonly nargs: 1;
49
- readonly normalize: true;
50
- readonly requiresArg: true;
51
- readonly type: "string";
52
- };
53
- readonly 'package-json': {
54
- readonly defaultDescription: "./package.json";
55
- readonly describe: "Path to package.json";
56
- readonly group: "Paths:";
57
- readonly nargs: 1;
58
- readonly normalize: true;
59
- readonly requiresArg: true;
60
- readonly type: "string";
61
- };
62
- readonly python: {
63
- readonly default: true;
64
- readonly description: "Install Python dependencies if needed";
65
- readonly group: "Initialization Behavior:";
66
- readonly type: "boolean";
67
- };
68
- readonly 'python-path': {
69
- readonly defaultDescription: "(derived from shell)";
70
- readonly description: "Path to python 3 executable";
71
- readonly group: "Paths:";
72
- readonly nargs: 1;
73
- readonly normalize: true;
74
- readonly requiresArg: true;
75
- readonly type: "string";
76
- };
77
- readonly 'repo-name': {
78
- readonly defaultDescription: "(derived from --repo-url)";
79
- readonly description: "Name of extension repository";
80
- readonly group: "MkDocs Config:";
81
- readonly nargs: 1;
82
- readonly requiresArg: true;
83
- readonly type: "string";
84
- };
85
- readonly 'repo-url': {
86
- readonly defaultDescription: "(from package.json)";
87
- readonly description: "URL of extension repository";
88
- readonly group: "MkDocs Config:";
89
- readonly nargs: 1;
90
- readonly requiresArg: true;
91
- readonly type: "string";
92
- };
93
- readonly 'site-description': {
94
- readonly defaultDescription: "(from package.json)";
95
- readonly description: "Site description";
96
- readonly group: "MkDocs Config:";
97
- readonly nargs: 1;
98
- readonly requiresArg: true;
99
- readonly type: "string";
100
- };
101
- readonly 'site-name': {
102
- readonly defaultDescription: "(extension package name)";
103
- readonly description: "Name of site";
104
- readonly group: "MkDocs Config:";
105
- readonly nargs: 1;
106
- readonly requiresArg: true;
107
- readonly type: "string";
108
- };
109
- readonly 'tsconfig-json': {
110
- readonly defaultDescription: "./tsconfig.json";
111
- readonly describe: "Path to tsconfig.json";
112
- readonly group: "Paths:";
113
- readonly nargs: 1;
114
- readonly normalize: true;
115
- readonly requiresArg: true;
116
- readonly type: "string";
117
- };
118
- readonly typedoc: {
119
- readonly default: true;
120
- readonly description: "Create typedoc.json if needed";
121
- readonly group: "Initialization Behavior:";
122
- readonly type: "boolean";
123
- };
124
- readonly 'typedoc-json': {
125
- readonly defaultDescription: "./typedoc.json";
126
- readonly describe: "Path to typedoc.json";
127
- readonly group: "Paths:";
128
- readonly nargs: 1;
129
- readonly normalize: true;
130
- readonly requiresArg: true;
131
- readonly type: "string";
132
- };
133
- readonly typescript: {
134
- readonly default: true;
135
- readonly description: "Create tsconfig.json if needed";
136
- readonly group: "Initialization Behavior:";
137
- readonly type: "boolean";
138
- };
139
- };
140
- declare type InitOptions = InferredOptionTypes<typeof opts>;
141
- declare const initCommand: CommandModule<{}, InitOptions>;
142
- export default initCommand;
143
- //# sourceMappingURL=command-init.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-init.d.ts","sourceRoot":"","sources":["../../../lib/cli/command-init.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAU,MAAM,OAAO,CAAC;AAWlE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA8BU,MAAM,GAAG,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2G3B,CAAC;AAGX,aAAK,WAAW,GAAG,mBAAmB,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,QAAA,MAAM,WAAW,EAAE,aAAa,CAAC,EAAE,EAAE,WAAW,CAS/C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,164 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const lodash_1 = __importDefault(require("lodash"));
7
- const init_1 = require("../init");
8
- const logger_1 = __importDefault(require("../logger"));
9
- const util_1 = require("../util");
10
- const log = logger_1.default.withTag('init');
11
- const NAME_GROUP_INIT_MKDOCS = 'MkDocs Config:';
12
- const NAME_GROUP_INIT_PATHS = 'Paths:';
13
- const NAME_GROUP_INIT_BEHAVIOR = 'Initialization Behavior:';
14
- const opts = {
15
- copyright: {
16
- description: 'Copyright notice',
17
- group: NAME_GROUP_INIT_MKDOCS,
18
- nargs: 1,
19
- requiresArg: true,
20
- type: 'string',
21
- },
22
- dir: {
23
- default: '.',
24
- defaultDescription: '(current directory)',
25
- description: 'Directory of package',
26
- group: NAME_GROUP_INIT_PATHS,
27
- normalize: true,
28
- type: 'string',
29
- },
30
- 'dry-run': {
31
- describe: 'Do not write any files; show what would be done',
32
- group: NAME_GROUP_INIT_BEHAVIOR,
33
- type: 'boolean',
34
- },
35
- force: {
36
- alias: 'f',
37
- describe: 'Overwrite existing configurations',
38
- group: NAME_GROUP_INIT_BEHAVIOR,
39
- type: 'boolean',
40
- },
41
- include: {
42
- alias: 'i',
43
- array: true,
44
- coerce: (value) => lodash_1.default.castArray(value),
45
- description: 'Files to include in compilation (globs OK)',
46
- nargs: 1,
47
- requiresArg: true,
48
- type: 'string',
49
- },
50
- mkdocs: {
51
- default: true,
52
- description: 'Create mkdocs.yml if needed',
53
- group: NAME_GROUP_INIT_BEHAVIOR,
54
- type: 'boolean',
55
- },
56
- 'mkdocs-yml': {
57
- defaultDescription: './mkdocs.yml',
58
- description: 'Path to mkdocs.yml',
59
- group: NAME_GROUP_INIT_PATHS,
60
- nargs: 1,
61
- normalize: true,
62
- requiresArg: true,
63
- type: 'string',
64
- },
65
- 'package-json': {
66
- defaultDescription: './package.json',
67
- describe: 'Path to package.json',
68
- group: NAME_GROUP_INIT_PATHS,
69
- nargs: 1,
70
- normalize: true,
71
- requiresArg: true,
72
- type: 'string',
73
- },
74
- python: {
75
- default: true,
76
- description: 'Install Python dependencies if needed',
77
- group: NAME_GROUP_INIT_BEHAVIOR,
78
- type: 'boolean',
79
- },
80
- 'python-path': {
81
- defaultDescription: '(derived from shell)',
82
- description: 'Path to python 3 executable',
83
- group: NAME_GROUP_INIT_PATHS,
84
- nargs: 1,
85
- normalize: true,
86
- requiresArg: true,
87
- type: 'string',
88
- },
89
- 'repo-name': {
90
- defaultDescription: '(derived from --repo-url)',
91
- description: 'Name of extension repository',
92
- group: NAME_GROUP_INIT_MKDOCS,
93
- nargs: 1,
94
- requiresArg: true,
95
- type: 'string',
96
- },
97
- 'repo-url': {
98
- defaultDescription: '(from package.json)',
99
- description: 'URL of extension repository',
100
- group: NAME_GROUP_INIT_MKDOCS,
101
- nargs: 1,
102
- requiresArg: true,
103
- type: 'string',
104
- },
105
- 'site-description': {
106
- defaultDescription: '(from package.json)',
107
- description: 'Site description',
108
- group: NAME_GROUP_INIT_MKDOCS,
109
- nargs: 1,
110
- requiresArg: true,
111
- type: 'string',
112
- },
113
- 'site-name': {
114
- defaultDescription: '(extension package name)',
115
- description: 'Name of site',
116
- group: NAME_GROUP_INIT_MKDOCS,
117
- nargs: 1,
118
- requiresArg: true,
119
- type: 'string',
120
- },
121
- 'tsconfig-json': {
122
- defaultDescription: './tsconfig.json',
123
- describe: 'Path to tsconfig.json',
124
- group: NAME_GROUP_INIT_PATHS,
125
- nargs: 1,
126
- normalize: true,
127
- requiresArg: true,
128
- type: 'string',
129
- },
130
- typedoc: {
131
- default: true,
132
- description: 'Create typedoc.json if needed',
133
- group: NAME_GROUP_INIT_BEHAVIOR,
134
- type: 'boolean',
135
- },
136
- 'typedoc-json': {
137
- defaultDescription: './typedoc.json',
138
- describe: 'Path to typedoc.json',
139
- group: NAME_GROUP_INIT_PATHS,
140
- nargs: 1,
141
- normalize: true,
142
- requiresArg: true,
143
- type: 'string',
144
- },
145
- typescript: {
146
- default: true,
147
- description: 'Create tsconfig.json if needed',
148
- group: NAME_GROUP_INIT_BEHAVIOR,
149
- type: 'boolean',
150
- },
151
- };
152
- opts; // type check
153
- const initCommand = {
154
- command: 'init',
155
- describe: 'Initialize package for doc generation',
156
- builder: opts,
157
- async handler(args) {
158
- const done = (0, util_1.stopwatch)('init');
159
- await (0, init_1.init)({ ...args, overwrite: args.force, cwd: args.dir });
160
- log.success('Done (%dms)', done());
161
- },
162
- };
163
- exports.default = initCommand;
164
- //# sourceMappingURL=command-init.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-init.js","sourceRoot":"","sources":["../../../lib/cli/command-init.ts"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AAEvB,kCAA6B;AAC7B,uDAA+B;AAC/B,kCAAkC;AAElC,MAAM,GAAG,GAAG,gBAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAEnC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAChD,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AACvC,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAE5D,MAAM,IAAI,GAAG;IACX,SAAS,EAAE;QACT,WAAW,EAAE,kBAAkB;QAC/B,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,GAAG,EAAE;QACH,OAAO,EAAE,GAAG;QACZ,kBAAkB,EAAE,qBAAqB;QACzC,WAAW,EAAE,sBAAsB;QACnC,KAAK,EAAE,qBAAqB;QAC5B,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,QAAQ;KACf;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,iDAAiD;QAC3D,KAAK,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,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,gCAAgC;QAC7C,KAAK,EAAE,wBAAwB;QAC/B,IAAI,EAAE,SAAS;KAChB;CACO,CAAC;AACX,IAA+B,CAAC,CAAC,aAAa;AAI9C,MAAM,WAAW,GAAmC;IAClD,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,uCAAuC;IACjD,OAAO,EAAE,IAAI;IACb,KAAK,CAAC,OAAO,CAAC,IAAI;QAChB,MAAM,IAAI,GAAG,IAAA,gBAAS,EAAC,MAAM,CAAC,CAAC;QAC/B,MAAM,IAAA,WAAI,EAAC,EAAC,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAC,CAAC,CAAC;QAC5D,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IACrC,CAAC;CACF,CAAC;AAEF,kBAAe,WAAW,CAAC"}
@@ -1,52 +0,0 @@
1
- import { CommandModule, InferredOptionTypes } from 'yargs';
2
- declare const opts: {
3
- readonly python: {
4
- readonly default: true;
5
- readonly description: "Validate Python 3 environment";
6
- readonly group: "Validation:";
7
- readonly type: "boolean";
8
- };
9
- readonly 'python-path': {
10
- readonly defaultDescription: "(derived from shell)";
11
- readonly description: "Path to python 3 executable";
12
- readonly group: "Validation:";
13
- readonly nargs: 1;
14
- readonly normalize: true;
15
- readonly requiresArg: true;
16
- readonly type: "string";
17
- };
18
- readonly 'tsconfig-json': {
19
- readonly defaultDescription: "./tsconfig.json";
20
- readonly describe: "Path to tsconfig.json";
21
- readonly group: "Validation:";
22
- readonly nargs: 1;
23
- readonly normalize: true;
24
- readonly requiresArg: true;
25
- readonly type: "string";
26
- };
27
- readonly typedoc: {
28
- readonly default: true;
29
- readonly description: "Validate TypoDoc config";
30
- readonly group: "Validation:";
31
- readonly type: "boolean";
32
- };
33
- readonly 'typedoc-json': {
34
- readonly defaultDescription: "./typedoc.json";
35
- readonly describe: "Path to typedoc.json";
36
- readonly group: "Validation:";
37
- readonly nargs: 1;
38
- readonly normalize: true;
39
- readonly requiresArg: true;
40
- readonly type: "string";
41
- };
42
- readonly typescript: {
43
- readonly default: true;
44
- readonly description: "Validate TypeScript config";
45
- readonly group: "Validation:";
46
- readonly type: "boolean";
47
- };
48
- };
49
- declare type ValidateOptions = InferredOptionTypes<typeof opts>;
50
- declare const validateCommand: CommandModule<{}, ValidateOptions>;
51
- export default validateCommand;
52
- //# sourceMappingURL=command-validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-validate.d.ts","sourceRoot":"","sources":["../../../lib/cli/command-validate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAU,MAAM,OAAO,CAAC;AAKlE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CA,CAAC;AAEX,aAAK,eAAe,GAAG,mBAAmB,CAAC,OAAO,IAAI,CAAC,CAAC;AACxD,QAAA,MAAM,eAAe,EAAE,aAAa,CAAC,EAAE,EAAE,eAAe,CAavD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,66 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const validate_1 = require("../validate");
4
- const NAME_GROUP_VALIDATE = 'Validation:';
5
- const opts = {
6
- python: {
7
- default: true,
8
- description: 'Validate Python 3 environment',
9
- group: NAME_GROUP_VALIDATE,
10
- type: 'boolean',
11
- },
12
- 'python-path': {
13
- defaultDescription: '(derived from shell)',
14
- description: 'Path to python 3 executable',
15
- group: NAME_GROUP_VALIDATE,
16
- nargs: 1,
17
- normalize: true,
18
- requiresArg: true,
19
- type: 'string',
20
- },
21
- 'tsconfig-json': {
22
- defaultDescription: './tsconfig.json',
23
- describe: 'Path to tsconfig.json',
24
- group: NAME_GROUP_VALIDATE,
25
- nargs: 1,
26
- normalize: true,
27
- requiresArg: true,
28
- type: 'string',
29
- },
30
- typedoc: {
31
- default: true,
32
- description: 'Validate TypoDoc config',
33
- group: NAME_GROUP_VALIDATE,
34
- type: 'boolean',
35
- },
36
- 'typedoc-json': {
37
- defaultDescription: './typedoc.json',
38
- describe: 'Path to typedoc.json',
39
- group: NAME_GROUP_VALIDATE,
40
- nargs: 1,
41
- normalize: true,
42
- requiresArg: true,
43
- type: 'string',
44
- },
45
- typescript: {
46
- default: true,
47
- description: 'Validate TypeScript config',
48
- group: NAME_GROUP_VALIDATE,
49
- type: 'boolean',
50
- },
51
- };
52
- opts;
53
- const validateCommand = {
54
- command: 'validate',
55
- describe: 'Validate Environment',
56
- builder: opts,
57
- async handler(args) {
58
- if (!args.python && !args.typedoc && !args.typescript) {
59
- // specifically not a DocutilsError
60
- throw new Error('No validation targets specified; one or more of --python, --typescript or --typedoc must be provided');
61
- }
62
- await (0, validate_1.validate)(args);
63
- },
64
- };
65
- exports.default = validateCommand;
66
- //# sourceMappingURL=command-validate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-validate.js","sourceRoot":"","sources":["../../../lib/cli/command-validate.ts"],"names":[],"mappings":";;AACA,0CAAqC;AAErC,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAE1C,MAAM,IAAI,GAAG;IACX,MAAM,EAAE;QACN,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,+BAA+B;QAC5C,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,SAAS;KAChB;IACD,aAAa,EAAE;QACb,kBAAkB,EAAE,sBAAsB;QAC1C,WAAW,EAAE,6BAA6B;QAC1C,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE,CAAC;QACR,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,eAAe,EAAE;QACf,kBAAkB,EAAE,iBAAiB;QACrC,QAAQ,EAAE,uBAAuB;QACjC,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE,CAAC;QACR,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,yBAAyB;QACtC,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,SAAS;KAChB;IACD,cAAc,EAAE;QACd,kBAAkB,EAAE,gBAAgB;QACpC,QAAQ,EAAE,sBAAsB;QAChC,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE,CAAC;QACR,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,4BAA4B;QACzC,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,SAAS;KAChB;CACO,CAAC;AACX,IAA+B,CAAC;AAEhC,MAAM,eAAe,GAAuC;IAC1D,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,sBAAsB;IAChC,OAAO,EAAE,IAAI;IACb,KAAK,CAAC,OAAO,CAAC,IAAI;QAChB,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACrD,mCAAmC;YACnC,MAAM,IAAI,KAAK,CACb,sGAAsG,CACvG,CAAC;SACH;QACD,MAAM,IAAA,mBAAQ,EAAC,IAAI,CAAC,CAAC;IACvB,CAAC;CACF,CAAC;AAEF,kBAAe,eAAe,CAAC"}
@@ -1,143 +0,0 @@
1
- import { CommandModule, InferredOptionTypes } from 'yargs';
2
- declare const opts: {
3
- readonly copyright: {
4
- readonly description: "Copyright notice";
5
- readonly group: "MkDocs Config:";
6
- readonly nargs: 1;
7
- readonly requiresArg: true;
8
- readonly type: "string";
9
- };
10
- readonly dir: {
11
- readonly default: ".";
12
- readonly defaultDescription: "(current directory)";
13
- readonly description: "Directory of package";
14
- readonly group: "Paths:";
15
- readonly normalize: true;
16
- readonly type: "string";
17
- };
18
- readonly 'dry-run': {
19
- readonly describe: "Do not write any files; show what would be done";
20
- readonly group: "Initialization Behavior:";
21
- readonly type: "boolean";
22
- };
23
- readonly force: {
24
- readonly alias: "f";
25
- readonly describe: "Overwrite existing configurations";
26
- readonly group: "Initialization Behavior:";
27
- readonly type: "boolean";
28
- };
29
- readonly include: {
30
- readonly alias: "i";
31
- readonly array: true;
32
- readonly coerce: (value: string | string[]) => string[];
33
- readonly description: "Files to include in compilation (globs OK)";
34
- readonly nargs: 1;
35
- readonly requiresArg: true;
36
- readonly type: "string";
37
- };
38
- readonly mkdocs: {
39
- readonly default: true;
40
- readonly description: "Create mkdocs.yml if needed";
41
- readonly group: "Initialization Behavior:";
42
- readonly type: "boolean";
43
- };
44
- readonly 'mkdocs-yml': {
45
- readonly defaultDescription: "./mkdocs.yml";
46
- readonly description: "Path to mkdocs.yml";
47
- readonly group: "Paths:";
48
- readonly nargs: 1;
49
- readonly normalize: true;
50
- readonly requiresArg: true;
51
- readonly type: "string";
52
- };
53
- readonly 'package-json': {
54
- readonly defaultDescription: "./package.json";
55
- readonly describe: "Path to package.json";
56
- readonly group: "Paths:";
57
- readonly nargs: 1;
58
- readonly normalize: true;
59
- readonly requiresArg: true;
60
- readonly type: "string";
61
- };
62
- readonly python: {
63
- readonly default: true;
64
- readonly description: "Install Python dependencies if needed";
65
- readonly group: "Initialization Behavior:";
66
- readonly type: "boolean";
67
- };
68
- readonly 'python-path': {
69
- readonly defaultDescription: "(derived from shell)";
70
- readonly description: "Path to python 3 executable";
71
- readonly group: "Paths:";
72
- readonly nargs: 1;
73
- readonly normalize: true;
74
- readonly requiresArg: true;
75
- readonly type: "string";
76
- };
77
- readonly 'repo-name': {
78
- readonly defaultDescription: "(derived from --repo-url)";
79
- readonly description: "Name of extension repository";
80
- readonly group: "MkDocs Config:";
81
- readonly nargs: 1;
82
- readonly requiresArg: true;
83
- readonly type: "string";
84
- };
85
- readonly 'repo-url': {
86
- readonly defaultDescription: "(from package.json)";
87
- readonly description: "URL of extension repository";
88
- readonly group: "MkDocs Config:";
89
- readonly nargs: 1;
90
- readonly requiresArg: true;
91
- readonly type: "string";
92
- };
93
- readonly 'site-description': {
94
- readonly defaultDescription: "(from package.json)";
95
- readonly description: "Site description";
96
- readonly group: "MkDocs Config:";
97
- readonly nargs: 1;
98
- readonly requiresArg: true;
99
- readonly type: "string";
100
- };
101
- readonly 'site-name': {
102
- readonly defaultDescription: "(extension package name)";
103
- readonly description: "Name of site";
104
- readonly group: "MkDocs Config:";
105
- readonly nargs: 1;
106
- readonly requiresArg: true;
107
- readonly type: "string";
108
- };
109
- readonly 'tsconfig-json': {
110
- readonly defaultDescription: "./tsconfig.json";
111
- readonly describe: "Path to tsconfig.json";
112
- readonly group: "Paths:";
113
- readonly nargs: 1;
114
- readonly normalize: true;
115
- readonly requiresArg: true;
116
- readonly type: "string";
117
- };
118
- readonly typedoc: {
119
- readonly default: true;
120
- readonly description: "Create typedoc.json if needed";
121
- readonly group: "Initialization Behavior:";
122
- readonly type: "boolean";
123
- };
124
- readonly 'typedoc-json': {
125
- readonly defaultDescription: "./typedoc.json";
126
- readonly describe: "Path to typedoc.json";
127
- readonly group: "Paths:";
128
- readonly nargs: 1;
129
- readonly normalize: true;
130
- readonly requiresArg: true;
131
- readonly type: "string";
132
- };
133
- readonly typescript: {
134
- readonly default: true;
135
- readonly description: "Create tsconfig.json if needed";
136
- readonly group: "Initialization Behavior:";
137
- readonly type: "boolean";
138
- };
139
- };
140
- declare type InitOptions = InferredOptionTypes<typeof opts>;
141
- declare const initCommand: CommandModule<{}, InitOptions>;
142
- export default initCommand;
143
- //# sourceMappingURL=init.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../lib/cli/init.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAU,MAAM,OAAO,CAAC;AAWlE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA8BU,MAAM,GAAG,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2G3B,CAAC;AAGX,aAAK,WAAW,GAAG,mBAAmB,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,QAAA,MAAM,WAAW,EAAE,aAAa,CAAC,EAAE,EAAE,WAAW,CAS/C,CAAC;AAEF,eAAe,WAAW,CAAC"}