Skip to content

Commit

Permalink
chore: self mutation (build.diff)
Browse files Browse the repository at this point in the history
Signed-off-by: monada-bot[bot] <[email protected]>
  • Loading branch information
monadabot committed Aug 30, 2024
1 parent 291ef70 commit fcdb790
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
12 changes: 6 additions & 6 deletions apps/wing/fixtures/valid1/API.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
## API Reference
<h2>API Reference</h2>

### Table of Contents
<h3>Table of Contents</h3>

- **Classes**
- <a href="#valid1.Foo">Foo</a>

### Foo (preflight class) <a id="valid1.Foo"></a>
<h3 id="valid1.Foo">Foo (preflight class)</h3>

A test class

#### Constructor
<h4>Constructor</h4>

<pre>
new(): Foo
</pre>

#### Properties
<h4>Properties</h4>

*No properties*

#### Methods
<h4>Methods</h4>

*No methods*

2 changes: 1 addition & 1 deletion apps/wing/src/commands/generateDocs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("wing gen-docs", () => {

// WHEN
await generateDocs();

// THEN
const files = await fs.readdir(projectDir);
expect(files.findIndex((path) => basename(path) === "API.md")).not.toEqual(-1);
Expand Down
1 change: 0 additions & 1 deletion apps/wing/src/commands/generateDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export async function generateDocs() {
}
}


const docsFile = resolve(workDir, "API.md");
await writeFile(docsFile, docs.docsContents);

Expand Down
46 changes: 23 additions & 23 deletions examples/wing-fixture/API.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## API Reference
<h2>API Reference</h2>

### Table of Contents
<h3>Table of Contents</h3>

- **Classes**
- <a href="#@winglibs/testfixture.PublicClass">PublicClass</a>
Expand All @@ -14,39 +14,39 @@
- **Enums**
- <a href="#@winglibs/testfixture.FavoriteNumbers">FavoriteNumbers</a>

### PublicClass (preflight class) <a id="@winglibs/testfixture.PublicClass"></a>
<h3 id="@winglibs/testfixture.PublicClass">PublicClass (preflight class)</h3>

#### Constructor
<h4>Constructor</h4>

<pre>
new(): PublicClass
</pre>

#### Properties
<h4>Properties</h4>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code>publicField</code> | <code>num</code> | *No description* |

#### Methods
<h4>Methods</h4>

| **Signature** | **Description** |
| --- | --- |
| <code>publicMethod(): void</code> | *No description* |

### Store (preflight class) <a id="@winglibs/testfixture.Store"></a>
<h3 id="@winglibs/testfixture.Store">Store (preflight class)</h3>

#### Constructor
<h4>Constructor</h4>

<pre>
new(options: StoreOptions?): Store
</pre>

#### Properties
<h4>Properties</h4>

*No properties*

#### Methods
<h4>Methods</h4>

| **Signature** | **Description** |
| --- | --- |
Expand All @@ -55,52 +55,52 @@ new(options: StoreOptions?): Store
| <code>onSet(handler: inflight (str): void): void</code> | *No description* |
| <code>inflight set(message: str): void</code> | *No description* |

### subdir.Util (preflight class) <a id="@winglibs/testfixture.subdir.Util"></a>
<h3 id="@winglibs/testfixture.subdir.Util">subdir.Util (preflight class)</h3>

#### Constructor
<h4>Constructor</h4>

<pre>
new(): Util
</pre>

#### Properties
<h4>Properties</h4>

*No properties*

#### Methods
<h4>Methods</h4>

| **Signature** | **Description** |
| --- | --- |
| <code>static inflight double(msg: str): str</code> | *No description* |
| <code>static inflight makeKeyInflight(name: str): str</code> | *No description* |

### PublicInterface (interface) <a name=PublicInterface id="@winglibs/testfixture.PublicInterface"></a>
<h3 id="@winglibs/testfixture.PublicInterface">PublicInterface (interface)</h3>

#### Properties
<h4>Properties</h4>

*No properties*

#### Methods
<h4>Methods</h4>

*No methods*

### PublicStruct (struct) <a name=PublicStruct id="@winglibs/testfixture.PublicStruct"></a>
<h3 id="@winglibs/testfixture.PublicStruct">PublicStruct (struct)</h3>

#### Properties
<h4>Properties</h4>

*No properties*

### StoreOptions (struct) <a name=StoreOptions id="@winglibs/testfixture.StoreOptions"></a>
<h3 id="@winglibs/testfixture.StoreOptions">StoreOptions (struct)</h3>

#### Properties
<h4>Properties</h4>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code>name</code> | <code>str?</code> | *No description* |

### FavoriteNumbers (enum) <a name=FavoriteNumbers id="@winglibs/testfixture.FavoriteNumbers"></a>
<h3 id="@winglibs/testfixture.FavoriteNumbers">FavoriteNumbers (enum)</h3>

#### Values
<h4>Values</h4>

| **Name** | **Description** |
| --- | --- |
Expand Down

0 comments on commit fcdb790

Please sign in to comment.