Skip to content

Commit b4d8517

Browse files
docs: config component and title
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 4215c9d commit b4d8517

13 files changed

Lines changed: 16 additions & 31 deletions

docs/examples/frontend/components/prod-deploy.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export const config = "juno.config.ts";
22

3+
## Production Deployment
4+
35
- Create a Satellite on the [Juno Console](https://console.juno.build) for mainnet.
46
- Update <code>{props.config}</code> with the production Satellite ID.
57
- Build and deploy:

docs/examples/frontend/nextjs.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ import HowToRun from "./components/how-to-run.md";
9090

9191
---
9292

93-
## Production Deployment
94-
9593
import ProdDeploy from "./components/prod-deploy.mdx";
9694

9795
<ProdDeploy config="juno.config.mjs" />

docs/examples/frontend/react-javascript.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ import HowToRun from "./components/how-to-run.md";
9898

9999
---
100100

101-
## Production Deployment
102-
103101
import ProdDeploy from "./components/prod-deploy.mdx";
104102

105103
<ProdDeploy config="juno.config.mjs" />

docs/examples/frontend/react-typescript.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ import HowToRun from "./components/how-to-run.md";
9696

9797
---
9898

99-
## Production Deployment
100-
10199
import ProdDeploy from "./components/prod-deploy.mdx";
102100

103101
<ProdDeploy />

docs/examples/frontend/sveltekit.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ import HowToRun from "./components/how-to-run.md";
9191

9292
---
9393

94-
## Production Deployment
95-
9694
import ProdDeploy from "./components/prod-deploy.mdx";
9795

9896
<ProdDeploy />

docs/examples/frontend/vanilla-javascript.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ import HowToRun from "./components/how-to-run.md";
9292

9393
---
9494

95-
## Production Deployment
96-
9795
import ProdDeploy from "./components/prod-deploy.mdx";
9896

9997
<ProdDeploy config="juno.config.mjs" />

docs/examples/frontend/vue.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ import HowToRun from "./components/how-to-run.md";
9292

9393
---
9494

95-
## Production Deployment
96-
9795
import ProdDeploy from "./components/prod-deploy.mdx";
9896

9997
<ProdDeploy />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Juno-Specific Configuration
2+
3+
- **juno.config.ts**: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../../../reference/configuration.mdx) for details.
4+
- **vite.config.ts**: Registers the `juno` plugin to inject environment variables automatically. See the [Vite Plugin reference](../../../reference/plugins.mdx#vite-plugin) for more information.

docs/examples/functions/components/prod-deploy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## Production Deployment
2+
13
- Create a Satellite on the [Juno Console](https://console.juno.build) for mainnet.
24
- Update `juno.config.ts` with the production Satellite ID.
35
- Build and deploy the frontend:

docs/examples/functions/rust/assertions.mdx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,12 @@ import HowToRun from "../components/how-to-run.md";
125125

126126
---
127127

128-
## Juno-Specific Configuration
128+
import Config from "../components/config.md";
129129

130-
- **juno.config.ts**: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../../../reference/configuration.mdx) for details.
131-
- **vite.config.ts**: Registers the `juno` plugin to inject environment variables automatically. See the [Vite Plugin reference](../../../reference/plugins.mdx#vite-plugin) for more information.
130+
<Config />
132131

133132
---
134133

135-
## Production Deployment
136-
137134
import ProdDeploy from "../components/prod-deploy.md";
138135

139136
<ProdDeploy />
@@ -147,8 +144,6 @@ import ProdDeploy from "../components/prod-deploy.md";
147144

148145
---
149146

150-
## Real-World Example
151-
152147
import ProposalsNetwork from "./components/proposals-network.md";
153148

154149
<ProposalsNetwork />

0 commit comments

Comments
 (0)