Skip to content

Commit 2ef376a

Browse files
author
Martynas Žilinskas
authored
Feature: Fixes (#29)
1 parent 9ff498c commit 2ef376a

File tree

76 files changed

+988
-1111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+988
-1111
lines changed

common/config/rush/npm-shrinkwrap.json

Lines changed: 174 additions & 145 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ts-docs-gen/.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"**/.hg": true,
88
"**/CVS": true,
99
"**/.DS_Store": true,
10-
"tests/**/__tests__/**/*.test.ts": true
10+
"tests/cases/__tests__/**/*.test.ts": true
1111
}
1212
}

packages/ts-docs-gen/examples/simple/boo.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 6 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,17 @@
1-
# Table of contents
2-
3-
* [index.ts][SourceFile-0]
4-
* Interfaces
5-
* [Start][InterfaceDeclaration-1]
6-
71
# index.ts
82

9-
## Interfaces
10-
11-
### Start
12-
13-
```typescript
14-
interface Start {
15-
HandleMessage(message: string): string;
16-
}
17-
```
18-
#### Method
19-
20-
```typescript
21-
HandleMessage(message: string): string;
22-
```
23-
24-
**Parameters**
25-
26-
| Name | Type |
27-
| ------- | ------ |
28-
| message | string |
29-
30-
**Return type**
3+
## Namespaces
314

32-
string
33-
34-
35-
## Classes
36-
37-
### [Foo][ClassDeclaration-0]
38-
39-
General comment about class Foo.
40-
41-
42-
----------
5+
### [SimpleNamespace][ModuleDeclaration-0]
436

44-
### [FooStart][ClassDeclaration-1]
7+
General comment about SimpleNamespace.
458

469

4710
----------
4811

49-
### [BooStart][ClassDeclaration-2]
12+
### [AnotherSimpleNamespace][ModuleDeclaration-1]
5013

5114

5215
[SourceFile-0]: index.md#indexts
53-
[InterfaceDeclaration-1]: index.md#start
54-
[ClassDeclaration-0]: index/foo.md#foo
55-
[ClassDeclaration-1]: index/foostart.md#foostart
56-
[ClassDeclaration-2]: index/boostart.md#boostart
16+
[ModuleDeclaration-0]: index/simplenamespace.md#simplenamespace
17+
[ModuleDeclaration-1]: index/anothersimplenamespace.md#anothersimplenamespace
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Table of contents
2+
3+
* [AnotherSimpleNamespace][ModuleDeclaration-1]
4+
* Interfaces
5+
* [SimpleInterface][InterfaceDeclaration-1]
6+
7+
# AnotherSimpleNamespace
8+
9+
## Interfaces
10+
11+
### SimpleInterface
12+
13+
```typescript
14+
interface SimpleInterface extends SimpleInterface {
15+
Property3: string;
16+
}
17+
```
18+
19+
**Extends**
20+
21+
[SimpleInterface][InterfaceDeclaration-0]
22+
23+
**Properties**
24+
25+
| Name | Type | Optional |
26+
| --------- | ------ | -------- |
27+
| Property3 | string | false |
28+
29+
[ModuleDeclaration-1]: anothersimplenamespace.md#anothersimplenamespace
30+
[InterfaceDeclaration-1]: anothersimplenamespace.md#simpleinterface
31+
[InterfaceDeclaration-0]: simplenamespace.md#simpleinterface

packages/ts-docs-gen/examples/simple/docs/api/index/boostart.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)