File tree Expand file tree Collapse file tree 8 files changed +17
-8
lines changed
devtools/packages/prebuild-options/tasks
typedoc-github-wiki-theme/src/types
typedoc-gitlab-wiki-theme/src/types
typedoc-plugin-frontmatter/src
typedoc-plugin-markdown/src/types
typedoc-vitepress-theme/src/types Expand file tree Collapse file tree 8 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,14 @@ async function writeTypeDocDeclarations(
32
32
. filter (
33
33
( [ name , option ] ) =>
34
34
( option as any ) . type === ParameterType . Mixed &&
35
- ( option as any ) . defaultValue &&
36
- Object . keys ( ( option as any ) . defaultValue ) . length ,
35
+ ( option as any ) . defaultValue ,
37
36
)
38
37
. map ( ( [ name , option ] ) => capitalize ( name , false ) ) ;
39
38
40
39
const out : string [ ] = [ ] ;
41
40
42
41
out . push ( `// THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY.
43
- import { ManuallyValidatedOption } from 'typedoc';
44
- ${ docsConfig . optionsPath === 'plugins/frontmatter' ? `import { ToStringOptions } from 'yaml';` : '' }
45
- ` ) ;
42
+ import { ManuallyValidatedOption } from 'typedoc';${ docsConfig . optionsPath === 'plugins/frontmatter' ? `\nimport { ToStringOptions } from 'yaml';` : '' } ` ) ;
46
43
47
44
if ( manuallyValidatedOptions . length ) {
48
45
manuallyValidatedOptions . forEach ( ( option : any ) => {
Original file line number Diff line number Diff line change 1
- import { Callout } from ' nextra/components' ;
1
+ import { Callout } from " nextra/components" ;
2
2
3
3
# Options
4
4
@@ -16,7 +16,15 @@ Options can be provided as either an array of strings or an array of strings wit
16
16
17
17
``` json filename="typedoc.json"
18
18
{
19
- "remarkPlugins" : [" remark-github" ]
19
+ "remarkPlugins" : [
20
+ " remark-github" ,
21
+ [
22
+ " remark-toc" ,
23
+ {
24
+ "maxDepth" : 3
25
+ }
26
+ ]
27
+ ]
20
28
}
21
29
```
22
30
Original file line number Diff line number Diff line change 1
1
/*
2
2
* THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY
3
3
*/
4
+
4
5
/**
5
6
* Describes the options declared by the plugin.
6
7
*/
Original file line number Diff line number Diff line change 1
1
/*
2
2
* THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY
3
3
*/
4
+
4
5
/**
5
6
* Describes the options declared by the plugin.
6
7
*/
Original file line number Diff line number Diff line change 1
1
// THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY.
2
2
import { ManuallyValidatedOption } from 'typedoc' ;
3
3
import { ToStringOptions } from 'yaml' ;
4
-
5
4
declare module 'typedoc' {
6
5
export interface TypeDocOptionMap {
7
6
frontmatterCommentTags : string [ ] ;
Original file line number Diff line number Diff line change 1
1
/*
2
2
* THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY
3
3
*/
4
+
4
5
/**
5
6
* Describes the options declared by the plugin.
6
7
*/
Original file line number Diff line number Diff line change 1
1
/*
2
2
* THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY
3
3
*/
4
+
4
5
/**
5
6
* Describes the options declared by the plugin.
6
7
*/
Original file line number Diff line number Diff line change 1
1
/*
2
2
* THIS FILE IS AUTO GENERATED FROM THE OPTIONS CONFIG. DO NOT EDIT DIRECTLY
3
3
*/
4
+
4
5
/**
5
6
* Describes the options declared by the plugin.
6
7
*/
You can’t perform that action at this time.
0 commit comments