Skip to content

Commit 9c2f8f1

Browse files
nearestnaborstorresmateovfanelle
authored
Auth secrets tools (#487)
* initial stab at rejiggering first authoring page. * adds note component to MDX * style terminal to look like terminal * Enhancing codeblocks * fix syntax highlighting * remove duplicate copy button from code blocks * breaking down the transport commands * breaking down the transport commands * update the first page of Build Tools * adds overview * ok, final tweak * updating types * fixing linting warnings * update Tool Context page * updating the tool pages * fix borked copy button by returning to Nextra's default * use Callout not Note * Update app/en/home/build-tools/create-a-mcp-server/page.mdx Co-authored-by: Mateo Torres <[email protected]> * Update app/en/home/build-tools/create-a-mcp-server/page.mdx Co-authored-by: vfanelle <[email protected]> * updating the tool-context * removing uv recommended * Using Arcade Engine * fixing escaped underscore * fixing up the codeblocks a bit * completing the tool-with-auth page * correcting merge * adds the Create a Tool with Secrets page * Update app/en/home/build-tools/create-a-tool-with-auth/page.mdx Co-authored-by: Mateo Torres <[email protected]> * Update app/en/home/build-tools/create-a-tool-with-secrets/page.mdx Co-authored-by: Mateo Torres <[email protected]> * Update app/en/home/build-tools/create-a-tool-with-secrets/page.mdx Co-authored-by: Mateo Torres <[email protected]> * updating the instructions to include exporting local variables * removing broken deep links * fix dem links --------- Co-authored-by: Rachel Lee Nabors <[email protected]> Co-authored-by: Mateo Torres <[email protected]> Co-authored-by: vfanelle <[email protected]>
1 parent 7ef897f commit 9c2f8f1

File tree

9 files changed

+698
-355
lines changed

9 files changed

+698
-355
lines changed

app/_components/custom-pre.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const CustomPre: React.FC<CustomPreProps> = ({
8787
{/* Code content with syntax highlighting preserved */}
8888
<div className="overflow-x-auto">
8989
<Pre
90-
className={`p-4 text-gray-100 text-sm ${className || ""}`}
90+
className={`text-gray-100 text-sm ${className || ""}`}
9191
style={{ margin: 0, borderRadius: 0, background: "transparent" }}
9292
{...props}
9393
>
@@ -113,7 +113,7 @@ const CustomPre: React.FC<CustomPreProps> = ({
113113
{/* Code content with syntax highlighting preserved */}
114114
<div className="overflow-x-auto">
115115
<Pre
116-
className={`bg-white p-4 text-sm dark:bg-gray-950 ${className || ""}`}
116+
className={`bg-white text-sm dark:bg-gray-950 ${className || ""}`}
117117
style={{ margin: 0, borderRadius: 0 }}
118118
{...props}
119119
>

app/_components/enhanced-code-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const EnhancedCodeBlock: React.FC<EnhancedCodeBlockProps> = ({
9090

9191
{/* Code Content */}
9292
<div className="overflow-x-auto">
93-
<pre className={`bg-white p-4 text-sm dark:bg-gray-950 ${className}`}>
93+
<pre className={`bg-white text-sm dark:bg-gray-950 ${className}`}>
9494
<code>{children}</code>
9595
</pre>
9696
</div>

app/_components/terminal-code-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const TerminalCodeBlock: React.FC<TerminalCodeBlockProps> = ({
5555

5656
{/* Code Content */}
5757
<div className="overflow-x-auto">
58-
<pre className={`p-4 text-gray-100 text-sm ${className}`}>
58+
<pre className={`text-gray-100 text-sm ${className}`}>
5959
<code>{children}</code>
6060
</pre>
6161
</div>

0 commit comments

Comments
 (0)