Skip to content

Commit d573e30

Browse files
committed
docs: Add links to codegen in more places
1 parent a36e137 commit d573e30

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docs/core/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,5 +668,11 @@ groupId="Demos"
668668
</Tabs>
669669

670670
<p style={{textAlign: 'center'}}>
671-
<Link className="button button--secondary" to="/demos">More Demos</Link>
671+
<Link className="button button--secondary" to="/demos">More Demos</Link>&nbsp;
672+
<Link className="button button--secondary" to="https://chatgpt.com/g/g-682609591fe48191a6850901521b4e4b-typescript-rest-codegen"><img src="/img/gpt.svg" alt="Codegen GPT" style={{
673+
height: '1em', // Match font size
674+
verticalAlign: '-0.125em', // Fine-tune: try -0.125em or 'middle'
675+
display: 'inline', // Inline with text
676+
}}
677+
/> Codegen</Link>
672678
</p>

docs/rest/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Tabs from '@theme/Tabs';
1111
import TabItem from '@theme/TabItem';
1212
import PkgTabs from '@site/src/components/PkgTabs';
1313
import TypeScriptEditor from '@site/src/components/TypeScriptEditor';
14+
import Link from '@docusaurus/Link';
1415

1516
<PkgTabs pkgs="@data-client/rest" />
1617

@@ -336,3 +337,21 @@ additional requests.
336337
When using TypeScript (optional), version 4.0 or above is required.
337338

338339
:::
340+
341+
342+
<p>
343+
<center>
344+
<Link className="button button--secondary button--sm" to="https://chatgpt.com/g/g-682609591fe48191a6850901521b4e4b-typescript-rest-codegen"><img src="/img/gpt.svg" alt="Codegen GPT" style={{
345+
height: '1em', // Match font size
346+
verticalAlign: '-0.125em', // Fine-tune: try -0.125em or 'middle'
347+
display: 'inline', // Inline with text
348+
}}
349+
/> Codegen</Link>&nbsp;
350+
<Link className="button button--secondary button--sm" to="https://github.com/reactive/data-client/blob/master/.github/instructions/rest.instructions.md"><img src="/img/copilot.svg" alt="Github Copilot" style={{
351+
height: '1em', // Match font size
352+
verticalAlign: '-0.125em', // Fine-tune: try -0.125em or 'middle'
353+
display: 'inline', // Inline with text
354+
}}
355+
/> Instructions</Link>
356+
</center>
357+
</p>

0 commit comments

Comments
 (0)