Skip to content

Commit 748b87b

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/use-iapp
2 parents 999434c + 225ecac commit 748b87b

File tree

104 files changed

+1268
-476
lines changed

Some content is hidden

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

104 files changed

+1268
-476
lines changed

.vitepress/config.mts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import { transformerTwoslash } from '@shikijs/vitepress-twoslash';
22
import tailwindcss from '@tailwindcss/vite';
3-
import { defineConfig } from 'vitepress';
3+
import { defineConfig, loadEnv } from 'vitepress';
44
import { fileURLToPath, URL } from 'node:url';
55
import { getSidebar } from './sidebar';
66
import {
77
groupIconMdPlugin,
88
groupIconVitePlugin,
99
} from 'vitepress-plugin-group-icons';
1010

11+
// Charger les variables d'environnement
12+
const env = loadEnv('', process.cwd());
13+
1114
// https://vitepress.dev/reference/site-config
1215
export default defineConfig({
1316
title: 'iExec documentation',
@@ -23,6 +26,12 @@ export default defineConfig({
2326
'@': fileURLToPath(new URL('../src', import.meta.url)),
2427
},
2528
},
29+
// Expose environment variables to the client
30+
define: {
31+
'import.meta.env.VITE_REOWN_PROJECT_ID': JSON.stringify(
32+
env.VITE_REOWN_PROJECT_ID
33+
),
34+
},
2635
},
2736
srcDir: './src',
2837
markdown: {

.vitepress/sidebar.ts

Lines changed: 37 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ export function getSidebar() {
1616
link: '/overview/helloWorld/1-overview',
1717
},
1818
{
19-
text: 'Protect data',
19+
text: 'Protect Data',
2020
link: '/overview/helloWorld/2-protectData',
2121
},
2222
{ text: 'Build iApp', link: '/overview/helloWorld/3-buildIApp' },
2323
{
24-
text: 'Manage data access',
24+
text: 'Manage Data Access',
2525
link: '/overview/helloWorld/4-manageDataAccess',
2626
},
2727
{
28-
text: 'Bonus chapter!',
28+
text: 'Bonus Chapter !',
2929
link: '/overview/helloWorld/5-bonusChapter',
3030
},
3131
],
@@ -79,15 +79,15 @@ export function getSidebar() {
7979
text: 'PROTECT AND MANAGE DATA',
8080
items: [
8181
{
82-
text: '❓  What Is Protected Data?',
82+
text: '❓  What is Protected Data?',
8383
link: '/manage-data/what-is-protected-data',
8484
},
8585
{
8686
text: '📖 Guides',
8787
items: [
8888
{
89-
text: 'Create and Share Access to Protected Data',
90-
link: '/manage-data/guides/create-and-share-access',
89+
text: 'Manage Access',
90+
link: '/manage-data/guides/manage-access',
9191
},
9292
{
9393
text: 'Handle Schemas and Dataset Types',
@@ -254,7 +254,7 @@ export function getSidebar() {
254254
],
255255
},
256256
{
257-
text: 'Read data',
257+
text: 'Read Data',
258258
collapsed: true,
259259
items: [
260260
{
@@ -320,24 +320,6 @@ export function getSidebar() {
320320
},
321321
],
322322
},
323-
{
324-
text: 'iApp',
325-
link: '/manage-data/dataProtector/advanced/iApp',
326-
collapsed: true,
327-
items: [
328-
{
329-
text: 'DataProtector Deserializer',
330-
link: '/manage-data/dataProtector/advanced/iApp/deserializer',
331-
collapsed: true,
332-
items: [
333-
{
334-
text: 'getValue',
335-
link: '/manage-data/dataProtector/advanced/iApp/deserializer/getValue',
336-
},
337-
],
338-
},
339-
],
340-
},
341323
],
342324
},
343325
{
@@ -353,34 +335,34 @@ export function getSidebar() {
353335
{
354336
text: 'BUILD YOUR iAPP',
355337
items: [
356-
{ text: '❓ What Is an iApp?', link: '/build-iapp/what-is-iapp' },
338+
{ text: '❓ What is an iApp?', link: '/build-iapp/what-is-iapp' },
357339
{
358340
text: '📖 Guides',
359341
items: [
360342
{
361-
text: 'Build and Deploy your iApps',
362-
link: '/build-iapp/guides/build-&-deploy-iapp',
343+
text: 'Build and Deploy',
344+
link: '/build-iapp/guides/build-&-deploy',
363345
},
364346
{
365-
text: 'Manage your iApps',
366-
link: '/build-iapp/guides/manage-iapp',
347+
text: 'Manage Access',
348+
link: '/build-iapp/guides/manage-access',
367349
},
368350
{
369-
text: 'Inputs and Outputs (types, differences, formats)',
351+
text: 'Inputs and Outputs',
370352
link: '/build-iapp/guides/inputs-and-outputs',
371353
},
372354
{
373-
text: 'Debugging Your iApp',
374-
link: '/build-iapp/guides/debugging-your-iapp',
375-
},
376-
{
377-
text: 'Using TDX (Trusted Execution) [EXPERIMENTAL]',
378-
link: '/build-iapp/guides/using-tdx-experimental',
355+
text: 'Using TDX',
356+
link: '/build-iapp/guides/using-tdx',
379357
},
380358
{
381359
text: 'How to Get and Decrypt Results',
382360
link: '/build-iapp/guides/how-to-get-and-decrypt-results',
383361
},
362+
{
363+
text: 'Debugging',
364+
link: '/build-iapp/guides/debugging',
365+
},
384366
],
385367
},
386368
{
@@ -392,9 +374,20 @@ export function getSidebar() {
392374
link: '/build-iapp/iapp-generator/getting-started',
393375
},
394376
{
395-
text: 'Building Your iApp',
377+
text: 'Building your iApp',
396378
link: '/build-iapp/iapp-generator/building-your-iexec-app',
397379
},
380+
{
381+
text: 'Deserialize ProtectedData',
382+
link: '/build-iapp/iapp-generator/deserializer',
383+
collapsed: true,
384+
items: [
385+
{
386+
text: 'getValue',
387+
link: '/build-iapp/iapp-generator/deserializer/getValue',
388+
},
389+
],
390+
},
398391
],
399392
},
400393
],
@@ -414,19 +407,19 @@ export function getSidebar() {
414407
link: '/use-iapp/guides/find-iapps',
415408
},
416409
{
417-
text: 'Different ways to execute an iApp',
410+
text: 'Different Ways to Execute an iApp',
418411
link: '/use-iapp/guides/different-ways-to-execute',
419412
},
420413
{
421414
text: 'Use iApp with Protected Data',
422415
link: '/use-iapp/guides/use-iapp-with-protected-data',
423416
},
424417
{
425-
text: 'Add inputs to the execution',
418+
text: 'Add Inputs to the Execution',
426419
link: '/use-iapp/guides/add-inputs-to-execution',
427420
},
428421
{
429-
text: 'How to pay the executions',
422+
text: 'How to Pay the Executions',
430423
link: '/use-iapp/guides/how-to-pay-executions',
431424
},
432425
],
@@ -435,11 +428,11 @@ export function getSidebar() {
435428
text: '💰 How to Pay',
436429
items: [
437430
{
438-
text: 'How to Pay for Web3mail',
431+
text: 'How to Pay for Web3Mail',
439432
link: '/use-iapp/how-to-pay/how-to-pay-for-web3mail',
440433
},
441434
{
442-
text: 'How to Pay for Web3telegram',
435+
text: 'How to Pay for Web3Telegram',
443436
link: '/use-iapp/how-to-pay/how-to-pay-for-web3telegram',
444437
},
445438
{
@@ -486,7 +479,7 @@ export function getSidebar() {
486479
],
487480
},
488481
{
489-
text: '💬 Web3Telegram <span class="VPBadge warning" style="margin-left: 8px; margin-bottom: -1px; transform: translateY(-1px);">alpha</span>',
482+
text: '💬 Web3Telegram',
490483
link: '/use-iapp/web3telegram',
491484
collapsed: true,
492485
items: [

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,22 +155,16 @@ Fork this repository and ensure you're working on the `main` branch:
155155
- Add link to the new explorer feature Asset_Types in the guide =>
156156
`handle-schemas-dataset-types`
157157
- Add link to remix for deploying whitelist
158-
- Move `manage-data/dataProtector/advanced/iApp` (Deserializer doc) in an other
159-
way to be more visible (may in build-iApp section)
160158
- complete `use-iapp` section
161-
- complete `explorer` section
162159
- Maybe split input and output in two diff sub section in build your iapp guide
163160
- SGX vs TDX need review
164161
- Explorer l'intégration de codeSpace
165-
- complete `build-iapp` section
166162
- complete `Protocol`section
167-
- What about Bridge ?
168-
- Made a page on RLC
169-
- Add Dune dashboard
170163
- Add a Development workflow
171164
- Update context7 when doc will be deployed
172165
- Check theGraph Images with design Team
173166
- Update the Dune Dashboard to the final version
174167
- Add new section in `iexec-explorer.md` file to talk about: available chain on
175168
the UI + SRLC/RLC on account section feature of the protocol
176169
- Update or add design illustrations based on the new design system
170+
- Check how to pay guide to update with the launch on Arbitrum (RLC vs xRLC)

package-lock.json

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

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@vueuse/core": "^13.6.0",
2121
"@wagmi/vue": "^0.1.24",
2222
"clsx": "^2.1.1",
23+
"figlet": "^1.8.2",
2324
"pinia": "^3.0.3",
2425
"reka-ui": "^2.4.1",
2526
"tailwind-merge": "^3.3.1",
@@ -33,6 +34,7 @@
3334
"devDependencies": {
3435
"@iconify/vue": "^5.0.0",
3536
"@shikijs/vitepress-twoslash": "^3.8.0",
37+
"@types/figlet": "^1.7.0",
3638
"@types/prop-types": "^15.7.15",
3739
"@types/react": "^18.3.23",
3840
"prettier": "^3.6.2",

0 commit comments

Comments
 (0)